Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Collapse
Brand Logo

ModalAI Forum

  1. ModalAI Support Forum
  2. General Questions
  3. How to access cameras with opencv

How to access cameras with opencv

Scheduled Pinned Locked Moved Unsolved General Questions
opencvvoxl2help
2 Posts 2 Posters 1.7k Views 1 Watching
  • 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.
  • M Offline
    M Offline
    mawriyo
    wrote on last edited by
    #1

    I have a basic script to try and access a camera. I tried using opencvs cv2.VideoCapture() but have tried the devices i see on ls /dev. I get /dev/video0, /dev/video1, /dev/video32, /dev/video33. I also tried to use gstreamer to access these cameras to no result.

    I installed a v4l2-utils to see my devices to which returns when I use '''vl2-ctl --list-devices''' which returns

    "msm_vidc_vdec ():
    /dev/video32
    /dev/video33
    /dev/v4l-subdev2
    /dev/v4l-subdev3
    /dev/v4l-subdev4
    /dev/v4l-subdev5
    /dev/v4l-subdev6
    /dev/v4l-subdev7"

    Any idea how I can use the cameras that come with the kit to be used in basic CV programming?

    1 Reply Last reply
    0
    • Chad SweetC Offline
      Chad SweetC Offline
      Chad Sweet
      ModalAI Team
      wrote on last edited by
      #2

      Please see the documentation for voxl-camera-server here: https://docs.modalai.com/voxl-camera-server/

      There are many examples in our SDK code base of how to consume that data. Here is a good place to look for each of our services: https://gitlab.com/voxl-public/voxl-sdk/services

      Here is some exact code here: https://gitlab.com/voxl-public/voxl-sdk/services/voxl-qvio-server/-/blob/master/server/main.cpp#L474

      And another example here: https://gitlab.com/voxl-public/voxl-sdk/services/voxl-tflite-server/-/blob/master/src/main.cpp#L208

      1 Reply Last reply
      0

      Reading along? Create a free ModalAI Forum account to join in.

      With an account you can reply, ask your own question, get an email when a ModalAI engineer answers, and mark the reply that solved it. Your place in each thread is saved between visits.

      Questions about VOXL, Flight Core, ESCs and ModalAI drones are answered here by the engineers who build them.

      Register Login
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      ModalAI
      Categories Recent Tags ModalAI.com Docs
      © 2026 ModalAI® · Accelerating autonomy for smaller, smarter, safer drones · Powered by NodeBB
      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups