Home› Programming
Discussion
Back to discussions page
bcastets
Vacuum Beta tester Posts: 695 Expert
Wirst camera: Get number of detected objects |
207 views
|
Answered | |
/ Most recent by chriskearsley
in Programming
|
6 comments |

in Programming
Just want to share with you a little trick to get the number of object detected by the camera in a variable.
In the back the camera use a variable name "f". "f" is a list which contain the following information:
In the back the camera use a variable name "f". "f" is a list which contain the following information:
- f[0] -> Number of detected objects
- f[1...6] -> Current object location X,Y,Z,Rx,Ry,Rz
- f[7] -> Current object edge detection score
Tagged:
The problem I am having the 1st cam locate works 25 parts get picked up. then it goes to the second cam locate node which is set up to see just the remaining 23 parts it picks the 23 parts then goes to snapshot. which then should pick up that there isn't any more and jump to the if statement at the end. but it doesn't it just goes and carry's on picking up parts from fresh air
I create a support ticket to follow your request.