Guest User

Untitled

a guest
Apr 29th, 2021
32
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. jetson@nano-4gb-jp451:~$ python3
  2. Python 3.6.9 (default, Jan 26 2021, 15:33:00)
  3. [GCC 8.4.0] on linux
  4. Type "help", "copyright", "credits" or "license" for more information.
  5. >>> from jetcam.csi_camera import CSICamera
  6. >>> camera = CSICamera(width=224, height=224, capture_width=1280, capture_height=720, capture_fps=30)
  7. GST_ARGUS: Creating output stream
  8. CONSUMER: Waiting until producer is connected...
  9. GST_ARGUS: Available Sensor modes :
  10. GST_ARGUS: 3264 x 2464 FR = 21.000000 fps Duration = 47619048 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;
  11.  
  12. GST_ARGUS: 3264 x 1848 FR = 28.000001 fps Duration = 35714284 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;
  13.  
  14. GST_ARGUS: 1920 x 1080 FR = 29.999999 fps Duration = 33333334 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;
  15.  
  16. GST_ARGUS: 1640 x 1232 FR = 29.999999 fps Duration = 33333334 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;
  17.  
  18. GST_ARGUS: 1280 x 720 FR = 59.999999 fps Duration = 16666667 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;
  19.  
  20. GST_ARGUS: 1280 x 720 FR = 120.000005 fps Duration = 8333333 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;
  21.  
  22. GST_ARGUS: Running with following settings:
  23. Camera index = 0
  24. Camera mode = 5
  25. Output Stream W = 1280 H = 720
  26. seconds to Run = 0
  27. Frame Rate = 120.000005
  28. GST_ARGUS: Setup Complete, Starting captures for 0 seconds
  29. GST_ARGUS: Starting repeat capture requests.
  30. CONSUMER: Producer has connected; continuing.
  31. nvbuf_utils: dmabuf_fd -1 mapped entry NOT found
  32. nvbuf_utils: Can not get HW buffer from FD... Exiting...
  33. [ WARN:0] global /home/nvidia/host/build_opencv/nv_opencv/modules/videoio/src/cap_gstreamer.cpp (1757) handleMessage OpenCV | GStreamer warning: Embedded video playback halted; module nvarguscamerasrc0 reported: CANCELLED
  34.  
  35. (python3:7791): GStreamer-CRITICAL **: 23:49:02.344: gst_mini_object_set_qdata: assertion 'object != NULL' failed
  36. GST_ARGUS: Cleaning up
  37. (Argus) Error EndOfFile: Unexpected error in reading socket (in src/rpc/socket/client/ClientSocketManager.cpp, function recvThreadCore(), line 266)
  38. (Argus) Error EndOfFile: Receive worker failure, notifying 1 waiting threads (in src/rpc/socket/client/ClientSocketManager.cpp, function recvThreadCore(), line 340)
  39. (Argus) Error InvalidState: Argus client is exiting with 1 outstanding client threads (in src/rpc/socket/client/ClientSocketManager.cpp, function recvThreadCore(), line 357)
  40. (Argus) Error EndOfFile: Receiving thread terminated with error (in src/rpc/socket/client/ClientSocketManager.cpp, function recvThreadWrapper(), line 368)
  41. (Argus) Error EndOfFile: Client thread received an error from socket (in src/rpc/socket/client/ClientSocketManager.cpp, function send(), line 145)
  42. (Argus) Error EndOfFile: (propagating from src/rpc/socket/client/SocketClientDispatch.cpp, function dispatch(), line 87)
  43. (Argus) Error InvalidState: Receive thread is not running cannot send. (in src/rpc/socket/client/ClientSocketManager.cpp, function send(), line 96)
  44. (Argus) Error InvalidState: (propagating from src/rpc/socket/client/SocketClientDispatch.cpp, function dispatch(), line 87)
  45. (Argus) Error InvalidState: Receive thread is not running cannot send. (in src/rpc/socket/client/ClientSocketManager.cpp, function send(), line 96)
  46. (Argus) Error InvalidState: (propagating from src/rpc/socket/client/SocketClientDispatch.cpp, function dispatch(), line 87)
  47. (Argus) Error InvalidState: Receive thread is not running cannot send. (in src/rpc/socket/client/ClientSocketManager.cpp, function send(), line 96)
  48. (Argus) Error InvalidState: (propagating from src/rpc/socket/client/SocketClientDispatch.cpp, function dispatch(), line 87)
  49. [ WARN:0] global /home/nvidia/host/build_opencv/nv_opencv/modules/videoio/src/cap_gstreamer.cpp (886) open OpenCV | GStreamer warning: unable to start pipeline
  50. [ WARN:0] global /home/nvidia/host/build_opencv/nv_opencv/modules/videoio/src/cap_gstreamer.cpp (480) isPipelinePlaying OpenCV | GStreamer warning: GStreamer: pipeline have not been created
  51. Traceback (most recent call last):
  52. File "/usr/local/lib/python3.6/dist-packages/jetcam-0.0.0-py3.6.egg/jetcam/csi_camera.py", line 24, in __init__
  53. RuntimeError: Could not read image from camera.
  54.  
  55. During handling of the above exception, another exception occurred:
  56.  
  57. Traceback (most recent call last):
  58. File "<stdin>", line 1, in <module>
  59. File "/usr/local/lib/python3.6/dist-packages/jetcam-0.0.0-py3.6.egg/jetcam/csi_camera.py", line 27, in __init__
  60. RuntimeError: Could not initialize camera. Please see error trace.
RAW Paste Data