if (mvSource) {
err = mv_destroy_source(mvSource);
- if (err != MEDIA_VISION_ERROR_NONE);
+ if (err != MEDIA_VISION_ERROR_NONE)
printf("Fail to destroy mvSource [err:%i]\n", err);
mvSource = NULL;
}
{
if (mvSource) {
int err2 = mv_destroy_source(mvSource);
- if (err2 != MEDIA_VISION_ERROR_NONE);
+ if (err2 != MEDIA_VISION_ERROR_NONE)
printf("Fail to destroy mvSource\n");
mvSource = NULL;
}
{
if (mvSource) {
int err2 = mv_destroy_source(mvSource);
- if (err2 != MEDIA_VISION_ERROR_NONE);
+ if (err2 != MEDIA_VISION_ERROR_NONE)
printf("Fail to destroy mvSource\n");
mvSource = NULL;
}
{
if (mvSource) {
int err2 = mv_destroy_source(mvSource);
- if (err2 != MEDIA_VISION_ERROR_NONE);
+ if (err2 != MEDIA_VISION_ERROR_NONE)
printf("Fail to destroy mvSource\n");
mvSource = NULL;
}
const char *names[5] = { "Image Classification",
"Object Detection",
"Face Detection",
- "Facial LandmarkDetection"
+ "Facial LandmarkDetection,"
"Exit"};
int err = MEDIA_VISION_ERROR_NONE;
while (sel_opt == 0) {
- sel_opt = show_menu("Select Action:", options, names, 4);
+ sel_opt = show_menu("Select Action:", options, names, 5);
switch (sel_opt) {
case 1:
{