Skip to content

Updated project to be compatible with Picamera2#35

Open
rem657 wants to merge 18 commits intoEbenKouao:masterfrom
rem657:master
Open

Updated project to be compatible with Picamera2#35
rem657 wants to merge 18 commits intoEbenKouao:masterfrom
rem657:master

Conversation

@rem657
Copy link

@rem657 rem657 commented Jul 6, 2025

As many issues mentioned the project is not working with recent RaspbianOS because picamera moved to Picamera2. #34 solution of using OpenCV instead of picamera didn't work for me sadly. For some reason OpenCV VideoCapture is not able to detect my camera. So I reimplemented the PiVideoStream object from imutils to use Picamera2. Hopefully this fixes #15, #26 and #30 . I also added a simple requirements.txt as proposed by #28 . Finally, I modified the readme to be more explicit in the installation and setup steps.

rem657 added 18 commits July 6, 2025 00:49
…ream implementation. Add project dependencies and metadata.
Replace Flask-based app with a standalone PiCamera2 threaded video stream implementation. Add project dependencies and metadata.
- Correct directory path in `launch_service.sh`.
- Refactor and enhance `README.md` with detailed setup instructions, including virtual environment usage, installation of dependencies, and setting up a systemd service for autostart.
Update project setup and documentation
- Change display text in `index.html` to "Stream Atelier".
- Update video stream format from `BGR888` to `RGB888` for compatibility.
- Adjust commented-out and active `PiVideoStream` initialization in `camera.py` to include resolution and framerate.
- Fix typo in `main.py` comment.
Update branding and video stream configuration
…d flexibility

- Replace `PiVideoStream` implementation with Picamera2-based class.
- Add thread-safe `StreamingOutput` for MJPEG streaming.
- Implement configurable video streaming and high-resolution still capture.
- Introduce logging for better debugging and clarity.
…o VideoCamera in camera.py and the actual processing of the image is handle by the picamera which saves a lot a cpu ressources
Refactor `camera.py` to use Picamera2 API for improved performance an…
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

its not working - what is wrong?

1 participant