Pictoblox: AI Object Identifier | Python Coding

Published: 30 August 2023
on channel: Ramesh
271
8

This is a program written in Python using Pictoblox to perform object detection in any images. The codes for this program are available as follows:


Square Box

sprite1 = Sprite('Square Box')
sprite2 = Sprite('Hazel')

import time

obj = ObjectDetection()
pen = Pen()

pen.clear()
obj.setthreshold("0.4")

obj.analysestage()
obj.disablebox()

while True:
sprite2.say("There are " + str(obj.count()) + " objects detected" + " in this picture", 2)
for i in range(1, obj.count()+1):
sprite1.setx(obj.x(i))
sprite1.sety(obj.y(i))
sprite1.setsize(obj.width(i))
sprite1.say(str(i) + ". " + obj.classname(i))
pen.stamp()
time.sleep(1)
pen.clear()
time.sleep(3)



Stage

No Codes Here !!!



Hazel


No Codes Here !!!


#STEMpedia #stemeducation #stem #fyp #Globalgoals #Innovation #inovationaward2023 #india #usa #tech #technology #objectdetection #python #images #pictoblox #sprite #detector #usgs #bgs #bgs2022 #projects #viral #malaysia #youtubeshorts #youtube #programming #ai #informationtechnology #machinelearning #uk #sprite #scratch #blockcoding #artificialintelligence


On this page of the site you can watch the video online Pictoblox: AI Object Identifier | Python Coding with a duration of hours minute second in good quality, which was uploaded by the user Ramesh 30 August 2023, share the link with friends and acquaintances, this video has already been watched 271 times on youtube and it was liked by 8 viewers. Enjoy your viewing!