speed-camera
speed-camera copied to clipboard
Add a function to send data elsewhere, API, MQTT, etc.
trafficstars
This is similar to the userMotionCode functionality, but passes different data.
The user_reporting_code.userReportingCode function is called, passing in a hash of the same data that is being persisted in the database, along with the video_stream, and the filename that was created.
From there the user can do whatever they wish with the data.
user_reporting_code.userReportingCode(reporting_fields, vs, filename)
The sample in user_reporting_code.py can be used to send the data to an external API.