Measure the size of an object | with Opencv, Aruco marker and Python

  Рет қаралды 106,601

Pysource

Pysource

3 жыл бұрын

source code and files: pysource.com/2021/05/28/measu...
In this tutorial, we will see how to measure objects with OpenCV and python without the need for calibration but using only the Aruco Marker standard
➤ Full Video courses:
Object Detection: pysource.com/object-detection...
➤ Follow me on:
Instagram: / pysource7
LinkedIn: / pysource
➤ For business inquiries:
pysource.com/contact
#opencv #python #ArucoMarker

Пікірлер: 169
@pysource-com
@pysource-com 2 жыл бұрын
►► You can Build a Computer Vision software to DETECT and TRACK any Object. → 4-Step FREE Workshop pysource.com/blueprint-workshop-signup/
@derekburm
@derekburm 2 жыл бұрын
Excellent video! I'm working on measuring crystal deposits over time, and it looks like I'll only have to tweak a few things to get it working for my purpose! Thank you so much for doing this. You've likely saved me days of reading, coding, and testing!
@basemhiwari3373
@basemhiwari3373 2 жыл бұрын
Professional programming, simple way while explaining code, thanks a lot man
@AnkitKumar-dg4hs
@AnkitKumar-dg4hs 3 жыл бұрын
I was looking for this for months haha! Thanks man
@dorukalpuzunarslan6369
@dorukalpuzunarslan6369 3 жыл бұрын
Nice Project. Thanks for video!
@michelematsuo8996
@michelematsuo8996 2 жыл бұрын
Thank you for the great tutorial!
@user-hi9yo4dt3r
@user-hi9yo4dt3r 5 ай бұрын
Hello from Ukraine! Thank you very much for your lesson and your job!
@itsamelara
@itsamelara 2 жыл бұрын
Nice tutorial, I work with java insted of python but it gave me great insight on what to do. Thanks a lot man!
@suyashsrivastava8557
@suyashsrivastava8557 11 ай бұрын
Hello Can you tell me how u did it with java
@annapurnasahoo6465
@annapurnasahoo6465 2 жыл бұрын
Thank you so much. can you suggest how to estimate altitude height, angular velocity, and distance of an any object in space and also shape and dimension debris of an orbit using Aruco marker and OpenCV python taking stereo vision camera image?
@brentsimpson3791
@brentsimpson3791 2 жыл бұрын
Mate! Love your work. Understand you're very busy man, but working on a project that needs to track a moving rectangular object (moving towards and away). Surroundings will be moving. Some C programming experience. Have 400+ images of the object which I've run through Labelimg. Not sure what to use OpenCV or Tensorflow to develop further??? Was hoping to run on a small processor if possible. any thoughts??
@zuhdizahir7939
@zuhdizahir7939 2 жыл бұрын
love your tutorial, how do I get the aruco marker, it must be present in every objects that I want to measure right?
@canozmen2233
@canozmen2233 Жыл бұрын
Hello sir, do you remember which Python version did you use in this video? I am having serious trouble with installing "opencv-contrib-python" and importing "cv2". Could you please help me? Also it would be perfect that you make a video about installing python, pycharm, etc. and integrating them. Thanks in advance!
@cvicracer
@cvicracer 3 жыл бұрын
Great work thank you
@Elnasir
@Elnasir Жыл бұрын
Hi @Pysource. Does your camera have a depth sensor? Can we use any type of camera to capture the dimensions? Thank you in advance
@jeramiahweed9707
@jeramiahweed9707 Жыл бұрын
Would it be possible to take the shape outline of the object and turn it into a correctly scaled vectored image?
@mikilmku1554
@mikilmku1554 2 жыл бұрын
It works with objects that aren't square or rectangle?, like circles for example.
@mohamedfarid7499
@mohamedfarid7499 2 жыл бұрын
great information thank you very much
@roysonlobo
@roysonlobo 2 жыл бұрын
Great tutorial! I want to store the data once I exit the program, how can I do that?
@ganapathisubramanyamjayam
@ganapathisubramanyamjayam 2 жыл бұрын
the video was dope! could you guys can make a video on image enhancing using super gans?
@praprotnikm
@praprotnikm Жыл бұрын
Really usefull video. I have some problems with aruco library. I think they put it out from cv librarry?
@saeedalikhan7128
@saeedalikhan7128 2 жыл бұрын
very nice video and good information
@Haybubay
@Haybubay 2 жыл бұрын
Great Tutorial. I noticed there is a change in the pixel size of the aruco marker after you draw a polygon around the marker (line 21 ) before drawing the drawing the rectangles (line 51). Also played around with the code and noticed that change varies depending on the thickness of the line used to draw the aruco_polygon in line 21 of your script. I think what's happening is the object detection rectangles are now finding contours around the outermost border of the aruco_polygon from line 21. Please advice what is the best way to go about this.
@okaytree7711
@okaytree7711 4 ай бұрын
Did u ever figure it out lol...he never responded :(
@elektroprogramming2595
@elektroprogramming2595 Жыл бұрын
why you set value 20 in pixel_cm_ratio = aruco_perimeter / 20 ? based on range between the camera and object?
@user-sc6lo4kt8s
@user-sc6lo4kt8s 2 жыл бұрын
Nice tutorial!
@4ia07_muhammadrizkiirvansy8
@4ia07_muhammadrizkiirvansy8 Жыл бұрын
what method or algorithm do u use in this project ?
@lushankshambharkar124
@lushankshambharkar124 2 жыл бұрын
hello , Can you make videos related to real time angle measurements. thank you
@bagasarioseto9041
@bagasarioseto9041 Жыл бұрын
what are the packages, library, extention, or something that must be download before running the program? cause I've running this this program but isn't working
@Aynold
@Aynold 2 жыл бұрын
Hello, I have this situation, the image output by imshow is still not the size of the original image
@riyazbagban9190
@riyazbagban9190 Жыл бұрын
sir i have doubt in static image like only mobile, if we detect mobile and put boundary box, can we change the size of mobile after detected thank you
@MiguelRodriguez-wn8mc
@MiguelRodriguez-wn8mc Жыл бұрын
Hello, it's very nice. Your development seems to work very well with square and rectangular objects. Now, what happens if the object doesn't have that shape? For example, a wood shaving, a small piece of paper cut by hand, some shapeless pieces of plastic.
@kamikkiyapalanisamy3674
@kamikkiyapalanisamy3674 2 жыл бұрын
Great Tutorial
@MrStickyIggy
@MrStickyIggy Жыл бұрын
Is a certain color of background required for this to work properly? I'm having mixed results on various colors of background...
@jcbritobr
@jcbritobr 2 жыл бұрын
Very nice content.
@MegaCyberpirate
@MegaCyberpirate Жыл бұрын
what kind of books you recommend for new comer in this field?
@pakurwainternational9406
@pakurwainternational9406 2 жыл бұрын
is there an aruco dictionary for circular objects. I want to measure the diameter of an object. So i wanted to utilize the aruco dictionary is it possible
@riubotin
@riubotin 2 жыл бұрын
Thanks For This Video..
@keithschaub7863
@keithschaub7863 3 жыл бұрын
great work
@gsunil3697
@gsunil3697 2 жыл бұрын
Bro,i am working on a project ,where we are going to detect and classify vehicles from cctv footage.i got a problem in classify vehicles can you plz help me...
@fobaogunkeye3551
@fobaogunkeye3551 Жыл бұрын
Great tutorial! Quick question: Does this mean that if I have a custom dataset of images with objects I want to measure the size of, I have to ensure that when the images were captured, the aruco marker was equally captured with the other objects so it can serve as the reference point for the pixel to cm ratio? If yes, then won't this be a limitation in cases where you can't afford to capture the aruco marker with the actual objects you want to measure? Looking forward to your response.
@ferf7446
@ferf7446 Жыл бұрын
i want to know this too
@jet_lee5041
@jet_lee5041 Жыл бұрын
Could you send me link to download aruco marker you use in this video?
@anomnurrachman5174
@anomnurrachman5174 2 жыл бұрын
if i want to use different aruco, what should i do?
@deependrasingh8129
@deependrasingh8129 Жыл бұрын
Excellent video sir, but i want to know to dump this code for android studio app development
@wolfie8748
@wolfie8748 Ай бұрын
can we do this with 3D measurement?
@bronsonalex48
@bronsonalex48 Жыл бұрын
why sometimes the frame turns black randomly? Im using logitech USB webcam on win7
@anandakumara1096
@anandakumara1096 Жыл бұрын
is the size of aruko marker in the sheet is exactly 5X5 Cm ?
@mileremiliopachecoanceno8028
@mileremiliopachecoanceno8028 2 жыл бұрын
porq no dectecta con la camara ni mide hago es mismo codigo no me detecta el objeto estoy usando la camara web de mi lapto sera q no me funciona por eso
@PanDaBoMa
@PanDaBoMa 6 ай бұрын
if I want to calculate how many degrees an object will be rotated from its starting position how This can be done?
@granatapfel6661
@granatapfel6661 9 ай бұрын
Must the size of the object be known before the detection?
@MuhammadAli-mi5gg
@MuhammadAli-mi5gg 3 жыл бұрын
Hi, thanks for such a great video. I am working on a project, where I have to classify the fish in a given image, and also predict the estimated size. The first part is done, but I am quite stuck on the second part, as there is no fixed background or perspective, so please hep me out with the approach of the second part. Thanks....
@oumaymabourass4829
@oumaymabourass4829 2 жыл бұрын
I need to contact you please
@amortalbeing
@amortalbeing 2 жыл бұрын
the second part is a regression problem , use a cnn and you should be fine.
@DuongNguyen-yy7yh
@DuongNguyen-yy7yh Жыл бұрын
Excuse me, How can I get object_detector library?
@revuriakhil3148
@revuriakhil3148 8 ай бұрын
'HomogeneousBgDetector' is not defined and getting error
@omerfarukpaker7551
@omerfarukpaker7551 Жыл бұрын
thanks a lot!
@shailendra8823
@shailendra8823 Жыл бұрын
please tell me how to download object detector.py i am facing problem
@ansonyap1860
@ansonyap1860 9 ай бұрын
thank you
@JuuliaMachado
@JuuliaMachado Жыл бұрын
Hi, I was doing everything right butr my "corners, _, _" are returning an enpty [ ]. Cna u help me?
@shivamdubey4783
@shivamdubey4783 2 жыл бұрын
where to download object detector file
@shaurybaranwal5414
@shaurybaranwal5414 3 жыл бұрын
Nice video. Have a question . Since the aruco marker is a square, length and width should be same. But for the detected aruco marker, there will be cases where length and width are not equal ( like if we take image from an angle rather than 90% from the surface of objects). How can we use this information to correct the dimensions of other objects, in case of distortions?
@pysource-com
@pysource-com 3 жыл бұрын
This example right here will only work when the angle is exactly 90%. For different angles, the project will become more complex and it would require some perspective transformation, or a greater understanding about objects position on a 3 dimensional space. I might do something about that in the future.
@sleybanks8663
@sleybanks8663 2 жыл бұрын
@@pysource-com i would be interested in that too.
@takehtakeh9129
@takehtakeh9129 Жыл бұрын
thanks alot
@thilak8595
@thilak8595 2 жыл бұрын
Getting error while running HomogeneousBgdetector() Error: HomogeneousBgdetector() is not defined Can't find HomogeneousBgdetector() any were like git, stack over flow help please.
@baranakbay1594
@baranakbay1594 2 жыл бұрын
Hi , i didn't find the source file, can you help me?
@muhammadnajamulislam2823
@muhammadnajamulislam2823 2 жыл бұрын
wao very nice
@YazeedAlkosai
@YazeedAlkosai 2 жыл бұрын
thanks for your fruitful video, could I get this code to implement in my project thanks in advance
@pysource-com
@pysource-com 2 жыл бұрын
the code is free to download. Just go on the link below the video and you'll find the article with source code
@kvenkat6650
@kvenkat6650 2 жыл бұрын
instead of aruco marker, can we use any other reference object entity like coin ,metal strip or any other height and width known thing.
@pysource-com
@pysource-com 2 жыл бұрын
Yes, absolutely you can do it with any object of known sizes
@heikoenzinger
@heikoenzinger 3 ай бұрын
How accurate could this get in theory ? If have parts ranging from 20mm to 200mm can it detect size with accuracy of 0.1mm or 0.2mm ? What kind of camera/resolution would needed ?
@jet_lee5041
@jet_lee5041 Жыл бұрын
Excellent tutorial. Could you tell me what software's name you are using to program python?
@pysource-com
@pysource-com Жыл бұрын
I'm using pycharm
@jet_lee5041
@jet_lee5041 Жыл бұрын
@@pysource-com Thanks a lot
@riubotin
@riubotin 2 жыл бұрын
Please Help Me Sir! I just want ask, if I have several object with different size & weight. can I convert the size of bounding box to weight? for example : 12.4 Cm x 5.9 Cm = 1KG. or something like this. " if width 12cm to 13cm and height 5cm to 6cm, print (1KG).. Thanks.
@sarahnawoya498
@sarahnawoya498 Жыл бұрын
@pysource help with this answer please
@siddhantpanjikar5541
@siddhantpanjikar5541 2 жыл бұрын
Great Video Sir, Thank You 🙏 Sir I want to know which IDE software ur using, I tried on atom ide but real time image processing was not working. Can u help me out of this. 🙏🙏
@pysource-com
@pysource-com 2 жыл бұрын
I use pycharm. I recommend this one because is very user friendly
@siddhantpanjikar5541
@siddhantpanjikar5541 2 жыл бұрын
Thank you sir, but can it work on atom (real time image processing part)
@thenerdycoder07
@thenerdycoder07 2 жыл бұрын
@@pysource-com can we measure height and width of a t-shirt ?? Cloths
@pysource-com
@pysource-com 2 жыл бұрын
@@siddhantpanjikar5541 Yes it can work. the IDE you're using doesn't really matter.
@pysource-com
@pysource-com 2 жыл бұрын
@@thenerdycoder07 Yes, you would need to implement the code for t-shirt detection and than (either with a depth camera) or if you know the exact distance of the person from the camera, you can calculate the size
@ameyashetty1441
@ameyashetty1441 2 жыл бұрын
hello sir i wanted to ask you do you need a special phone /camera for this to work cuz i have a pretty potato phone
@pysource-com
@pysource-com 2 жыл бұрын
not really, any webcam will work with it
@ameyashetty1441
@ameyashetty1441 2 жыл бұрын
@@pysource-com will a mobile phoen work if so how do i connect it
@shivashamugam9228
@shivashamugam9228 2 жыл бұрын
Is there a way to measure size of the object without having the Aruco marker in the frame? As in after calculating the pixel per Cm ratio, can we use this value only to compute the size of the object, without having the Aruco marker always in the image? Thanks so much!
@pysource-com
@pysource-com 2 жыл бұрын
YOu always need a reference point to calculate the size. An alternative would be to use a Depth camera, so that you know how far the object is from the camera and calibrate that to measure the size. you can check my other video about intel realsense camera
@shivashamugam9228
@shivashamugam9228 2 жыл бұрын
@@pysource-com thanks so much! Love your tutorials 👍
@ricardozurielfloressantama3614
@ricardozurielfloressantama3614 Жыл бұрын
Hi how are things ! Excellent video, sorry I have a question when adding "parameters = cv2.aruco.DetectParameters_create() aruco_dict = cv2.aruco.Dictionary_get(cv2.aruco.DICT_5X5_50)" I get an error: ttributeError: module 'cv2.aruco' has no attribute 'DetectParameters_create' could you guide me with this question?
@sarahnawoya498
@sarahnawoya498 Жыл бұрын
same question here
@JuuliaMachado
@JuuliaMachado Жыл бұрын
@@sarahnawoya498 The lib has changed. Dictionar_get() = getPredefinedDictionary() and DetectParameters_create() = DetectorParameters()
@priyanshjoshi7308
@priyanshjoshi7308 Жыл бұрын
@@JuuliaMachado AttributeError: module 'cv2' has no attribute 'aruco' , after replacing the names - still get this error
@victorescribano5719
@victorescribano5719 2 жыл бұрын
Is posible to make a distance ratio to estimate depth?
@pysource-com
@pysource-com 2 жыл бұрын
Yes, that's absolutely a good idea. It needs to be calibrated with the specific camera used, as each camera has a different angle.
@danishbaig5060
@danishbaig5060 2 жыл бұрын
My width is coming +6mm... What should i do??
@i_ashwanisingh
@i_ashwanisingh 2 жыл бұрын
What if object in t shape?
@user-uc2gc5es1p
@user-uc2gc5es1p Жыл бұрын
سلام استاد لطفا درمورد مختصات وعملیات در روی حرکت اشیا که دریک ریل نواری که دوربین فرم به فرم را ثبت میکند را اموزش دهید لطفا
@karthikkk5304
@karthikkk5304 2 жыл бұрын
Hi ,thanks for video ! can me take measurements of a human body !
@abu8422
@abu8422 2 жыл бұрын
opencv how to find the object center point and the faethest distance from the center point
@danyangli8346
@danyangli8346 2 жыл бұрын
Can you please share the github link?
@popularlong
@popularlong Жыл бұрын
try some white objs😄
@keithschaub7863
@keithschaub7863 3 жыл бұрын
Excellent, was looking for something like this, but, how to deal WHEN the camera IS NOT POINTING STRAIGHT DOWN in a plane??????? So, the square will be "warped"????????????????????????????????????????
@pysource-com
@pysource-com 3 жыл бұрын
This example right here will only work when the angle is exactly 90%. For different angles, the project will become more complex and it would require some perspective transformation, or a greater understanding about objects position on a 3 dimensional space. I might do something about that in the future.
@keithschaub7863
@keithschaub7863 3 жыл бұрын
@@pysource-com Thanks so much for reply! Yes, my team has designed a robot arm that automatically detects and picks up objects. The camera is ON THE ROBOT gripper, so yes, the first thing we need to do is to calibrate. Because we want to make this a low cost consumer product, 'good enough' is our mantra. Since we can rotate the gripper arm "until it's 90 degrees", we just need the definition of what is 90 degrees. I think we could easily check the length of the sides of your 5x5 square until all sides are approximately equal and that would be 'good enough'. But, if you have another/better suggestion???????? :) [ to be clear, we don't think we need to do transformations, rather, let the algorithm rotate the camera until w=h, and that should be very close to 90]
@pysource-com
@pysource-com 3 жыл бұрын
There would be different approaches possible. Some ideas are: - the aruco gives you the perspective (so it can tell you the angle to rotate the arm until your reach 90°) - you can calculate the size with different angle, by using the aruco to give you the perspective and understand the objects on the 3d space - you can use a depth camera and you won't need even the aruco marker, but you can use the information from the camera for this
@keithschaub7863
@keithschaub7863 3 жыл бұрын
@@pysource-com These are great ideas. Good to know that aruco can do this, will give it a try and let you know how it goes! Thanks again.
@keithschaub7863
@keithschaub7863 3 жыл бұрын
when I get to 23:58, the line aruco_dict = cv2.aruco.Dictionary_get(....) gives me the error: aruco_dict = cv2.aruco.Dictionary_get(....)AttributeError: module 'cv2.aruco' has no attribute 'DICT_5x5_50'. and yes I did do the pip install for open-cv-contrib, and i'm running python 3.7.3...?
@abcd11716
@abcd11716 2 жыл бұрын
We can make lengths and widths. So how can we make weights (kilograms)? How do we apply the weight of an object we entered earlier to other objects?
@Adii..740
@Adii..740 2 жыл бұрын
same question ?
@abcd11716
@abcd11716 2 жыл бұрын
@@Adii..740 yes. How to estimate weight with opencv cnn? I couldn't find it anywhere. Object information is known (Dimensions and weight). With what code can I make the weight of the object from the images?
@ocreanbreeze9650
@ocreanbreeze9650 2 жыл бұрын
@@abcd11716 Were you able to figure this out. I am also doing something similar except I am trying to work with people.
@abcd11716
@abcd11716 2 жыл бұрын
@@ocreanbreeze9650 Unfortunately I couldn't solve it. Nobody can. I have 3 months left. But I just can't.
@roysonlobo
@roysonlobo 2 жыл бұрын
@@abcd11716 Any updates? Did you manage to do it?
@050zaher
@050zaher Жыл бұрын
Update : the code has changed if you try to run this code, you must change lines of CV2 to be
@jappiemoto
@jappiemoto 2 ай бұрын
Am i the only one having problems with cv2 ad aruco. Every time it says it doesn't have this function or that function it looks like the open cv library has just deleted the whole aruco systems.
@mati.fernandez
@mati.fernandez 2 жыл бұрын
Someone takes his FULL COMPUTER VISION COURSE?
@vishwasvishu1895
@vishwasvishu1895 2 жыл бұрын
Anyone pls do help me With this code can measure area of circles?
@AQhannan
@AQhannan Жыл бұрын
I have used your code already it was helpful But now I am getting this error module 'cv2.aruco' has no attribute 'DetectorParameters_create' I have tried to uninstall and re-install Opencv-contrib, but error still persists. any idea ?
@bibekchaulagain8171
@bibekchaulagain8171 Жыл бұрын
After installing an older version of opencv-contrib-python from the new version it worked Run: pip install opencv-contrib-python==4.6.0.66
@sampathdhanushka1600
@sampathdhanushka1600 2 жыл бұрын
pip install aruco is not working. How can I install aruco library
@keithschaub7863
@keithschaub7863 2 жыл бұрын
you have to put a fan on the PI, or it will over heat during the recompile
@bagasarioseto9041
@bagasarioseto9041 Жыл бұрын
in parameters = cv2.aruco.DetectorParameters_create() AttributeError: module 'cv2' has no attribute 'aruco' what's wrong?
@trungchieunguyen1824
@trungchieunguyen1824 Жыл бұрын
u install in cmd: pip install opencv-contrib-python==4.6.0.66
@kadaliakshay6770
@kadaliakshay6770 2 жыл бұрын
i am getting an error as cv2 has no attribute as aruco (line 6)
@pysource-com
@pysource-com 2 жыл бұрын
Make sure you have the latest version and it's installed with opencv contrib library. this is the command to run on CMD: pip install --upgrade opencv-contrib-python
@shubhammali2072
@shubhammali2072 2 жыл бұрын
is it possible to find the actual size without Aruco or save Aruco information?
@pysource-com
@pysource-com 2 жыл бұрын
It's not possible, you always need a reference point. You might get that as well with a depth camera, so you won't need aruco in that case
@anomnurrachman5174
@anomnurrachman5174 2 жыл бұрын
@@pysource-com how does it work if i know the distance from the camera to the object?
@keithschaub7863
@keithschaub7863 2 жыл бұрын
after 3 days of fighting rPI, finally got pip install opencv-contrib-python to install. parameters = cv2.aruco.DetectorParameters_create() is working now. However, aruco_dict=cv2.aruco.Dictionary_get(cv2.aruco.DICT_5x5_50) throws an error: "AttributeError: module 'cv2.aruco' has no attribute 'DICT_5x5_50'". Any hint as to why?
@pysource-com
@pysource-com 2 жыл бұрын
probably you're installing an old version of Opencv. Make sure it's one of the latest versions, like 4.5.1 or greater.
@keithschaub7863
@keithschaub7863 2 жыл бұрын
@@pysource-com pip freeze = opencv-contrib-python==4.5.2.52, and cv2.__version__ = 4.5.2
@keithschaub7863
@keithschaub7863 2 жыл бұрын
if I enter print(aruco.Dictionary_get(1) or print(aruco.Dictionary_get(2), etc., it returns ,aruco_Dictionary 0x6b21eb10> and aruco_Dictionary 0x6b21eab0 respectively, so it executes the function, it just doesn't like the 'DICT_5x5_50 parameter like in your video.
@keithschaub7863
@keithschaub7863 2 жыл бұрын
@@pysource-com No idea why, but I had to code it this way aruco_dict = cv2.aruco.Dictionary_get(5), and I now get the same corner values you do at 26:58
@keithschaub7863
@keithschaub7863 2 жыл бұрын
well, I'm so stupid sometimes: the 'x' wasn't capitalized and need to be: DICT_5X5_50 not DICT_5x5_50
@user-tn1ry3ox7e
@user-tn1ry3ox7e 5 ай бұрын
I can not get the source code and files, it says Unexpected ajax error. Please check the console log to get more details.
@pysource-com
@pysource-com 5 ай бұрын
HI, we are currently working on updating the website. everything will be restored and working within a few days
@muhammadraza9674
@muhammadraza9674 2 жыл бұрын
download link is not working ...! I tried but not get Email yet
@pysource-com
@pysource-com 2 жыл бұрын
wait a few minutes and check spam folder.
@sametokay4318
@sametokay4318 Жыл бұрын
hello, i had a question, how can i install object_director? or how can i install it?
@themachinehead7682
@themachinehead7682 2 жыл бұрын
What if the reference object is not at the same plane?
@pysource-com
@pysource-com 2 жыл бұрын
In that case this method won't work well. To measure objects which are on different plane would be necessary a depth camera
@crecker1850
@crecker1850 Жыл бұрын
download and import my file link in description below... its not in the description
@hamed334
@hamed334 Жыл бұрын
How can we make this even more accurate ?
@pysource-com
@pysource-com Жыл бұрын
by using a depth camera instead of an aruco marker for the reference point, and by using some segmentation algorithm, like Mask R-CNN
@candrawibowo4495
@candrawibowo4495 2 жыл бұрын
Can I implement this project on a raspberry pi ?
@pysource-com
@pysource-com 2 жыл бұрын
Yes, this will work on a raspberry pi
@shailendra8823
@shailendra8823 Жыл бұрын
how to download object_detector
@shailendra8823
@shailendra8823 Жыл бұрын
then start the program , everyone is not expert sir
@pysource-com
@pysource-com Жыл бұрын
source code is available to download here: pysource.com/2021/05/28/measure-size-of-an-object-with-opencv-aruco-marker-and-python/
@Aari0masdi
@Aari0masdi Жыл бұрын
You are a fucking genius
@grissee
@grissee Жыл бұрын
1:50
Glow Stick Secret 😱 #shorts
00:37
Mr DegrEE
Рет қаралды 119 МЛН
Balloon Pop Racing Is INTENSE!!!
01:00
A4
Рет қаралды 15 МЛН
Which one will take more 😉
00:27
Polar
Рет қаралды 78 МЛН
Can You Draw The PERFECT Circle?
00:57
Stokes Twins
Рет қаралды 51 МЛН
Object Tracking from scratch with OpenCV and Python
1:00:13
Pysource
Рет қаралды 228 М.
32 - Grain size analysis in Python using a microscope image
41:09
DigitalSreeni
Рет қаралды 34 М.
NEW GPT-4o: My Mind is Blown.
6:28
Joshua Chang
Рет қаралды 218 М.
Object Detection in 10 minutes with YOLOv5 & Python!
10:45
Rob Mulla
Рет қаралды 210 М.
How to Detect Shapes with OpenCV [Python]
7:52
CreepyD
Рет қаралды 20 М.
INSANE OpenAI News: GPT-4o and your own AI partner
28:48
AI Search
Рет қаралды 152 М.
Airpods’un Gizli Özelliği mi var?
0:14
Safak Novruz
Рет қаралды 2,8 МЛН
Самый маленький Iphone в мире!📱(@ghoul.arena)
0:22
Взрывная История
Рет қаралды 485 М.
Вы поможете украсть ваш iPhone
0:56
Romancev768
Рет қаралды 476 М.