Page 92 - Click_GPT_c6_Flipbook
P. 92
Step 2 Go to AI Learning → Object Detection and check out the following blocks:
Load Image block allows user to either click picture through camera or load local
l
image from desktop.
Get object count block is used to detect and count
l
the selected object.
Show Image with border block is used to show
l
detected image with and without border on output
window.
Step 3 Drag and drop the Load Image block.
Step 4 Attach if-do block from Logic category.
Step 5 Add Get object count block inside if-do block and change object to
aeroplane using arrow button in the block.
Step 6 Add Show Image with border block.
Step 7 Add print block from Output category and add
String block from the Data Types category
inside print then write “Aeroplane”.
Step 8 Expand the ‘if - do’ block by clicking on icon. Add else
block to if block.
Step 9 In else attach one more print block and string block then
write ”Image not matched”. Following is the complete
code.
Step 10 Now, click on Load Image block and new window will
appear, then click on Browse button.
90 Premium Edition-VI

