Mimic 2D Laser Profiler / Triangulation

Hello Team,

I’m working on a special prototype using two H7 cameras to mimic a laser 2D profiler sensor.

So, I would like to detect the line generated by the intersection of the laser against the inner surface. Then I need to split the line into an even number of points to extract the coordinates by triangulation. I need the same number of points left and right from the camera’s optical axis.

The question is, what’s the best approach to deal with this?

Any guidance on this is much appreciated.

Regards

LPUS

Have you tried using color tracking to find the red laser pixels?

Given the surface of the object will deflect the line you kinda need to do something based on color and raw pixel values. Are the laser pixels connected on the object or do they have gaps?