The Windows version comes with graphical user interface, which allows users to start camera streaming and configure different settings. The way cam2web looks at different platforms is quite different. The Application Overviewīefore diving into the technical details of the implementation and the code, let's have a look at the end result first. As a result, a new open source project was set on GitHub - cam2web, streaming camera to web. While the work was progressing smoothly, it was decided to grow the project a bit bigger and make it available not only for Raspberry Pi, but for generic Linux and Windows as well. Support authentication, so viewing/configuring a camera could be restricted.Come with simple built-in web UI, so camera could be viewed directly from a web browser, as well as its options set.Provide a way to control options like brightness, contrast, saturation, sharpness, etc., if a camera supports those.Provide JPEG snapshots as well, so applications, which are not MJPEG-friendly, could grab a single image.To stream camera as MJPEG stream over HTTP, so it can be consumed by any application supporting it.As a result, a quick list of requirements was set: And so, a decision was made to create some code of my own, which would fit the needs of the projects I had and serve the base for some further ideas in mind. Second, just viewing a camera remotely was only the first step in the project. First, it was due to some limitations of that software, which would not allow achieving my goal without substantial rework. However, using that was not really an option in the project I had in mind. Doing a quick search leads to a number of tutorials on the topic, which are all based on the MJPG-Streamer application. One of the set requirements was to have an ability to view Pi's camera remotely, from either a web browser or from whatever software fits the task best. Some time ago, I was working on a robotics related project based on Raspberry Pi board. Getting description of camera properties.Accessing camera from other applications (WEB API).
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |