CL7 CH18 Computer-Vision P2
CL7 CH18 Computer-Vision P2
-2
Session 18
Computer Vision
2
Adding Up the Extension.
• The Object Detection extension in PictoBlox has blocks
dedicated for object detection.
• Let’s first add the extension in our project:
1. Create a new project in PictoBlox.
2. Select Quarky as your board from the Board tab in the
menu bar.
3. Next, click on the Add Extension button and add
Object Detection extension.
4. The Object detection models will be downloaded
which may take few seconds to load.
5. Once downloaded you will get a message saying
“Model loaded successfully”.
3
Upload the Backdrop
4
Upload the Backdrop
• First of all, we need an image from which we will be
detecting the objects, So we will add the sample image as
backdrop.
• Click on Choose a Backdrop button from bottom right
corner, then click Upload Backdrop and add sample image
as backdrop.
5
Locating Objects
Block Palette
when () clicked Events
get # of objects
analyse image from () Object
Detection
() of object ()
say ()
Looks
set size to () %
go to x: () y: () Motion
set () to ()
change () by () Variable
(Object) block
6
Application Of Computer Vision
• Self Driving Car: In the previous session we already had a look at self-driving
cars and how computer vision helps them navigate.
7
Application Of Computer Vision
• Food Industries: Computer vision is used to identify food items and segregate
the items using robots. Below is one example.
8
Application Of Computer Vision
• Agriculture: Computer vision is used in agriculture for identifying crop diseases
and crop production. E.g., in this image, Computer Vision is used to calculate
the grape production.