-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ESP32 Python FFC Mode #12
Comments
Thank you for the kind words. I understand how the FFC might confuse a motion detection algorithm (and the few seconds after as the Lepton settles back down). It should be possible to do what you want using the python interface. You should download, if you have not already, a copy of the Lepton data sheet (which describes the contents of the telemetry data) and the Interface Description document (IDD - which describes the CCI command interface). You should be able to find these on the Group Gets Lepton pages. Lots of good information about the Lepton and the way it works.
The get/set_lep_cci methods provide direct access to the CCI and are configured in terms of the 16-bit word data fields so you have to map the IDD C-language description into the actual 16-bit data words sent/received from the Lepton. The intent of these methods was to be able to execute commands that there wasn't a more specific python API for. The Desktop application also provides a way to run direct CCI commands and might be useful to poke around and see what the lepton returns, etc. Of course you can do this from python as well. The "cci_demo.py" program shows how to use these methods. I hope this is helpful. Good luck with your project. |
How are you integrating the TCAM into you home monitoring setup? |
I haven't. I did write a toy web server that is designed to connect to one or more cameras and store images when certain temperature criteria are met. I played with it last fall looking for large animals on my property with mixed success. What I want to do is exactly what you're doing and add motion detection but it seems a non-trivial problem to solve. |
Hello, at first, thank you very much, danjulio. Sorry for the late answer but I was a bit busy. Your advice was very helpful so I could solve the problem regarding FFC. The current version of the motion detection script works with OpenCV. When the FFC is triggered the script ignores the changing pixel for a certain amount of time. An alternative would be to trigger FFC manually or to deactivate. However, I try to avoid the latter. The plan is to integrate the TCAM into an alarm server system which analyses the stream and triggers an alarm in case. I can keep you informed as soon as I make progress. |
Hello,
at first thank you for the wonderful project!
Because I want to integrate the tcam mini in an house alarm system with motion detection I encountered the automatic FFC to be a problem. A problem, because on the FFC action the motion detection is triggered. If I could get the FFC status oder control it manually this could be resolved. Therefore my question:
Thank you very much
jperfo
The text was updated successfully, but these errors were encountered: