VEYE IMAGING Forum
    • Categories
    • Tags
    • Recent
    • Popular
    • Users
    • WIKI
    • veye.cc
    • Register
    • Login

    求助树莓派MV-MIPI-IMX178M 使用python调用cv2.VideoCapture显示can't open camera by index

    Scheduled Pinned Locked Moved Raspberry Pi App Software
    1 Posts 1 Posters 906 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J Offline
      June20255202
      last edited by

      在命令行使用V4L2-ctl命令摄像头可以正常拍照,/dev/video0节点也存在,并且验证过是摄像头就是video0节点,但是使用python调用cv2.VideoCapture(0)提示can't open camera by index,也验证过cv2.VideoCapture()是可以提取本地视频的,所以应该也不是opencv的原因
      ![d3dbcd80-edef-4bff-b61b-9580ab00aa1b-60F5B75B28D7A0EEF266A8760201DEED.jpg](/assets/uploads/files/1668499001898-d3dbcd80-edef-4bff-b61b-9580ab00aa1b-
      60f5b75b28d7a0eef266a8760201deed-resized.jpg)
      5710bbf2-7da2-467e-b5ca-8f910334042f-573BC033144FDFCE3D1FBF1B662E402E.jpg
      51608a9f-800f-467d-aa72-669fd61eb1bb-1A3AEA06977108E30F5A9E4B7D44E7BD.jpg

      1 Reply Last reply Reply Quote 0

      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

      With your input, this post could be even better 💗

      Register Login
      • First post
        Last post