roguedarkjedi / dogcam-ai

The AI based camera focus controller for dogcam
MIT License
1 stars 0 forks source link

Create frame puller from the rtmp stream #4

Closed roguedarkjedi closed 4 years ago

roguedarkjedi commented 4 years ago

cv2.VideoCapture allows for capturing of rtmp stream data. Need to implement a method that pulls periodically from the stream data as a means of being low on resource intensity. I believe the Pi I have has hardware defects and may also be underpowered (though this has only happened a few times during initial build with lacking tools, so it's not a true indicator if this is a problem with the final build (there's also currently no way of telling due to how the Pi reports underpower now, we would need to monitor system logs).

Either way, something with configurable operation should be good enough.

roguedarkjedi commented 4 years ago

This needs to become threaded.