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

ModalAI Forum

  1. ModalAI Support Forum
  2. Development Drones
  3. Open CV and CV Bridge

Open CV and CV Bridge

Scheduled Pinned Locked Moved Unsolved Development Drones
rb5
1 Posts 1 Posters 739 Views
  • 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.
  • alfa budimanA Offline
    alfa budimanA Offline
    alfa budiman
    Contributor
    wrote on last edited by alfa budiman
    #1

    I'd like to share my experience installing these packages on the RB5 drone. It was not pleasant but it got done.

    I tried several variations of pip install opencv-python, with different versions of opencv and pip / pip2 / pip3, none of those worked. I tried sudo apt install and that didn't work. Similar issues popped up trying CV Bridge.

    Ultimately, I ended up having to build these packages from source (I think that's the right term). I followed the steps here: https://pyimagesearch.com/2015/06/22/install-opencv-3-0-and-python-2-7-on-ubuntu/
    to install opencv. I ignored steps 8 and 9.

    To install CV Bridge, first I installed opencv as per the linked instructions. Then, I repeated the linked instructions step 10 but with the github repo for CV Bridge (https://github.com/ros-perception/vision_opencv). After this, you must edit the ~/.bashrc on the drone and enter the following:

    export LD_LIBRARY_PATH=/usr/local/lib
    

    These packages can then be used for computer vision work with camera imagery from voxl_mpa_to_ros_node. If anyone was able to install these packages using just pip install, I'd like to know how, as I believe this issue, of having to install from source may pop up in other packages I try to install on the drone.

    1 Reply Last reply
    1

    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