My question about this project and the numerous similar projects: where do I get a usb camera suitable for this? Webcams typically have unsuitable enclosures, focus behavior, and low light performance.
Show HN: CheapSecurity – Lightweight, Self-Hosted CCTV for Linux SBCs
31–40 of 42 posts
Re: Show HN: CheapSecurity – Lightweight, Self-Hosted CCTV for Linux SBCs
#32V4L2 (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
Re: Show HN: CheapSecurity – Lightweight, Self-Hosted CCTV for Linux SBCs
#33`motion` is in the big hall of fame for 'software other things are based on' next to imagemagick and curl.
Re: Show HN: CheapSecurity – Lightweight, Self-Hosted CCTV for Linux SBCs
#34What are the difference with systems like Motion ( https://motion-project.github.io/4.0/motion_guide.html ) ?
That's it
Re: Show HN: CheapSecurity – Lightweight, Self-Hosted CCTV for Linux SBCs
#35V4L2 (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
Porting it to C++ should bring also a lot of improvements in terms of.performance
Re: Show HN: CheapSecurity – Lightweight, Self-Hosted CCTV for Linux SBCs
#36V4L2 (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
Re: Show HN: CheapSecurity – Lightweight, Self-Hosted CCTV for Linux SBCs
#37My question about this project and the numerous similar projects: where do I get a usb camera suitable for this? Webcams typically have unsuitable enclosures, focus behavior, and low light performance.
Check out Thingino. It's an open source firmware you can flash on certain off-the-shelf chinese camera (including wyze), to turn them from cloud spyware to actual fully local ip devices.
Re: Show HN: CheapSecurity – Lightweight, Self-Hosted CCTV for Linux SBCs
#38Anyone have camera suggestions? I've got 2 spare raspi 5s that would probably be a good base.
In my experience, budget USB cameras are not reliable as a long-term solution because they randomly stop working in different ways after days of use and must be power-cycled. Instead I would suggest either a direct CSI connection or an external GigE camera.
Re: Show HN: CheapSecurity – Lightweight, Self-Hosted CCTV for Linux SBCs
#39I always wonder why author of such software will not add some screenshot or gif showing UI and how it does work? In features there is mention of web interface.
Re: Show HN: CheapSecurity – Lightweight, Self-Hosted CCTV for Linux SBCs
#40Earlier quoted context omitted.
With the price of SBCs nowadays, you'll probably save some money just buying an ip camera. In 2018, I had a project where I needed to capture live video of some test equipment that was in an area off limits to humans. I could get measurements remotely but just not fast enough to stop the test if something went wrong. We also had no idea what to expect if something went wrong so there was no way to setup a trigger for…
> With the price of SBCs nowadays, you'll probably save some money just buying an ip camera. The post you replied to very specifically mentioned using an IP camera. Unless you are paying “proper” money per camera, these days most of them are limited out-of-the-box in ways that are intended to drive you to paying a subscription service to have the recordings stored and processed (and presumably used for AI training wh…
This is why open protocols like RTSP are needed. A camera should never be allowed to communicate directly over the Internet.