AI Training School is an app for learning machine-learning training and recognition concepts by taking pictures. Models trained in the app can be imported into CodeLab.
Add AI Training School blocks in CodeLab
Add these blocks in the same way as other extensions:
1. Click Edit Blocks to open the Add Blocks page. 2. Find the AI Training School block card. 3. Click Add.
AI Training School blocks
When AI Training School recognizes __ __ with confidence 65%
- DescriptionThis block starts a section of the program when the robot recognizes an item from the selected model.
- ExampleClick Select Image Recognition Model, organize the images trained in AI Training School into a group, and upload it when selecting the group. Select "apple" with a confidence threshold of 65%. Note: the confidence threshold for AI Training School blocks is currently fixed at 65%.
Wait until AI Training School recognizes __ __ with confidence 65%
- DescriptionThis block waits for the robot to recognize an object from the selected model before continuing to the next action.
- ExampleWait until the robot recognizes "apple" from the "Class 4, Grade 3 Fruit Guide" group with confidence above 65%, then display the "Correct" image.
If AI Training School recognizes __ __ within __ seconds with confidence __% +
- DescriptionPlace the actions to perform inside the If block. They run when the robot recognizes the specified object within the time limit and above the confidence threshold.
If AI Training School recognizes __ __ within __ seconds with confidence __%, otherwise __
- DescriptionIf the robot recognizes the specified object within the time limit and above the confidence threshold, it runs the actions inside If. If the condition is not met, it runs the actions inside Else.
AI Training School __ recognition result
- DescriptionUpload a recognition model before selecting it for use.
- ExampleConnect this variable block to Say and select a recognition group. The robot will use TTS to say which item it recognized.
AI Training School __ confidence
- DescriptionUpload a recognition model before selecting it for use.
- ExampleConnect this variable block to Say and select a recognition group. The robot will use TTS to say the confidence percentage for the recognized item.
Run AI Training School audio recognition for __ __ with confidence 65%
- DescriptionThis block recognizes the selected group and retains the result for use with the Recognition Result and Confidence blocks.
- Example1. Organize audio trained in AI Training School into groups and select the group to recognize. 2. Add a Say __ block and connect the AI Training School Audio __ Recognition Result block. The robot will say the recognition result using TTS. Note: the confidence threshold for AI Training School blocks is currently fixed at 65%.
Wait until AI Training School recognizes audio __ __ with confidence __%
- DescriptionThis block waits for the robot to recognize an object from the selected model before continuing to the next action.
- ExampleWait until the robot recognizes "apple" from the "Class 4, Grade 3 Fruit Guide" group with confidence above 65%, then display the "Correct" image.
If AI Training School recognizes audio __ __ within __ seconds with confidence __%
- DescriptionThe If block runs its actions when the robot recognizes the specified item within the time limit and above the confidence threshold.
If AI Training School recognizes __ __ within __ seconds with confidence __%, otherwise __
- DescriptionIf the robot recognizes the specified object within the time limit and above the confidence threshold, it runs the actions inside If. If the condition is not met, it runs the actions inside Else.
AI Training School __ audio recognition result
- DescriptionUpload a recognition model before selecting it for use.
- ExampleConnect this variable block to Say and select a recognition group. The robot will use TTS to say which item it recognized.
AI Training School Audio __ confidence
- DescriptionUpload a recognition model before selecting it for use.
- ExampleConnect this variable block to Say and select a recognition group. The robot will use TTS to say the confidence percentage for the recognized item.