Added embedded env type for CSI camera in video handler - #13
Added embedded env type for CSI camera in video handler#13salehmanochehri wants to merge 1 commit into
Conversation
Hey saleh👋 Thanks for taking the time to work on Raspberry Pi CSI camera support! Sorry for the delayed response Since you opened this PR, I've done a major reorganization and improvement of the 🎯 Better Approach: New CSI_RPI Video Source TypeRather than adding an Why this is cleaner:
📋 Implementation Guide:1. Config Update:VideoSource:
# Add CSI_RPI as new option
VIDEO_SOURCE_TYPE: CSI_RPI # or CSI_JETSON2. Video Handler Updates:
3. Fix the Pipeline:Your Raspberry Pi pipeline had a critical bug - "libcamerasrc ! video/x-raw,width={width},height={height},framerate={fps}/1 ! videoconvert ! video/x-raw,format=BGR ! appsink drop=true max-buffers=1 sync=false"🤝 Want to Collaborate?I'd love to have you implement this cleaner approach! It would be a great addition. Check out the current
The current codebase is much more organized now - take a look and let me know your thoughts! Thanks again for the contribution! 🚀 |
When using the CSI_CAMERA. By default, GStreamer pipeline is only defined for Nvidia boards. Raspberry Pi camera CSI have been added to the pipeline in video handler class and configuration file.