TRACKING OBJECT AND DETECT X,Y COORDINATE USING OPENCV WITH PYTHON
This code you can get it. Any problem please contact to me : (VN) 0327085425 by zalo app.
wish you success with your project.
import numpy as np
def drawBox(img, bbox):
x,y,w,h = int(bbox[0]),int(bbox[1]),int(bbox[2]),int(bbox[3])
(img,(x,y),((x w),(y h)),(0,0,255),3,1)
(img,“Tracking“, (50,80),,0.7,(0,255,0),1)
# show x,y coordinate:
(img,“X =“, (0,30),,0.7,(0,255,0),1)
(img,str(int(x)), (40,30),,0.7,(0,255,0),1)
(img,“Y =“, (100,30),,0.7,(0,255,0),1)
(img,str(int(y)), (140,30),,0.7,(0,255,0),1)
1 view
599
253
2 months ago 00:03:25 1
Amina & Dj Ramezz feat Andrey Bo “Everybody’s Free“ 2023
2 months ago 00:03:48 1
Andrey Bo & Dj Ramezz “Writing On The Wall “ 2023 (New Eurodance)
2 months ago 00:03:57 1
Dj Ramezz & Andrey Bo Feat Inna “Xummertime“ 2023
2 months ago 00:03:49 1
Dj Ramezz & Andrey Bo “No One Else“ 2023
2 months ago 00:03:48 1
Andrey Bo - I Miss You (Haddaway Cover)
2 months ago 00:28:24 3
Standard Precons - AVAILABLE NOW! | Standard Bats Deck Tech with PowrDrgn | MTG Arena
2 months ago 00:04:45 1
DAVID BOWIE - THE CURE A forest for Lazarus (acoustic) (DoM mashup, Minor Arth video)
2 months ago 00:04:06 1
Dj Ramezz & Inna Feat Andrey Bo “Xummertime“ 2024 (New Italo Disco)
2 months ago 00:02:28 1
Bo Burnham - 1985 (Lyrics)
2 months ago 00:06:01 1
Israel On Alert After Iran ‘Missile Hub’ Attack, Tehran Downplays Strike, Claims ‘Limited Damage’
2 months ago 00:15:31 1
How did they build the ISS? (International Space Station)
2 months ago 00:03:19 5
ACTORS: “Object of Desire“ OFFICIAL VIDEO #ARTOFFACT #postpunk #newwave