kizniche / Mycodo

An environmental monitoring and regulation system
http://kylegabriel.com/projects/
GNU General Public License v3.0
3k stars 500 forks source link

OpenCV Camera not listed #1398

Open Night-Lee-D opened 3 weeks ago

Night-Lee-D commented 3 weeks ago

Describe the problem/bug

When trying to add a camera I am unable to see any cameras using opencv. I have a generic USB camera plugged in. I have written a script to see if any cameras are available in opencv. I am able to see a camera at /dev/video0. however mycodo shows no device found in the settings of opencv.

Versions:

Reproducibility

Please list specific setup details that are involved and the steps to reproduce the behavior:

  1. Plug in Generic USB Camera
  2. Go to Camera Tab
  3. Add OpenCv Camera
  4. Select Settings on OpenCV Tab
  5. Go to OpenCV Device.
  6. No Device Detected.

Expected behavior

I hoping to use the camera on /dev/video0 with the opencv cam,

kizniche commented 3 weeks ago

If no devices are listed, then opencv isn't detecting your camera.

Night-Lee-D commented 3 weeks ago

it seems as though it was an issue with numpy 2.1.2 and opencv