NVIDIA-AI-IOT / jetcam

Easy to use Python camera interface for NVIDIA Jetson
MIT License
428 stars 128 forks source link

stream and display laptop webcam using jetcam #26

Open Hasankanso opened 4 years ago

Hasankanso commented 4 years ago

is there any explicit code on how to do it, usb_camera is throwing an initialization error, csi_camera also, so I wonder what is the right way to do that. again I'm using only my laptop and have no external hardware.

I will appreciate any kind of help.

jaybdub commented 4 years ago

Hi Hasankanso,

Thanks for reaching out!

You might be able to try ipywebrtc for this purpose.

Please let me know if this helps or you run into issues.

Best, John

Hasankanso commented 4 years ago

Hi jaybdub,

thanks for help, I used this method to workaround jetcam in jupyter (read my comment at): https://github.com/NVIDIA-AI-IOT/trt_pose#issuecomment-698948509

I edited the live_demo.ipynb from trt_pose just in case someone is wondering how to replace jetcam,

best, Hassan