Sensor for Direction of an object

Hello, I'm interested in determining the direction of a specific object within an image. Once I've identified this particular object in the image (using Jetson), I aim to understand its direction. My goal is to use this information to orient a servo motor accordingly. Is there any sensor, like motion sensor or Lidar for telling only the direction of the object?
When I say object I mean if we have lets say a balcony and dove is coming to it, I want it to tell me the direction of the dove in relation to the camera or the sensor.

That is a pretty simple task, if you know how the camera is oriented, and the camera lens characteristics that produced the image.

There is an inexpensive Arduino-compatible camera module (PIXY) that does all that internally: it identifies a colored "blob" at (X,Y).

The PIXY even comes with a servo example that will point your robot at the blob.

Thank you. However I see that I need to teach Pixy the object for that to work but doves are not something I can teach it because first it is varies from one to the other and second it is not like a ball or something I have nearby in a close area to teach it and Jetson works unlink this with image classier network already and knows how to identify doves.

Use trigonometry to turn the image (X, Y) coordinate into a direction, two or three lines of code.

But it don't have that information- The Jetson only identity from the camera that it is a dove, and only returns true if it is. (not anything about where it is in the image or some more information about it)

Clearly, the dove (X,Y) information is required.

Nothing in your post gives forum members the slightest hint of what imaging equipment you have, so, if you want help, consider posting the relevant project details.

Something like lidar may work, but the amount of data and processing needed is way out of scope for an Arduino. It can produce a 3D image of its surroundings.

You may also look at other optical solutions - camera and image processing, looking for a moving thing.

Then the identification of the object: can it really distinguish a dove from a grey ball?

In short, it's not a simple job. Not at all.

1 Like

I hope no doves will be harmed in the making of this project.

Only pigeons will die

oh no! of course not. Im actually a vegetarian. There is no way I will do something to actually harm them.. This is not what the project is about

Thank you. yes, that is actually what Im thinking I'm going to do, use two lidar sensors.

And I thought you were running a grilled chicken business and want to get chickens for free :slight_smile:

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.