svm_detect_landmark(job_id)
Features
Detect the landmark information with respect to Camera coordinage using a job_id.
Parameters
Parameter Name | Data Type | Default Value | Description |
---|---|---|---|
job | int | job id(ex - 1000, 2000, 3000) |
Return
Value | Data Type | Description |
---|---|---|
count | int | Number of detected landmarks |
cpos | list[Tx,Ty,Tz,Rx,Ry,Rz] | Landmark pose based on camera coordinates |
0, [] | Int, list | landmark detection failure |
Example
svm_connect() # Connect to vision
count, cpos = svm_detect_landmark(1000)
tp_popup("Landmark number={0}, Landmark with respect to Camera={1}".format(count, cpos))
svm_disconnect() # Disconnect to vision