Discussion

Left ArrowBack to discussions page
Jason_gJason_g Posts: 10 Apprentice
edited May 29 in Programming

From what I have read in manual I understand camera is primarily intended to pick up objects from a 2D surface. But could camera be used to distinguish between 2 or more pre defined patterns and then perform some action when it sees specific pattern. For instance I would Take snap shots unit camera identifies a defined pattern. Patterns I am looking for would always be in the same position.

The way I might handle this with other cameras is to store several programs on camera (one for each pattern I am searching for) and simply use a pass or fail output to determine if pattern was found or not. I would then no which pattern was found based on what program I called on out camera. Hoping to accomplish this with wrist camera as we are working with very limited space and it seems to be our cleanest option.

Thanks!

Tagged:

Comments

  • David_GariepyDavid_Gariepy Posts: 152Beta Tester Beetle, Wrist Camera URCap 1.3.0 Handy
    HI @Jason_g

    Yes, you can achieve a similar result with the Wrist camera.
    The camera locate node act as an if statement. If it finds the taught pattern, it will execute the code inside the camera locate node, otherwise, it will continue with the next instruction in the program. You could then update a variable inside the camera locate node to track if it finds the pattern or not.  Or, you could also simply program the routine inside the desired camera locate node. 


    David Gariépy
    Integration Coach
Sign In or Register to comment.
Left ArrowBack to discussions page