These instructions are for more technical people. This is not a beginner setup.
What this program does:
When ContaCam identifies motion it will start the program. The program sends each snapshot.jpg to DeapQuest AI. DeepQuest will return the objects found. The program is only looking for “person”. If a person is found the personDetections.txt file is updated. The PHP program uses this file to highlight the videos with people. Once ContaCam writes the detection video the program will end. This method was done in order to reduce the amount of file processing. If we continually analyze the video then the machine would have very high CPU usage all the time.
The program also copies 2 videos to the main camera directory which can be used as lastMotion.mp4/gif and lastPerson.gif. It can also send item triggers to OpenHAB home control software.
These instructions are for more technical people. This is not a beginner setup.