How to add Object Detection

Typically: "How do I... ", "How can I... " questions
Post Reply
CoolBudy1
Posts: 2
Joined: 05 Mar 2024, 04:46

How to add Object Detection

Post by CoolBudy1 »

I am trying to add a camera to the top of a drivable robot that will scan the environment for red cylinders. However I cannot find much resources on how to setup object detection and tracking.

Since this is a super basic mockup, I would prefer to be able to return all objects currently in view and sort through the for specific color values or names and return their handle so I can get their positions. However, I am unsure how to achieve this affect.

Any suggestions or links to similar resources would be greatly appreciated.

coppelia
Site Admin
Posts: 10375
Joined: 14 Dec 2012, 00:25

Re: How to add Object Detection

Post by coppelia »

Hello,

have a look at the demo scene scenes/vision/objectTracking.ttt, it should illustrate everything you want to do.

Cheers

CoolBudy1
Posts: 2
Joined: 05 Mar 2024, 04:46

Re: How to add Object Detection

Post by CoolBudy1 »

Thank you for bringing those example scenes to my attention. The one you mentioned is perfect.

Post Reply