# Ardupilot Rover Object Detection

**URL:** <https://forums.openmv.io/t/ardupilot-rover-object-detection/11699>\
**Category:** OpenMV Boards\
**Created:** [June 4, 2026, 3:56am UTC](https://forums.openmv.io/t/ardupilot-rover-object-detection/11699 "2026-06-04T03:56:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Spinorose](https://avatars.discourse-cdn.com/v4/letter/s/53a042/32.png) [@Spinorose](https://forums.openmv.io/u/Spinorose)\
**Post date:** [June 4, 2026, 3:56am UTC](https://forums.openmv.io/t/ardupilot-rover-object-detection/11699/1 "2026-06-04T03:56:07Z")

</div>

Hi Fam - I am in the process of building an Ardupilot Rover , I have a h7 r2 camera sitting on my desk which I will like to incorporate into my project .

1.Will it be able to detect moving object (humans ,dogs ,cars and bikes) ?

2.If it does can I stop the rover until obstacle if out of frame ?

3.After all is good continue with my planned mission .

4.How do I wire the camera to my Pixhawk (PX4).

any advice will be high appreciated .

---

<div class="post-metadata">

**Author:** ![kwagyeman](https://yyz1.discourse-cdn.com/flex029/user_avatar/forums.openmv.io/kwagyeman/32/4_2.png) [@kwagyeman](https://forums.openmv.io/u/kwagyeman)\
**Post date:** [June 4, 2026, 5:31am UTC](https://forums.openmv.io/t/ardupilot-rover-object-detection/11699/2 "2026-06-04T05:31:31Z")

</div>

1. No, it cannot run high end Yolo algorithms. You can do more basic computer vision on board, though.
2. Yes, depending on what algorithm you use.
3. Yes…
4. Depends; typically, the uart pins p4/p5 are used.

I don’t have experience integrating Mavlink with a camera, so I can’t tell you exactly how to do this.

---

<div class="post-metadata">

**Author:** ![Spinorose](https://avatars.discourse-cdn.com/v4/letter/s/53a042/32.png) [@Spinorose](https://forums.openmv.io/u/Spinorose)\
**Post date:** [June 4, 2026, 4:18pm UTC](https://forums.openmv.io/t/ardupilot-rover-object-detection/11699/3 "2026-06-04T16:18:12Z")

</div>

So basically I can set is up for if it detects moving object in frame for question 1 not specific to (humans ,dogs ,cars and bikes). Can add an basic ultrasonic sensor to measure it’s distance if the object in frame comes really close if it is positioned properly . Sorry for all the questions but I want to spend my summer on this project , which I think is fun with my kids .

> **[2PCS Ultrasonic Module HC-SR04 Distance Measuring Transducer Sensor, Motion...](https://www.amazon.ca/Ultrasonic-HC-SR04-Distance-Measuring-Transducer/dp/B077P72HG7)**
>
> Description: The module performance is stable, measure the distance accurately: Can and SRF05, SRF02 ultrasonic distance measuring module and other comparable. Module precision, blind spots (2cm) super close, stable ranging success of this product to...

---

<div class="post-metadata">

**Author:** ![kwagyeman](https://yyz1.discourse-cdn.com/flex029/user_avatar/forums.openmv.io/kwagyeman/32/4_2.png) [@kwagyeman](https://forums.openmv.io/u/kwagyeman)\
**Post date:** [June 4, 2026, 6:05pm UTC](https://forums.openmv.io/t/ardupilot-rover-object-detection/11699/4 "2026-06-04T18:05:52Z")

</div>

Yes, we can do this. Connecting to ultrasonic sensors is possible in Micropython via the machine pulseIn api.
