Comment by synergy20

1 day ago

    V4L2 (MJPG) -> cap.read() -> CLAHE(night) -> imencode -> _current_frame (web MJPEG)
                              -> resize .25 -> gray -> blur -> absdiff -> contours -> motion?
                              -> motion? VideoWriter.write() : pre_buffer.append(jpeg)
                              -> on stop: ffmpeg remux fps fix -> Telegram/email

a mjpeg system basically, all in python but does need opencv

Correct! But I have to be honest... I do not like the night vision since with a consumer webcam is not working very well... I will test with a cheap camera that support by default night vision... I will keep you posted!

Porting it to C++ should bring also a lot of improvements in terms of.performance

  • Correct! But I have to be honest... I do not like the night vision since with a consumer webcam is not working very well... I will test with a cheap camera that support by default night vision... I will keep you posted!