Welcome new user! You can search existing questions and answers without registering, but please register to post new questions and receive answers. Note that due to large amounts of spam attempts, your first three posts will be manually moderated, so please be patient.
We have moved to a new forum at http://jevois.usc.edu, please check it out. The forum at jevois.org/qa will not allow new user registrations but is maintained alive for its useful past questions and answers.

Replacing the "baby face " video with another one ( or deleting it )

0 votes
In the beginning of installing g the out of the box Jevois camera through USB on MAC there is a video showing a baby face. What is the purpose of this  video ? I see where the video is referenced from.  Can I simply delete it ? If not can I replace it ? And if yes is there a video size , format and/or resolution dependency ?
asked Jun 25, 2017 in User questions by Tinob (200 points)

2 Answers

0 votes

Don't like the babies ? In https://github.com/jevois/jevoisbase/tree/master/src/Modules/JeVoisIntro you can see that there is a trick to avoid the movie playing :

switch (outimg.height)
{
case 312: break; // normal mode
case 360:
case 480: intromode = true; break; // intro mode
default: LFATAL("Incorrect output height: should be 312, 360 or 480");
}
// Play the intro movie first if requested:
if (intromode && intromoviedone == false)

Allowed resolutions : 480,360 => play movie ,312 => don't play movie

I haven't tested it but it seems that you have only to add following line into your videomappings.cfg 

YUYV 640 312 30.0 YUYV 320 240 30.0 JeVois JeVoisIntro

and select corresponding resolution to avoid this video.

answered Jun 26, 2017 by stilgar (360 points)
Thanks Stilgar this makes sense
0 votes
Adding to stillgar's correct answer, the movie is in JEVOIS:/modules/JeVois/JeVoisIntro/movie.mpg

you can replace it by something else that is 640x360, any formt that OpenCV VideoReader supports. But note that the guidance text at the bottom and the flashing disks will remain. Deleting the movie is not supported.

If you do not want the intro, you can use the already setup 640x312 video mapping, which launches the DemoSalGistFaceObj module, which is basically like the intro but with no movie and no guidance text at the bottom, i.e., it just runs the machine vision algorithms.

The purpose of the video is to provide an out-of-the-box experience that reminds you of the KS campaign. That module is intended to just run once when you first plug your camera in. Then you probably want to use DemoSalGistFaceObj or other modules.
answered Jun 26, 2017 by JeVois (46,580 points)
Thank you for your prompt answer. I was thinking that maybe the video was used for some initial calibration between the camera and the drivers before sending out to host computer
...