Home Programming

Discussion

Left ArrowBack to discussions page
bcastetsbcastets Vacuum Beta tester Posts: 674 Expert
By default the wrist camera process detected objects from high to low detection score. However in some application like "tray picking" you may prefer to control picking order.
This post present a program which process detected objects line by line.

https://www.youtube.com/watch?v=leFswlG7Uek

Here is the methodology:
  1. Detect tray position with the camera and save it in a variable. From this position, it is possible to locate all tray placements.
  2. Detect with the camera the position of all objects available in the tray and save it in a list.
  3. Use the distance between object position and tray placements to process objects in the desired order.
 The program use parametric model to detect tray and objects but it is also possible to make a similar program with automatic model.

Comments

  • bcastetsbcastets Vacuum Beta tester Posts: 674 Expert
    Here are program files.
  • bcastetsbcastets Vacuum Beta tester Posts: 674 Expert
    edited March 2020
    As this example on how to set picking order with the camera was not well understood by everyone, I had some comments about the program.

    The 2 camlocates used in this program use parametric mode.

    The first camlocates search for a scare of the size of the tray.
    The second camlocate search for a circle of the size of the object in tray placement.



    I hope it will help.
  • tboizumaulttboizumault Posts: 4 Apprentice

    I attach some additional information that might help understand parameters and logic.

    I hope it will help.

Sign In or Register to comment.
Left ArrowBack to discussions page