Skip to content

Commit 8c4d0a3

Browse files
authored
Simplify the vision service code sample (#623)
1 parent 554e828 commit 8c4d0a3

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

examples/apis.json

+1-5
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,5 @@
1919
"pose_tracker": { "func": "get_poses" },
2020
"power_sensor": { "func": "get_power" },
2121
"motion": { "func": "get_pose" },
22-
"vision": {
23-
"func": "get_classifications_from_camera",
24-
"args": ["YOURCAMERANAME", "1"],
25-
"comment": "Note that the Camera supplied is a placeholder. Please change this to a valid Camera. Also note that the get_classifications method is a placeholder and is commented out to give you a choice to use get_detections method instead if you are doing detections."
26-
}
22+
"vision": { "func": "get_properties" }
2723
}

0 commit comments

Comments
 (0)