CMU-Perceptual-Computing-Lab / openpose

OpenPose: Real-time multi-person keypoint detection library for body, face, hands, and foot estimation
https://cmu-perceptual-computing-lab.github.io/openpose
Other
30.68k stars 7.82k forks source link

Help wanted: Auto detection of Flir cameras is not working on Windows 10. #548

Closed vasavig closed 6 years ago

vasavig commented 6 years ago

Issue Summary

I have installed the 3D module successfully and also Spinnaker. I am using two Blackfly S cameras. I have done the camera calibration. But when I run the demo with flir and 3d parameters on, I get an error message that no cameras are detected. I am able to see that the cameras are detected in SpinView.

Update 1: When I run the Enumeration solution from the Spinnaker examples, both the cameras are detected. But they are not detected while running the openpose executable. Update 2: I have also tried running the Visual Studio instance as an admin. It still doesn't work.

Executed Command

build\x64\Release\OpenPoseDemo.exe --flir_camera --3d --number_people_max 1 --face --hand

Type of Issue

System Configuration

Operating system : Windows 10 Installation mode: VS 2015 Enterprise with Update 3 build CUDA version (cat /usr/local/cuda/version.txt in most cases):cuda 8 cuDNN version: v 5.1 CMake version (cmake --version in Ubuntu): 3.11.1 Release or Debug mode? (by defualt: release): Release 3-D Reconstruction module added? (by default: no): No GPU model (nvidia-smi in Ubuntu): Nvidia Titan X Caffe version: Default from OpenPose

If anyone knows how to fix this issue, please comment. Thanks in advance!

vasavig commented 6 years ago

@gineshidalgo99 I understand that you are not supporting the 3d module or solving issues in it, but I wanted to check with you about the issue logged here. Could you please let me know if you have ever faced this? Also, were there any specific system level settings that you did for the OpenPoseDemo to access the cameras?

gineshidalgo99 commented 6 years ago

That happened to me in the past if I connected >2 cameras into non dedicated USB 3.0 ports.

  1. Did you buy the 3.0 USB PCI board for the 3.0 USBs?

  2. Connecting only 1 camera in OpenPOse, does it work?

  3. If it doesn't, could you try running the code from Visual Studio itself? (by manually modifying the openposedemo flags in the cpp file)

vasavig commented 6 years ago

Thanks a lot for responding! I really appreciate it. To answer your questions:

  1. Did you buy the 3.0 USB PCI board for the 3.0 USBs? A: For now, I am using non-dedicated USB ports. I assumed the purpose of PCI board is to reduce latency between the multiple camera feeds. But I will try this out.

  2. Connecting only 1 camera in OpenPose, does it work? A: I have not checked it. Will check it out.

  3. If it doesn't, could you try running the code from Visual Studio itself? (by manually modifying the openposedemo flags in the cpp file) A: I have tried this, but with two cameras. I will try with one camera and see what happens.

I will update the thread with my findings.

vasavig commented 6 years ago

@gineshidalgo99 I have plugged the cameras into a PCIe card, and ran the code from VS itself, and it worked! Thanks a lot for your help!