Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSI camera path #4

Open
UsamaRehman001 opened this issue May 9, 2024 · 8 comments
Open

CSI camera path #4

UsamaRehman001 opened this issue May 9, 2024 · 8 comments

Comments

@UsamaRehman001
Copy link

how do i give the CSI camera (which is connected to rasberry pi 5) path to your input_path variable. i am not able to do that. please help out ?
Also give me insight about the segmentation fault which occured your video as well.
Screenshot 2024-05-09 125557

@DAVIDNYARKO123
Copy link
Owner

Hello @UsamaRehman001,
I will be glad to help, but can you list the specific CSI camera you are using?

@UsamaRehman001
Copy link
Author

@DAVIDNYARKO123 my CSI camera is IMX 519, 16 mega pixel. connected through CSI connector on rasberry pi5. also my usb coral accelarator is connected to USB 3.0 port. so please help me out how do i give input path of that video feed from camera. and give that to your code instead of saved video file such as .mp4 file.

do provide code if helpful. thanks

@zoldaten
Copy link

zoldaten commented Jun 3, 2024

https://www.youtube.com/watch?v=EA7_2qL3Iho - rtsp stream with coral usb

@holmesha
Copy link

holmesha commented Jun 9, 2024

I too am trying to use a live camera video feed (generic usb webcam) as a source for object detection, but really struggling to make it work as an input. I can get the video feed up, and even the classifications, but can't seem to make the bounding boxes/labels appear on the video feed.

@faroche
Copy link

faroche commented Jun 13, 2024

Are you able to use RSTP video streaming as a source?

@cloudy4125
Copy link

I too am trying to use a live camera video feed (generic usb webcam) as a source for object detection, but really struggling to make it work as an input. I can get the video feed up, and even the classifications, but can't seem to make the bounding boxes/labels appear on the video feed.

I thought about it a lot, but it was so easy

It works if you just put the number 0 instead of /dev/video0.

@UsamaRehman001
Copy link
Author

I too am trying to use a live camera video feed (generic usb webcam) as a source for object detection, but really struggling to make it work as an input. I can get the video feed up, and even the classifications, but can't seem to make the bounding boxes/labels appear on the video feed.

I thought about it a lot, but it was so easy

It works if you just put the number 0 instead of /dev/video0.

I am using CSI Camera . How do give path to that ?

@cloudy4125
Copy link

I too am trying to use a live camera video feed (generic usb webcam) as a source for object detection, but really struggling to make it work as an input. I can get the video feed up, and even the classifications, but can't seem to make the bounding boxes/labels appear on the video feed.

I thought about it a lot, but it was so easy
It works if you just put the number 0 instead of /dev/video0.

I am using CSI Camera . How do give path to that ?

v4l2-ctl --list-devices
If you type it in, the CSI camera is the same
Doesn't it come out as /dev/video0?

You can enter 0 for the same.

silvatpu -p det -m 192_yolov8n_full_integer_quant_edgetpu.tflite -i 0 -z 192 -t 0.5 -s True

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

No branches or pull requests

6 participants