galliot-us / neuralet

Neuralet is an open-source platform for edge deep learning models on edge TPU, Jetson Nano, and more.
https://neuralet.com
Apache License 2.0
238 stars 71 forks source link

MIPI camera input #127

Closed delgadocc closed 1 year ago

delgadocc commented 4 years ago

Hello, thank you so much for this amazing job! I'm trying to run the algorithm using my MIPI camera on the Jetson Nano. Can you help me, please? I'm trying to use the following code but it's not working. Somebody already do it?

Thank you

cv2.VideoCapture("nvarguscamerasrc ! video/x-raw(memory:NVMM), " \ "width=(int)1280, height=(int)720,format=(string)NV12, " \ "framerate=(fraction)120/1 ! nvvidconv ! video/x-raw, " \ "format=(string)BGRx ! videoconvert ! video/x-raw, " \ "format=(string)BGR ! appsink", cv2.CAP_GSTREAMER)

mrn-mln commented 4 years ago

@delgadocc I think this would be helpful.

JsonSadler commented 4 years ago

@delgadocc Could you manage to solve it?

JsonSadler commented 4 years ago

Does this help? https://github.com/neuralet/smart-social-distancing/pull/34#issuecomment-664015294