Skip to content
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

[Question] Cannot open camera video capture See verbosity level for more details. #19

Closed
LilyGinger opened this issue Aug 24, 2021 · 17 comments
Assignees
Labels
closed_for_stale Issue closed for inactivity question Further information is requested Stale

Comments

@LilyGinger
Copy link

Seems that the device is not recognized in Ubuntu18.04 and no serial seems to be the one of the ZED. (NUCi711). Is there some reasons that may cause this problem? Thanks a lot.

@LilyGinger LilyGinger added the question Further information is requested label Aug 24, 2021
@Myzhar
Copy link
Member

Myzhar commented Aug 24, 2021

Hi @jjjmmmxxx
can you copy and paste the result of the $ lsusb command when the camera is connected?

@LilyGinger
Copy link
Author

Thanks a lot. Things have been fixed. Something goes wrong with the USB cable. It is not the problem of the camera or this API. Thank u~

@LilyGinger
Copy link
Author

Sorry to bother. It seems that I meet another problem. The examples except for the "zed_open_capture_sensors_example" and "zed_open_capture_sync_example" work well. But these two examples failed to run.
screen

@LilyGinger LilyGinger reopened this Aug 25, 2021
@Myzhar
Copy link
Member

Myzhar commented Aug 25, 2021

Can you post the output of the $ lsusb command?

@Myzhar
Copy link
Member

Myzhar commented Aug 25, 2021

Please also verify to have followed correctly the following installation steps:
https://github.com/stereolabs/zed-open-capture#add-udev-rule

If udev rules are not correctly installed the sensors module cannot be accessed without sudo rights

@LilyGinger
Copy link
Author

This is the lsusb output:
test2

I tried this process again and I found it's still like that: No available ZED Mini or ZED2 cameras

test3

test4

@LilyGinger
Copy link
Author

It does seem something goes wrong when I follow the process for udev rules. When I add sudo before zed_open_capture_sensors_example, everything goes right.
5

@Myzhar
Copy link
Member

Myzhar commented Aug 25, 2021

Yes, that's because the ZED2i support was still missing in the udev rules.
I fixed it only 2 hours ago when I noticed it, you can pull the new version (v0.4.1) from Github that should fix the problem.
I'm really sorry for this annoying bug.

@LilyGinger
Copy link
Author

Thank you very much for your help! I have one last question. Is the ZED2i supports TypeC-TypeC cable? I use the Camera == typeC----USB3.0 ==USB3.0----typeC==computer connection? When I use this connection, it printed like below:

444

@Myzhar
Copy link
Member

Myzhar commented Sep 13, 2021

Yes, it should work without any problems

@purpledeer111
Copy link

purpledeer111 commented Nov 17, 2021

Hi,
same message when using ZED mini with debian 11.

$ zed_open_capture_video_example 
Cannot open camera video capture
See verbosity level for more details.

Device seems to be recognized in system

$ lsusb 
...
Bus 001 Device 014: ID 2b03:f681 STEREOLABS ZED-M HID Interface
...

How do I increase verbosity level? I dont see any parameters

    if( !cap.initializeVideo() )
    {
        std::cerr << "Cannot open camera video capture" << std::endl;
        std::cerr << "See verbosity level for more details." << std::endl;

        return EXIT_FAILURE;
    }

Add:
I have noticed that no additional videox entery was created in /dev/ directory

@BhavyanshM
Copy link

BhavyanshM commented Nov 25, 2021

I have been getting the exact same error with ZED2 on Ubuntu 20.04. Followed all the instructions as mentioned on the README. The C++ node runs and generates data. However, after a while the node freezes and doesn't get any more data from the cameras.

Subsequent attempts at launching the node generate this message, and the node never starts again.
image

Only a complete computer reboot fixes it, which is a bit annoying because the freezes occur very regularly. Please help. Thank you so much.

@Yelloooowww
Copy link

I have the same issue and reboot couldn't help.
Screenshot from 2022-04-07 14-53-55

@Myzhar
Copy link
Member

Myzhar commented Apr 7, 2022

@Yelloooowww I'm sorry, but the reboot command only works starting from the ZED2 camera model.
The ZED-M does not have the electronic circuit for this behavior.

@github-actions
Copy link

github-actions bot commented May 8, 2022

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment otherwise it will be automatically closed in 5 days

@github-actions github-actions bot added Stale closed_for_stale Issue closed for inactivity labels May 8, 2022
@ernlavr
Copy link

ernlavr commented Sep 27, 2023

I have the same problem as described by a few people above! I've followed the README, running Ubuntu 22.04, also installed udev rules
image

@Myzhar
Copy link
Member

Myzhar commented Sep 27, 2023

@ernlavr this is a closed issue. Please do not reply to closed issues.
Create a new one with all the required information and eventually tag this issue as a reference.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closed_for_stale Issue closed for inactivity question Further information is requested Stale
Development

No branches or pull requests

6 participants