You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sir,
Let's say I want to disable face detection and recognition until a certain condition is true( decided by another external code).
How can I achieve this.
At exactly what line do I need to put a boolean condition :
if true : execute Face detection and recognition ,else: do nothing.
The text was updated successfully, but these errors were encountered:
I would place my if(){ at line 324 at main.cpp. Just before ScaleX = ((float) frame.cols) / RetinaWidth;. This way your camera is still piping images. The end bracket } goes at line 500, still showing the images.
To let another program start/stop the recognition, you have to signal from that program to this main.cpp.
By far the easiest way is using a little file. Main.cpp reads the file and sees if the my_condition flag is set/reset.
The other program can write to the same file.
Tip: locate the file at /dev/shm directory. This directory is redirected to RAM instead of the SD-card. This way the wear out of your SD-card will reduced.
Sir,
Let's say I want to disable face detection and recognition until a certain condition is true( decided by another external code).
How can I achieve this.
At exactly what line do I need to put a boolean condition :
if true : execute Face detection and recognition ,else: do nothing.
The text was updated successfully, but these errors were encountered: