what units of length used in this program?
i mean like ther score limits… rect coverage is 60 what?
and another question how do i put the program on the robot program? i mean like where and how do i connect it to the whole program? (i want to proccess to be on the computer i think…)
Good question. The units can be treated as percentage or score points.
The VI called Score Particles will take values for each particle such as pixel area and the bounding box width and height and create a measure called rectangular coverage that ranges between 0 and 100 and indicates how well those values fit the expected values of a perfect rectangle that is well aligned with the camera.
The Aspect Ratio also ranges between 0 and 100, where 100 matches the expected ratio of the inner or outer target.
The Hollowness scores range from 0 to 100 and indicate the percentage of pixel line summations that fell within the mask limits. The shape is expected to have many pixels on the edges and fewer within the center.
You should be able to open the panels and view the operation while the program is running, and if you turn on the annotation, the scores are shown next to the biggest particles.
There are tutorials that describe how to incorporate it into the robot or into the dashboard computer. Try following one of those and ask questions if you are stuck.
Greg McKaskle