-
Notifications
You must be signed in to change notification settings - Fork 3k
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
output.Render problem using openCV #1892
Comments
Hi @motoki-tmu, do you see it print out any detections that would indicate the image is still valid? Does any window display (if you have display connected) or is the output not working entirely? |
Hi, thank you for your response. The detection program runs successfully, the number of objects and so on are output. However, the image through the camera does not appear on the display. When compared to the original, my code outputs error ''[Open GL] failed to create x11 window. [video] no valid output streams, creating fake null output". I use jetson nano, by the way. Thank you! |
OK gotcha - try doing the
Its strange, but python-opencv module sometimes will change other libraries OpenGL bindings when it gets loaded. |
Hi, when I changed the line to import cv2, "ImportError: /usr/lib/aarch64-linux-gnu/libgomp.so.1: cannot allocate memory in static TLS block" was displayed, and after "export LD_PRELOAD=/usr/lib/aarch64-linux-gnu/libgomp.so.1", a grayscale detection image appeared on the display! Thank you for the helpful advice! |
Hi, I would like to import openCV into detectnet.py to do real-time object detection based on grayscale video. I added code to detectnet.py based on jetson-utils/cuda-to-cv.py and cuda-from-cv.py, but output does not appear on my display. Thank you!
The text was updated successfully, but these errors were encountered: