►► You can Build a Computer Vision software to DETECT and TRACK any Object. → 4-Step FREE Workshop pysource.com/blueprint-workshop-signup/
@lyovmyshkin7561
4 жыл бұрын
Your content is very high quality, it will be no time until your channel gets very very successful.
@pcbworks
4 жыл бұрын
Great ! This is what I've been working on as an undergraduate. Thanks for sharing !
@zedespook
3 жыл бұрын
Thank you for this amazing tutorial. I know I'm a year late, but I guess knowledge is never outdated, even if the information is. I encountered the "ValueError" while following your tutorial, but you just have to remove the "_" variable at the START of the line, that's all. I loved your video, and amazed by the simplicity of the code, and the complexity of the result.
@JuusoKolehmainen
4 жыл бұрын
I'm in the works of building myself an conveyor belt for my fiber laser and i was thinking of doing something silly like marking the nuts with our hacklab logo via this system. Information was very well put out and will be definitely bookmarked thank you :)
@haydenpulchinski4836
8 ай бұрын
Amazing, this was exactly what I needed. I appreciate your upload!
@Loperas2012
2 жыл бұрын
Really impressive and straightforward instructions!! You win one more follower ;-)
@deepanjan1234
3 жыл бұрын
This is really a great tutorial. Can we do something on cumulative counting of the number of small and big nuts on the belt real time ? Many thanks for all of your videos.👍
@abineshanand4737
4 жыл бұрын
Good one, you could still make the roi at the end of the conveyor much smaller and adjust condition for the small nuts to fall without the conveyor being stopped seeing the larger nuts in the ROI. Anyways a good project.
@yahyakhaddam
4 жыл бұрын
Respect man ! You deserve 1m subscriber ..
@woosal-kc7tr
4 жыл бұрын
Interesting idea and project, thanks for the share!
@user-vw3zp9zt7t
3 жыл бұрын
That's exactly what I need, thank you!
@Omundodoarthur
4 жыл бұрын
Instead of an arm ele can use a diverter gate in the end of belt. Congratulations for project!
@simonkh7278
Жыл бұрын
thx! nice approach. Looking to use recognition for ewaste like pcb to udentify grade and components
@spideyyy4203
3 жыл бұрын
Very Helpful man ...... thankyou!!
@benyounesoukarfifstm8782
4 жыл бұрын
Thank sir four ur great idea. I really appreciate it. I hope you will post more projects like this one. 👍👍👍
@259klass9
4 жыл бұрын
Great project and very well explained Sir, even greater if it could count the different nuts
@agrivaruth9453
4 жыл бұрын
i very like all your tutorial and easy to learn from you. would you like to make tutorial about "measuring distance between two objects in real time use opencv and python". i really need that as soon as possible
@muruganbala9217
3 жыл бұрын
Very interesting demo....please please do such type of POC demo's....
@prashkd7684
Жыл бұрын
Wow. I have a box full of mixed nuts, bolt screws etc and would love to have something lke this to organise them property so I don't have to go through them all at the last minute.
@omaraissani6255
4 жыл бұрын
Great content, i've watched a lot of ur videos last days, let me correct for u a sentence that u seem to say a lot, you say: "a is equals to...", it should be either, "a is equal to" (without the s) or "a equals to".
@pysource-com
4 жыл бұрын
thank you, I wasn't aware of that, I've just noticed it now rewatching my video. I guess I pronunced it wrong so many times that it just came natural to me that way :)
@hannahlambdaa
4 жыл бұрын
@@pysource-com don't worry too much about it. It is the content we are after not the form. We all have automatic patches in our brains for these things:-) Great video, as always!! Thanks
@sermadreda399
2 жыл бұрын
Great video thank you for sharing
@OscarEduardoRendonsotelo
3 жыл бұрын
Fantastic 😳
@chamberselias1903
2 жыл бұрын
Year late but I’m not getting the rgb and x,y values on my output frame
@bolzanoitaly8360
2 жыл бұрын
Thanks for your amazing code and project, but you did not show us how to connect and configure the hardware? Thanks Please, respond with many thanks
@pysource-com
2 жыл бұрын
The main purpose of this video was to focus just on the computer vision aspect of the project. The hardware part is actually the simplest one, and there is some reference about it on the blog post (link below in the description). Mostly the python code is connected to a Relay that turns on/off the motor.
@bolzanoitaly8360
2 жыл бұрын
Ok, thanks, a lot, I have another issue with the Python Editor that you are using namely 'Thonny', my cv2 is not working, and giving me the error as below:- import cv2 ModuleNotFoundError: No module named 'cv2' Even, I have installed cv2 packages from Tools--> Manage Packages, Can you help me what to do, please? Thanks, in Advance. best regards Gul
@akshayjaryal8930
4 жыл бұрын
Thanks for this Informative tutorial.........Please post a tutorial of custom object detector using yolov4!
@luqmanharits1456
2 жыл бұрын
Realy nice
@user-lj3tx6nm1b
Жыл бұрын
how in frame x and y values are came to focus on belt
@maloukemallouke9735
4 жыл бұрын
Thank you so much for sharing, in this situation it easier to identify items because the background it's black color but how you can deal with the background changing color? Thank's.
@basitrizvi-kp8so
4 ай бұрын
can this code be used to detect rgb boxes on the conveyor?
@soumyashekhar7340
2 жыл бұрын
How to identify grooved metal and non grooved metal using ml?
@jayanthkumar8927
3 жыл бұрын
Hi, I wanted to identify some ten objects and segregate them into two categories. Ex: if the object is nut then the stepper motor (belt) should move clockwise, and if the object is bolt then the stepper motor should move anticlockwise, etc. So how do I program that?
@jayanthkumar8927
3 жыл бұрын
@Pysource Can you explain this part, or can you make another video for this.
@bigturbofan3642
2 жыл бұрын
@@jayanthkumar8927 you would need a machine learning model probably or you could decide based on the size
@Zumon_label
2 жыл бұрын
What if I want to detect object based on their color and shape? not only size?
@0007harshal
11 ай бұрын
Heloo sir can we built a counter system with digital outputs
@kkwang2019
4 жыл бұрын
nice tutorial
@juandavidbarrerol1510
4 жыл бұрын
great project
@photoelectrieffect
2 жыл бұрын
in line 17 Error This error ValueError: not enough values to unpack (expected 3, got 2) pls tell me
@muhammadsaahir2664
2 жыл бұрын
i am getting a none type error when using that system to zoom in on the conveyor belt, any fixes
@MEan0207
3 жыл бұрын
Thank you
@AKASHMANDAL2386
4 жыл бұрын
How to detect scratch/cut in black surface?
@photoelectrieffect
2 жыл бұрын
hi i cannot install conveyor_lib i try to import conveyor_lib in pychram (python3.6) but Error No module named 'conveyor_lib' can tell me about it
@putrajamal5120
Жыл бұрын
sir how to conect relay pin to rasberrypi?
@kamyakanara3912
10 ай бұрын
How did u connnecr ur laptop and convyer belt
@drewenia
3 жыл бұрын
Hello and thank you... How do you show the x and y coordinates on the screen? I have a raspberry device too Thanks for reply
@user-te3em5hr8w
3 жыл бұрын
How do I set the relay?
@kishorekumar7571
4 жыл бұрын
Sir how to measure a human body measurements using open cv ..help me sir
@dogukangok1565
4 жыл бұрын
Sir, how can we activate servo motors depends on detected object ?
@rog0079
4 жыл бұрын
great video !! can u do a video on unet or yolact custom instance segmentation, it wud be great if do make a tutorial video on it :D
@triponvlad7516
2 жыл бұрын
Hi. What kind of motor do you use? And can you tell me what kind of power supply do you use? Thanks a lot.
@dkibe6006
3 жыл бұрын
What if the objects are not in a straight line can it also count well?
@saikatmondal809
4 жыл бұрын
It is a very nice project. But how you created the conveyor_lib to control the relay. Can you please share the code of this library.
@mariammoufaddal5651
Жыл бұрын
Have you been able to figure out the conveyor_lib ?
@abubakarsaleem5167
Жыл бұрын
@@mariammoufaddal5651 conveyor_lib is used by a file_handling technique which is basically a name of python file which is used to link ResberryPi signals with "main.py" file.As u can see the "import conveyor_lib" in third line of "conveyor_lib.py" file in which they were calling "conveyor_lib" from the conveyor_lib.py file. These are basically two files "conveyor_lib.py" and "main.py" which u will get by registering to the blog of this tutorial which they have mentioned in the description.
@mariammoufaddal5651
Жыл бұрын
@@abubakarsaleem5167 thank you
@shivamvenkat
Жыл бұрын
I would like to get the system , can you provide a contact ?
@user-oq2fp6hx6q
7 ай бұрын
did you give private teaching?
@AsianTrackGamerYT
3 жыл бұрын
Which compiler you are using
@quyetbui4277
2 жыл бұрын
Thanks for this tutorials! Can you tell me how to find the "Conveyor_lib", pls ?
@pysource-com
2 жыл бұрын
That lib is provided by the servo hat you're using. It depends on the brand! I recommend to get the adafruit servo hat because is the most user friendly to implement
@ihsanaydemir6691
3 жыл бұрын
Thank you. Amazing tutorial. I have one questions. Does it matter which pins of the Raspberry pi board are connected to the relay?
@pysource-com
3 жыл бұрын
Yes it matters. There are specific pins to use for the servo motors. Personally I used a servo hat which made this process much simpler to install. I recommend to check servo hat for servo motors by adafruit
@andreasmarkussen
2 жыл бұрын
Great video - Where did you buy the conveyer belt from? We are building larger conveyors, but we would like some small conveyors for learning and testing.
@pysource-com
2 жыл бұрын
thanks. unfortunately this is not available for sale, it's a small steel conveyor made by a blacksmith
@bhaktigarje2651
2 жыл бұрын
Sir which software you have used for programming?
@gravityx6773
2 жыл бұрын
Conveyer belt how much?
@MrWebsie
2 жыл бұрын
I get an error "not enough values to unpack (expected 3, got 2) _, contours, _ = cv2.findContours(threshold, cv2.RETR_EXTERNAL, cv2.CHAIN_APPROX_SIMPLE) is the referenced line. I'm pretty sure that i've went through it exactly as you have, does anyone have a solution?
@121horaa
Жыл бұрын
just use contours, _ = cv2.findContours(threshold, cv2.RETR_EXTERNAL, cv2.CHAIN_APPROX_SIMPLE) you wont get the error
@elvenkim
Жыл бұрын
@@121horaa thanks
@jorgecalderon3981
3 жыл бұрын
Great! One question, what's the camera do you use? or which camera do you recommend for image processing where is used more velocity?
@pysource-com
3 жыл бұрын
I used a simple webcam, the logitech c922pro. For high velocity is recommended to use industrial cameras with high FPS, and definitely faster devices than the raspberry pi
@prateekgupta3666
4 жыл бұрын
can it detect object on fast moving conyeyor say 5m/sec
@pysource-com
4 жыл бұрын
Yes, with a more powerful device than the raspberry pi you can achieve that results. But it depends also on how you want to detect them and if artificial intelligence needs to be involved
@vikrantpatil8478
3 жыл бұрын
_, contours, _ = cv2.findContours(threshold, cv2.RETR_EXTERNAL, cv2.CHAIN_APPROX_SIMPLE) ValueError: not enough values to unpack (expected 3, got 2) [ WARN:0] global C:\Users unneradmin\AppData\Local\Temp\pip-req-build-1i5nllza\opencv\modules\videoio\src\cap_msmf.cpp (438) `anonymous-namespace'::SourceReaderCB::~SourceReaderCB terminating async callback I got this type of error 🤷♂️
@thaniaansaliputriprasetio4421
2 жыл бұрын
i was got the same error, but its solved with this code contours,hierachy = cv2. findContours(threshold, cv2.RETR_EXTERNAL, cv2.CHAIN_APPROX_SIMPLE)
@tomplieninger8941
4 жыл бұрын
Hey, I have a short question on the Tetris series. I know you probably get asked this a lot, but is this series still running or did you stop Programming further? I hope for a quick respond :D
@pysource-com
4 жыл бұрын
Hi, unfortunately I decided to suspend the series because It is going to take too long to complete it, instead I'm focusing on other projects for the videos.
@pablomacho1176
4 жыл бұрын
Nice video! But if you want to remove the noise, what method do you recommend? cv2.morphologyEx, cv2.dilate(), cv2.blur()...? Thanks!
@pysource-com
4 жыл бұрын
Hi Pablo, I suggest to use cv2.GaussianBlur() as first step. Gaussianblur is better than just blur because it remove noise without removing details of the object, while the cv2.blur is less precise. Then cv2.erode(). and you're good to go.
@pablomacho1176
4 жыл бұрын
@@pysource-com Thank you so much!
@shivanibhardwaj8137
4 жыл бұрын
Sir , thanks for sharing I have one doubt that suppose it's not coin and some cuboid and it's orientation plays an important role will this model be reliable in finding degree of deflection frm original orientation ?
@pysource-com
4 жыл бұрын
Considering in this project we compare the nuts by their size, probably in your case it won't be the best approach. You should find a way to distinguish them. For example, if you have cuboid objects and they need to be all with the same orientation, parallel to the belt, you could check the coordinates of each single object and compare it with the borders of the belt, if they're parallel or not.
@shivanibhardwaj8137
4 жыл бұрын
Thanks a lot for your reply !!:)
@nareshkumargopi5117
4 жыл бұрын
Nice video sir, i have one doubt image processing has to be done over continous period, Does raspberry pi is reliable for such long time work and also for how many hours it can be used in projects like this?
@pysource-com
4 жыл бұрын
Yes it's reliable, it's just important to add the heatsinks so it doesn't get too hot and you can leave it always on.
@nareshkumargopi5117
4 жыл бұрын
@@pysource-com okay sir tq so much. If u post videos like measuring dimentions of a part and detecting cracks in future it will be very useful.
@thaniaansaliputriprasetio4421
2 жыл бұрын
Do we need tensorflow in this project?
@pysource-com
2 жыл бұрын
Nope, this one is basic opencv with python. For more complex detection you would need deep learning (whether with tensorflow, pytorch or other frameworks)
@thaniaansaliputriprasetio4421
2 жыл бұрын
@@pysource-com okay thanks, but once again, what type measurement on this program? like mm, cm or else?
@juansebastianarrecheazapat5169
4 жыл бұрын
Good, great work and very good content. I am a student and I have a problem when I execute the code. , contours, _ = cv2.findContours (thershold, cv2.RETR_EXTERNAL, cv2.CHAIN_APPROX_SIMPLE) ValueError: need more than 2 values to unpack? Because this appears to me. Thank you
@ehel
4 жыл бұрын
I got the same error message. Did you solve it?
@ehel
4 жыл бұрын
replace the line contours line withe this line and it should work. dont use under line comma at start contours, hierarchy = cv2.findContours(threshold, cv2.RETR_EXTERNAL, cv2.CHAIN_APPROX_SIMPLE)
@isabelavillacis7914
2 жыл бұрын
Nice video! Do you think we can replicate this using a raspberry zero?
@pysource-com
2 жыл бұрын
I haven't personally tried raspberry pi 0, so I can't guarantee it will work. If you're able to run Opencv thogh, most certainly it's going to work, as the detection is very light. I did this project on a raspberry pi 3 or 4 (i don't remember which one exactly)
@jshdjdjshs1409
2 жыл бұрын
سلام استاد لطفا پروژه ای درمورد سورتینگ رنگ ها از یکدیگر با opencv وماشین لرنینگ بسازید. اگرگرافیکی باشد خیلی عالی میشه. مثل سورتینگ حبوبات ویا سورت برنج
@duvvurujaswanth7410
4 жыл бұрын
Unmasking deep fakes using simple features can I get the Code for this using opencv and python
Пікірлер: 106