Jetson nano, how to detect object direction

Hi All,
I need to detect special chips from a panel, each chip has pin polarity labeled by a dot and some labels (string text info) on its surface. So i want to detect these chips using jetson nano and find the pin polarity, then pick it up by automatic robotic arm and rotate based on pin polarity, and then put it into a chip socket by the pin polarity direction.

how to detect object with special direction, for example

Scenario I:
|----------------------------------|
| O (pin polarity ) ++++++++++++ |
|+++++++++++++++++++++++++++ |
|+++++++++++++++++++++++++++ |
|+++++++++++++++++++++++++++ |

+++++++++++++++++++++++++++

Scenario II:
|----------------------------------|
| +++++++++++++++++++++++++ O |
|+++++++++++++++++++++++++++ |
|+++++++++++++++++++++++++++ |
|+++++++++++++++++++++++++++ |

+++++++++++++++++++++++++++

Scenario III:
|----------------------------------|
|+++++++++++++++++++++++++++ |
|+++++++++++++++++++++++++++ |
|+++++++++++++++++++++++++++ |
|+++++++++++++++++++++++++++ |

++++++++++++++++++++++++++O

Scenario II:
|----------------------------------|
|+++++++++++++++++++++++++++ |
|+++++++++++++++++++++++++++ |
|+++++++++++++++++++++++++++ |
|+++++++++++++++++++++++++++ |

O+++++++++++++++++++++++++

Thanks a lot.

Linx

Hello @linx.zhang and welcome to the NVIDIA developer forums!

This looks like a very interesting project that would benefit from some Machine Learning. I would suggest you move the topic to a category that is a better fit and will give you more visibility. I don’t want to impose, but my suggestion would be the Jetson Projects (or one of the other Jetson specific categories)

You might also want to read up on the Isaac SDK, which is dedicated to develop autonomous robots, including object detection capabilities.