Updated project to be compatible with Picamera2#35
Open
rem657 wants to merge 18 commits intoEbenKouao:masterfrom
Open
Updated project to be compatible with Picamera2#35rem657 wants to merge 18 commits intoEbenKouao:masterfrom
rem657 wants to merge 18 commits intoEbenKouao:masterfrom
Conversation
…ream implementation. Add project dependencies and metadata.
Replace Flask-based app with a standalone PiCamera2 threaded video stream implementation. Add project dependencies and metadata.
Implement-PiVideoStream-with-picamera2
Implement-PiVideoStream-with-picamera2
added main.py
add-requirements-and-service
- 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…
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
PiVideoStreamobject fromimutilsto 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.