I’m using the following path for the files but it’s not working.
SETLOCAL
SET PATH=%PATH%;…..\samples\external\opencv\bin;…..\bin;
SET NVAR_MODEL_DIR=…..\bin\models
GazeRedirect.exe --offline_mode --split_screen_view=false --in=Practicefootage.mp4
Been using this both in the E drive and the C Drive. Not sure what I’m still missing it shows the second file but it doesn’t seem to generate the eye redirect. Any help would be appreciated.
Hello! I’m not sure what you mean by “it doesn’t seem to generate the eye redirect”. Do you mean it doesn’t create an output file or do you mean it doesn’t apply the effect to the output file?
Your command does not include out=$$$$$ which means the GazeRedirect example application will only provide a preview.
My suggestion would be to add a help command to your batch file :
SETLOCAL
SET PATH=%PATH%;……\samples\external\opencv\bin;……\bin;
SET NVAR_MODEL_DIR=……\bin\models
GazeRedirect.exe --help
GazeRedirect.exe --offline_mode --split_screen_view=false --in=Practicefootage.mp4
Soo even though I wait sometime the gaze redirect doesn’t apply to the file(as in the output file ends up being a total of 0 kb.) I know processing should take some time and your help command did help a little bit to debug but it’s still not fixing the issue.
Hey Mark_tme, Soo I just realized that my eyes werent soo far away from the script that it actually wouldn’t redirect my eye sight. But I also left another comment wondering whether there are any file types that are unsupported for this also as I run a sony a7iv and the files types are 4K XAVC 10 bit HD, S or S-I.
Please see the response in the additional thread. You should transcode your video files into a standard mp4 format - the SDK sample has limited support.
Hey Mark,
I got it resolved. There wasn’t enough eye movement for it to recreate a new file. Thanks for your help though.
Best Regards,
Joshua R. Christie