Face Recognition With Raspberry Pi + OpenCV + Python

  Рет қаралды 200,320

Core Electronics

Core Electronics

Күн бұрын

Пікірлер
@Core-Electronics
@Core-Electronics Ай бұрын
We have an updated guide for this video: kzbin.info/www/bejne/aYW4nX2oh6-Im68 It runs a bit better and has a more streamlined and simplified setup process.
@wierzba1992
@wierzba1992 2 жыл бұрын
Cool stuff, this was my disertation project! Face Recognition with Pan & Tilt tracking using two servo motors! :D Tip: use traditional machine learning like Histogram of Orianted Gradient or Haarcascade instead of Deep Neural Nets because they are soooo much faster! Also a good thing to look at is a PID controller. Cheers!
@Core-Electronics
@Core-Electronics 2 жыл бұрын
What a brilliant dissertation project 😊 here is how I tackled doing Face Tracking with a Pan-Tilt HAT system - kzbin.info/www/bejne/ipCbamWJgLuBnJY PID Control is definitely a worthy pursuit however as we are pushing the hardware to its full capacity there seems to be one that naturally occurs.
@stevenhillman6376
@stevenhillman6376 Жыл бұрын
Awesome , great tutorial. I now have this running on my Pi4, MacBookAir and iMac.. Easy to follow and all links etc. provided. Thanks again. 10/10
@keshavkumarray5460
@keshavkumarray5460 9 ай бұрын
Hi Steve and Tim, I have installed the OS Pi Buster as you guided but in my PI File I didn't get 'Facial_Recognition' folder. Thanks in advance for suggestions
@112Famine
@112Famine Жыл бұрын
People that live outside of the city need a version of this that can detect wildlife; bears, cougars, & alligators so they know if it is safe to open their door, doubly true if they have small kids or dogs that want to play in the yard & not be eaten.
@iankantian
@iankantian Жыл бұрын
My robot projects are about to get WAAAAAAAAAAAAY creepier. I love it.
@Core-Electronics
@Core-Electronics Жыл бұрын
Have fun and use your new found computer superpowers for good 😊
@dgb5820
@dgb5820 3 жыл бұрын
That was one of the best information instructional videos pertaining to The raspberry PI I have ever seen. You nailed it mate. Is there any potential towards object recognition? If so please make a video
@Core-Electronics
@Core-Electronics 3 жыл бұрын
Thank you very much, we do have a guide on object recognition in the works, keep an eye out. 😄
@Core-Electronics
@Core-Electronics 3 жыл бұрын
Got you sorted - kzbin.info/www/bejne/n4C3iI1_abd7d5o
@scoochyogooch
@scoochyogooch 2 жыл бұрын
Great tutorial and the article comment section was so informative and helpful when I had issues. Can't wait for more awesome videos from you Tim!
@Core-Electronics
@Core-Electronics 2 жыл бұрын
Sweeet 😊 and new videos all the time!
@alexiscruz5854
@alexiscruz5854 3 жыл бұрын
Thank you so much for making these videos. They deserve so many views. You're awesome!
@Core-Electronics
@Core-Electronics 3 жыл бұрын
Very kind mate 🙂 I get excited making these videos, hope that comes through + lots left to explore.
@BlizzOd
@BlizzOd 8 ай бұрын
Thanks mate I it was one of the best info Lot of your vids has helped me Keep it up 👍👍
@amarnathv8689
@amarnathv8689 3 жыл бұрын
Awesome project, Thanks for the steps to install open cv libraries.
@Core-Electronics
@Core-Electronics 3 жыл бұрын
Very happy to of helped 😄
@halimaaqraa4545
@halimaaqraa4545 2 жыл бұрын
Hi there, we downloaded open cv in diff path, we are trying to run your code but face this prob -> _model.py Traceback (most recent call last): File "/home/pi/raspberry-pi-opencv/facial_recognition/train_model.py", line 5, in import face_recognition ModuleNotFoundError: No module named 'face_recognition' Anyone help!
@Core-Electronics
@Core-Electronics 2 жыл бұрын
Would definitely recommend going through the process outlined in the Written article. I ran into all kinds of problems trying to download Open-CV and getting it to run using different methods/paths.
@samcjsanchez4940
@samcjsanchez4940 2 жыл бұрын
Wow this is a great and very smooth tutorial!!! Do you have both object and face detection with audio output???
@Core-Electronics
@Core-Electronics 2 жыл бұрын
Cheers mate 😊 If you like this you should check out Oak-D Lite with Raspberry Pi - kzbin.info/www/bejne/bXPOeZaAqppqeck You can also definitely include Audio Output to the Python Scripts I have provided here.
@danieleporfiri1302
@danieleporfiri1302 2 жыл бұрын
hello! can it be done with a photo? i got an external source which saves images in a folder in my rpi overwriting it when it detects a face. i want to run face recognition on that picture. is there a way to use my image instead of the live streaming?
@CrackedPi
@CrackedPi 10 ай бұрын
is it possible to use a raspberry 3 b or is it too slow?
@Core-Electronics
@Core-Electronics 10 ай бұрын
There was quite a big performance leap from the 3 to the 4, you might be able to do it, but it will also probably be a very slow experience unfortunately...
@CrackedPi
@CrackedPi 10 ай бұрын
@@Core-Electronics I will try it
@Razibulsumon
@Razibulsumon Жыл бұрын
I am very new and how different it is from bookworm? Also Picamera is no longer available now it is libcamera do you have a tutorial with libcamera. ALso is it possible to avoid pip since we have to create venv . Thanks a lot for your help.
@Karne282
@Karne282 2 жыл бұрын
This a major help for me ... great tutorial .. One question though .. is there a way to unlearn a face .. so the systme does not recognise it any more
@Core-Electronics
@Core-Electronics 2 жыл бұрын
Absolutely, just delete that folder where you have those photos that it has trained on. That should be enough to stop it knowing someone (without having to go through the installation process again)
@Karne282
@Karne282 2 жыл бұрын
@@Core-Electronics yeah was messing around and understood that could be done .. 😁🫡 .. thank you so much 😁
@lakostal
@lakostal Жыл бұрын
Awesome! I had some troubles along the way with the install but your support on the website is amazing. Thank you Tim!
@jonahnazarian8897
@jonahnazarian8897 Жыл бұрын
Hey, great video. I’m a little new to this and I was wondering how to get these li and facial recognition folders. I have python downloaded on my raspberry pi, but don’t have any of these folders. Thanks.
@gapguy9564
@gapguy9564 2 жыл бұрын
How can i use regular usbwebcam for this?
@bhurkeneil4245
@bhurkeneil4245 3 жыл бұрын
You explain very well thanks
@Core-Electronics
@Core-Electronics 3 жыл бұрын
Glad it was helpful!
@starscream7716
@starscream7716 5 сағат бұрын
great tutorial, then can I replace opencv with yolo.
@chakrikaanoushapinisetty2197
@chakrikaanoushapinisetty2197 2 жыл бұрын
Hey Timmy, Thanks a lot the video is great. We are actually looking how to close the servo motor back after it opens . Can you please help us out.? Thank you!
@Core-Electronics
@Core-Electronics 2 жыл бұрын
Heyya, everything you need to understand exactly how to do that you can find here 😊 - core-electronics.com.au/guides/control-servo-raspberry-pi/
@marqofthedwyne
@marqofthedwyne Жыл бұрын
Is it the same with using the high quality camera?
@Jiggafreejay
@Jiggafreejay 2 жыл бұрын
Timmy, are you still assisting individuals with questions or if they run into a problem with your video?
@Core-Electronics
@Core-Electronics 2 жыл бұрын
My man absolutely I am 😊! Usually the best place for more complicated questions would be at the bottom of the full written up article in the comment section (because you can add photos/screen caps) and I'm guaranteed not to miss them - core-electronics.com.au/guides/face-identify-raspberry-pi/
@johnholland5017
@johnholland5017 2 жыл бұрын
Great, thanks, is there a pan and tilt motion tracking mode available??
@Core-Electronics
@Core-Electronics 2 жыл бұрын
Heyya John Holland come check out this video I did on exactly that - kzbin.info/www/bejne/ipCbamWJgLuBnJY It'll get you right into the thick of it 🙂
@wessambasil
@wessambasil 6 ай бұрын
the best tutorial in its field :) I have one problem only, that is my devices doesn't support picamera, it support picamera instead, so that VideoStream method is not working
@KesavKrishna-um4yy
@KesavKrishna-um4yy 9 ай бұрын
Hi will I be able to run the face reg on start-up as a stand alone even with a pickle file?
@alfold2000
@alfold2000 2 жыл бұрын
Hey, can this be done with a wsb webcam?
@Core-Electronics
@Core-Electronics 2 жыл бұрын
USB Web cameras definitely work. Come check the full written up article to see how to 😊
@sharyarkhan4363
@sharyarkhan4363 2 жыл бұрын
great lesson but may i have for train and recognize script of python please
@Core-Electronics
@Core-Electronics 2 жыл бұрын
core-electronics.com.au/guides/object-identify-raspberry-pi/ There you go mate 😊
@pratharvp343
@pratharvp343 Жыл бұрын
Please help me is there a way you can add a text to speech feature?
@pratharvp343
@pratharvp343 Жыл бұрын
please
@pratharvp343
@pratharvp343 Жыл бұрын
help
@pratharvp343
@pratharvp343 Жыл бұрын
me
@Core-Electronics
@Core-Electronics Жыл бұрын
You could use something like eSpeak to produce text to speech, or you can search online for other python packages that allow you to use text to speech.
@ShavoTako
@ShavoTako 2 жыл бұрын
very good project bro, do you think I can use a usb webcam, as a camera instead of the raspberry one???
@Core-Electronics
@Core-Electronics 2 жыл бұрын
Absolutely mate! Just check the bottom of the | Demonstration | chapter to see how to modify one line of the script to do so 😊
@JamesCRugby
@JamesCRugby 3 жыл бұрын
Did I need a different program for the pi as the link you have provided is for pan and tilt system of witch I don't intend to use ?
@Core-Electronics
@Core-Electronics 3 жыл бұрын
Not quite sure what you mean but the full article (with everything you need for this video) can be found here - core-electronics.com.au/tutorials/face-identify-raspberry-pi.html
@jameshodds8800
@jameshodds8800 3 жыл бұрын
@@Core-Electronics So I'm now setting up my pi with the full article and just added the terminal line (cmake -D CMAKE_BUILD_TYPE=RELEASE \) but it looks like it has crashed I pressed return and I have the following symbol > this is the second time this has happened help
@Core-Electronics
@Core-Electronics 3 жыл бұрын
Hey mate, is totally okay seeing that | > | symbol. Just continue on with the next terminal line | -D CMAKE_INSTALL_PREFIX=/usr/local \ | and so forth. Then once you get to | -D BUILD_EXAMPLES=OFF .. | it will return to normal terminal command lines without the | > |. Hope this help!
@maricelcarney6805
@maricelcarney6805 7 ай бұрын
Can you use Microsoft Azure face api on this and use it for unlocking the gate using solenoid lock.
@johnlordibanez1697
@johnlordibanez1697 Жыл бұрын
hi tim, i just want to ask how to make your motor servo back to 0 degrees if its not detecting any objects thankss
@saso6434
@saso6434 3 жыл бұрын
Not working I installed all libraries but i still getting errors. Some errors I fixed but i can´t fix: "AttributeError: 'NoneType' object has no attribute 'shape' " maybe you can make full tutorial with installing all libraries etc.
@Core-Electronics
@Core-Electronics 3 жыл бұрын
The full article does go through the whole process of installing Open-CV but it would definitely be worthwhile making a video guide on the process, particularly once Open-CV and the new 'Bullseye' Raspberry Pi OS release has full compatibility. In regards to fixing your issue, it is important to run the old 'Buster' Raspberry Pi OS as this currently is the only compatable OS with Open-CV. Here is a guide on how to do that - core-electronics.com.au/tutorials/flash-buster-os-pi.html. If you still run into issues open up a forum topic and I'll help you through the whole process there 😊
@reyamed720
@reyamed720 2 жыл бұрын
hello mate, I got the same error, did you manage to fix it ?
@sabilafurniture1042
@sabilafurniture1042 2 жыл бұрын
Hey Bro, Don't talk down to yourself like that. believe in yourself and don't let nobody change your mindset of that!
@alexmanole1038
@alexmanole1038 2 жыл бұрын
How can i add a door lock sistem with a solenoid using facial recognition ?
@Core-Electronics
@Core-Electronics 2 жыл бұрын
You can use a majority of this script and customise it with knowledge from this guide - core-electronics.com.au/guides/solenoid-control-with-raspberry-pi-relay/ I also created a similar system using Biometric control in this guide here - core-electronics.com.au/guides/raspberry-pi/fingerprint-scanner-raspberry-pi/
@moabadejumat3609
@moabadejumat3609 Жыл бұрын
Hello! I was wondering if i can use a raspberry pi 2 model b for the project
@Core-Electronics
@Core-Electronics Жыл бұрын
It will go very very slow if you do.
@moabadejumat3609
@moabadejumat3609 Жыл бұрын
@@Core-Electronics when training the model or recognizing faces?
@Core-Electronics
@Core-Electronics Жыл бұрын
Recognising faces. Training will still be really fast.
@mahmoudsalah1573
@mahmoudsalah1573 2 жыл бұрын
tnx , love u 🤩🤩🤩
@Core-Electronics
@Core-Electronics 2 жыл бұрын
You're welcome 😊
@sokunpanhaleang2455
@sokunpanhaleang2455 9 ай бұрын
Hi, For that camera does it detect human even in the dark, smoke or in fire
@samadzaidi2469
@samadzaidi2469 25 күн бұрын
Hey bro if i have my own onnx format model for object detection then shall i follow the same steps to run my custom model on raspberrypi 5? Please reply ASAP
@Core-Electronics
@Core-Electronics 25 күн бұрын
This guide likely won't work with that. If your model is a Yolo-based model, then you should be able to use it with this guide though! kzbin.info/www/bejne/jnysnpKIlNd8m7Mfeature=shared
@PrestonZen
@PrestonZen 2 жыл бұрын
How do I reduce the quality of my camera? It defaults to 4056x3040 which is way too large and it drops my frames like crazy. I have the RPI 4 8GB RAM
@Core-Electronics
@Core-Electronics 2 жыл бұрын
In the main script you will find this line of code | frame = imutils.resize(frame, width=500) |. Edit that 500 to be a smaller number to increase your FPS 😊
@composeexpose8009
@composeexpose8009 Жыл бұрын
Hi! Would it be possible have the Raspberry Pi adjust the exposure so that the face is always properly exposed? If so, any idea how I can achieve this? Thank you!
@brainsparkk
@brainsparkk 4 ай бұрын
does this work with a webcam? if so, can you tell me how i get those folders?
@rednas0787
@rednas0787 2 жыл бұрын
Is the redbarry pi fecial recognition triggered by physical photo's? Or is it smart enough to distinguish real humans and photos?
@Core-Electronics
@Core-Electronics 2 жыл бұрын
I reckon you'd be able to trick it with a photograph.
@FSANJAY-gv2eh
@FSANJAY-gv2eh Жыл бұрын
hi i have problem with the train part there is a error shown that no module named imutils can i know how to solve it
@Core-Electronics
@Core-Electronics Жыл бұрын
Come check the comment section at the bottom of the full written up article. There will be a solution for you there 😊
@sheelpatel5914
@sheelpatel5914 Жыл бұрын
Hi can you please help me how to control dc motors from the image classsification results generated from raspberry pi image classification results
@Core-Electronics
@Core-Electronics Жыл бұрын
Hit up this guide here mate 😊 You'll be controlling DC motors in no time - kzbin.info/www/bejne/m5KZpYampcyNors - Then you'll be able to take that knowledge and merge that into the Face Recognition script.
@sheelpatel5914
@sheelpatel5914 Жыл бұрын
@@Core-Electronics Thanks a lot for the response 🙏👍
@sheelpatel5914
@sheelpatel5914 Жыл бұрын
@@Core-Electronics And can I swap the script from face recognition to image classification ? It would work as expected or the coding needs to be done again ?
@Core-Electronics
@Core-Electronics Жыл бұрын
Come check this guide here on doing exactly that 😊 core-electronics.com.au/guides/object-identify-raspberry-pi/
@afrojkhan6634
@afrojkhan6634 2 жыл бұрын
I had done this using arduino in 2020 . I had use led bulb instead of servo motor
@khadir6221
@khadir6221 2 жыл бұрын
Hello, great video man keep it going. I have a raspberry pi 3b+ and whenever i execute the code there is a 10-15 second delay. I tried both cameras like python one and a webcam and same result. When i try running a simple code there is no delay. What can i do?
@BlissfulBloke
@BlissfulBloke Жыл бұрын
Can anyone elaborate on the compatibility issues for OPEN-CV with the new Raspberry Pi ‘Bullseye’ OS mentioned in the article?
@paveljurica2966
@paveljurica2966 2 жыл бұрын
Thank you man!
@RollingInBoost
@RollingInBoost 2 жыл бұрын
can this also work with an IR camera for night vision?
@Core-Electronics
@Core-Electronics 2 жыл бұрын
I haven't run this exact machine learnt system with an IR camera but it should work fine 😊
@gapguy9564
@gapguy9564 2 жыл бұрын
I want to increase fps. Its not usable at present. Using raspi 3b.
@Core-Electronics
@Core-Electronics 2 жыл бұрын
If you interested on running Face Recognition on the edge (with your current hardware) I highly recommend checking out the OAK-D Lite - core-electronics.com.au/guides/oak-d-lite-raspberry-pi/ Your FPS will be through the roof!
@qamilharith
@qamilharith 2 жыл бұрын
Thank you so much !
@xavierrichards5345
@xavierrichards5345 8 ай бұрын
hai! Nice video, Can you tell me what Is the accuracy like and how many I can train? As I had a few face recognition project experiences there is very little accuracy and i have tried using various libraries like face recognition using python in my raspberry pi.
@animukan3950
@animukan3950 Жыл бұрын
How far is the camera can scan face? If this use as CCTV camera that need to place so much far like around 3-4 meters from people, does it recognize the face as well?
@binauralbeats-relaxingmusi4336
@binauralbeats-relaxingmusi4336 10 ай бұрын
How i can setup it using esp cam and live object recognition and its should give output in speaker
@winterender8663
@winterender8663 2 жыл бұрын
Timmy my friend I require some help. I am planning on incorporating this face recognition system for my school project. However, every week we are subjected to a different raspberry pi. Therefore, whatever folders and dependencies we install the previous week would no longer be there. Thus I would have to spend a hour or so getting the required items set up. Thus, is there a better way I can approach this such that the set up time is not that long and I can immediately get it working. Let me know what I have to take note of. Thank you
@winterender8663
@winterender8663 2 жыл бұрын
Also is there a better way in which I can contact u? Discord or something. Thanks
@Core-Electronics
@Core-Electronics 2 жыл бұрын
The easiest way I can think is to take in your own SD card 😊 that is the whole brain of the operation and once installed you can plug it into any similar version of Raspberry Pi and be smooth sailing. The other option is to create a Custom Image of your Raspberry Pi instance. This Image you can then use to flash other SD cards, speeding up the process as you will just need to flash the SD card with your already Face Installed image. Heres the process for that - kzbin.info/www/bejne/qnXQoHyQiKqfiJY And the best place to contact me would be at our forums here, pop by if you have any questions on anything electronic! - forum.core-electronics.com.au/
@winterender8663
@winterender8663 2 жыл бұрын
@@Core-Electronics ModuleNotFoundError:No module named 'cv2'
@winterender8663
@winterender8663 2 жыл бұрын
Am I meant to do pip install opencv-python
@winterender8663
@winterender8663 2 жыл бұрын
Also do I really need a raspberry pi camera to take pictures for training model. Or could I just prepare the pics using my laptop camera and just train them on the raspberry pi. Or if possible can I take pictures and train the model on my PC?
@RajeshmayBurman
@RajeshmayBurman 8 ай бұрын
Can this project can be considered under iot hardware project?
@EMChannel_
@EMChannel_ 2 жыл бұрын
can i use a web cam for my camera?
@Core-Electronics
@Core-Electronics 2 жыл бұрын
Absolutely, the full written up article talks about how to accommodate for it 😊 just check the description for links.
@robertbrennan5789
@robertbrennan5789 2 жыл бұрын
Hi, where can I get the code for the servo control? Cannot find it on the link. Thanks again
@Core-Electronics
@Core-Electronics 2 жыл бұрын
You'll find the exact 5 lines I added to | facial_req.py | to make it possible in the script explained in the where to now section of the written up guide - core-electronics.com.au/guides/face-identify-raspberry-pi/#Where That'll sort you right out 😊
@robertbrennan5789
@robertbrennan5789 2 жыл бұрын
@@Core-Electronics thank you so much! That just made my day and saved me from a lot of stress! 😃
@hopi9927
@hopi9927 2 жыл бұрын
Dear,I can not use opencv with thony ,can you explain me how to install opencv matplot to run on thony ?thank
@Core-Electronics
@Core-Electronics 2 жыл бұрын
Jump to the full write up article and you'll find both troubleshooting in the comments and a full step-by-step process to install the face recognition software.
@durgakathula278
@durgakathula278 6 күн бұрын
Sir is it works to train with the images of vegetables pictures
@chuchumb3r918
@chuchumb3r918 2 жыл бұрын
Can I use a webcam instead of the camera module ?
@Core-Electronics
@Core-Electronics 2 жыл бұрын
Absolutely you can use a USB powered web camera. Check the bottom of the demonstration section in the Full Written Up article to see how - core-electronics.com.au/guides/face-identify-raspberry-pi/#Demon
@weihong8337
@weihong8337 5 ай бұрын
Hi, will this face recognition project work properly on Raspberry Pi 5 with the latest official camera v3 as well?
@Core-Electronics
@Core-Electronics 5 ай бұрын
Not this guide specifically sorry. The packages for this guide were designed to work on Buster OS which the Pi 5 cannot run. We do have some new Pi 5 vision guides in the works though!
@ibrahimshaikh9179
@ibrahimshaikh9179 3 жыл бұрын
Can you please share the gpio connection to servo motor wire connection to which gpio number?
@Core-Electronics
@Core-Electronics 3 жыл бұрын
Come check out this guide which will have everything you need to know 🙂 - core-electronics.com.au/tutorials/control-servo-raspberry-pi.html
@danielmittelman4941
@danielmittelman4941 2 жыл бұрын
I can't find the setup link you mentioned we need to download?
@Core-Electronics
@Core-Electronics 2 жыл бұрын
Here are the set up terminal commands - core-electronics.com.au/guides/face-identify-raspberry-pi/#Long - Follow through exactly and you'll be good to go 😊
@muhammadsalem9924
@muhammadsalem9924 Жыл бұрын
I have this project : "Design of Driver Awareness system depending on Eye and Face Feature and Discrimination" Can I use ESP32 instead of Raspberry Pi? Please answer
@doyunkim116
@doyunkim116 3 жыл бұрын
I can't find the 'camera' at 1:52
@Core-Electronics
@Core-Electronics 3 жыл бұрын
Make sure your using the earlier 'Buster' Raspberry Pi OS and not the most recent 'Bullseye' Raspberry Pi Release. Use the guide here - core-electronics.com.au/tutorials/flash-buster-os-pi.html?amfpc_refresh
@Dart.elevate
@Dart.elevate 2 жыл бұрын
Hi Tim, can we run our face recognition program and live stream on local host at same time? if yes , can you please guide me?
@Core-Electronics
@Core-Electronics 2 жыл бұрын
You can definitely live stream the camera results out of the Raspberry Pi so long as your internet its up to the task. It will slow down the Raspberry Pi slightly however. Come jump onto our forums if you need a hand with any project 😊
@TheSj98
@TheSj98 2 жыл бұрын
Hello! Great tutorial! Is there a way where we can improve the frame rate? The program is able to recognize my face but the frame rate is very low. I am not using a raspberry pi camera, just a random USB webcam. Also, I am facing an issue where another person comes into frame, instead of showing "unknown", it displayed my name instead. I tried taking 40 images instead of 10 but the result is still the same. Please let me know if you have any way to solve this. Thank you!
@Core-Electronics
@Core-Electronics 2 жыл бұрын
Can I ask which Raspberry Pi you are using? Using the highest Spec Pi possible is always my first recommendation. Using a TPU accelerator like the Google Coral edge TPU will also provide some signification FPS gains. Also it surprises me that it isn't identifying correctly, potentially providing it with fewer than 10 images will yield better results in your particular use case. Hope this helps!
@johnjayveec.alindayo9278
@johnjayveec.alindayo9278 2 жыл бұрын
My raspberry pi configuration not showing the camera? But i already install daw camera module? What i will do in this case?
@Core-Electronics
@Core-Electronics 2 жыл бұрын
Come jump on the forums/written article page if you need some troubleshooting help. What happens when you type and enter the below into your terminal? raspistill -t 0
@johnjayveec.alindayo9278
@johnjayveec.alindayo9278 2 жыл бұрын
@@Core-Electronics do you have any communication app?
@johnjayveec.alindayo9278
@johnjayveec.alindayo9278 2 жыл бұрын
@@Core-Electronics i try to input that code its working, but after i installed manu library and after i reboot, the camera not found
@Core-Electronics
@Core-Electronics 2 жыл бұрын
Sounds like some weird camera issues. Come jump on our forums and write up a post 🙂 we will be able to help you best there. forum.core-electronics.com.au/
@jovenfabricante9925
@jovenfabricante9925 2 жыл бұрын
if i use a usb webcam does the camera still work? sorry newbie.
@Core-Electronics
@Core-Electronics 2 жыл бұрын
Absolutely it will work - some things will need to be altered in the Scripts and a different script needs to be used to take the initial images that it learns from but everything you need is provided in the written up guide 🙂
@Dart.elevate
@Dart.elevate 2 жыл бұрын
Please tell me , which algorithm is used for facial recognition. name? BTW love your videos.🔥❤️
@Core-Electronics
@Core-Electronics 2 жыл бұрын
Viola Jones Algorithm is what your looking for. If it was just Haar-Cascade Detection you wouldn't be able to identify different faces as easily.
@sku1196
@sku1196 2 жыл бұрын
Hey! can you please leave a link for the preinstalled opencv image? Would help a lot
@Core-Electronics
@Core-Electronics 2 жыл бұрын
Wish I could. I did make an image for it but there is no good way of distributing the large image file in a manner which is future proof. It will take some time but I have proofread each step to install OpenCV and the dependencies from scratch, so you absolutely won’t run into any errors, it just takes a little time to do so.
@RajeshmayBurman
@RajeshmayBurman 8 ай бұрын
Awesome Project
@Videogame9559
@Videogame9559 Жыл бұрын
Hi did this images wasn't the folder do you rename the photos folder ?
@scenesticlad3042
@scenesticlad3042 3 жыл бұрын
What if I want the data of detected persons to be stored in the memory, and the second part is that Can I detect objects and save them with the data of a specific person who detected the object in the camera?
@Core-Electronics
@Core-Electronics 3 жыл бұрын
You can definitely alter the code so that it takes a snapshot/video recording every time a face is seen. In regards to object detection I've put together a guide on doing just that, linked in the description. Combining both Object and Face detection as a single system is doable, something I'd love to pursue.
@scenesticlad3042
@scenesticlad3042 3 жыл бұрын
@@Core-Electronics ok man thanks would try
@harryhoughton1314
@harryhoughton1314 2 жыл бұрын
Hi I am getting an error when I try to increase the swap size. when I enter sudo nano /etc/dphys-swapfile After pressing enter, the error appears saying [error reading lock file /etc/.dphys-swapfile.swp: nog enough data read] what is causing this?
@Core-Electronics
@Core-Electronics 2 жыл бұрын
I think your swapfile is corrupted. Give yourself a treat and flash yourself a new fresh version of Raspberry Pi 'Buster' OS and tell me if that problem happens again 🙂
@maximprokhman9133
@maximprokhman9133 8 ай бұрын
Hello, I'm trying to follow the tutorial but I can't find the folder ''facial_recognition''. How do I find her?
@achyutreddy2007
@achyutreddy2007 3 жыл бұрын
Hello! What if I were running OpenCV code from the Pycharm IDE. How would pair the raspberry pi camera instead of the webcam that I am using for the code?
@Core-Electronics
@Core-Electronics 3 жыл бұрын
Pycharm IDE is just a Python interpreter software just like Thonny IDE, so all the scripts here will work in either. If your using a Pi Camera all the scripts talked about here will work straight away, you will need to alter some values in the script if your using a USB webcam.
@hanako6465
@hanako6465 7 ай бұрын
Hey can you iris recognition with raspberry pi?
@Ibrahim5902
@Ibrahim5902 2 жыл бұрын
Hi, when I try to execute python facial_req.py I get the following error [ WARN:0@5.322] global /home/pi/opencv/modules/videoio/src/cap_v4l.cpp (902) open VIDEOIO(V4L2:/dev/video2): can't open camera by index. Is this an issue with the OpenCV installation?
@Core-Electronics
@Core-Electronics 2 жыл бұрын
Come jump onto the Full written up article and check the comment section. A lot of successful trouble shooting can be found there. This is a Camera Index setting that you just need to make a quick adjustment in the Python code. I talk about it explicitly in the bottom paragraph of the Demonstration section - core-electronics.com.au/guides/face-identify-raspberry-pi/#Demon
@SomethingLikesSonic
@SomethingLikesSonic 3 жыл бұрын
Could I be able to get it to play an audio file instead, and how would I go about implementing that into the script?
@giji6762
@giji6762 3 жыл бұрын
you can just google how to play sound in python, and put that code instead of the 3 lines for the servo
@ronneljayaspiras8918
@ronneljayaspiras8918 Жыл бұрын
hi tim after putting the cd facial_recognition (4.00) my raspi keeps saying ; bash: cd: facial_recognition: No such file or directory
@samcjsanchez4940
@samcjsanchez4940 2 жыл бұрын
it works, but why does it only run on terminal? and i cant add another person?
@Core-Electronics
@Core-Electronics 2 жыл бұрын
Heyya champ, you can definitely add multiple people. Just keep all the training images in different folders. Also you can run it from Thonny IDE just make sure to add the necessary Arguments to make it run correctly. In this guide you can see me adding Arguments for Thonny IDE in the | License Plate Tracking, Pushing the Limits | section of the tutorial - core-electronics.com.au/guides/raspberry-pi/oak-d-lite-raspberry-pi/
@samcjsanchez4940
@samcjsanchez4940 2 жыл бұрын
@@Core-Electronics its ascii error or something and i cant figure it out
@Core-Electronics
@Core-Electronics 2 жыл бұрын
How weird indeed. Come write up a forum post with some pictures of your errors and I'll best be able to help you out - forum.core-electronics.com.au/
@chattarikapollaor2973
@chattarikapollaor2973 2 жыл бұрын
Heyya mate, can it control several servos?
@Core-Electronics
@Core-Electronics 2 жыл бұрын
You absolutely can. Check out this guide for controling one or two servos core-electronics.com.au/guides/control-servo-raspberry-pi/ - and this one for controlling heaps of Servos with a Raspberry Pi - core-electronics.com.au/guides/servo-hat-raspberry-pi/.
@vovantoan5786
@vovantoan5786 2 жыл бұрын
Hi guy. Fps in my project is less than 1. Can you instruct me to increase fps to recog faster? Thank you very much
@Core-Electronics
@Core-Electronics 2 жыл бұрын
All depends on the hardware that you are using. If you want some real fast Facial Recognition that can get fed into a Raspberry Pi check out this product here - core-electronics.com.au/luxonis-oak-d-depthai-hardware.html
@milomoores
@milomoores Жыл бұрын
is there any way to improve the fps when it's searching live for faces?
@Ssyn23755
@Ssyn23755 Жыл бұрын
what are all the software used for this to work?
@adrienguidat6805
@adrienguidat6805 3 жыл бұрын
Brilliant, thx!
@Core-Electronics
@Core-Electronics 3 жыл бұрын
You're welcome!
@vovantoan5786
@vovantoan5786 2 жыл бұрын
Can you give me code to control servo, thank you very much!
@Core-Electronics
@Core-Electronics 2 жыл бұрын
Code should be available at the bottom of article or in the comment section. If you can't see it pop me a reply and we'll figure out whats happening.
@OnnieKoski
@OnnieKoski 2 жыл бұрын
can this recognize different irises instead of faces?
@Core-Electronics
@Core-Electronics 2 жыл бұрын
I love that 😊 Iris detection done with consumer products tend to be a black and white camera that you put your eye right up next to. Its definitely something I want to pursue. Here is some Open-Source Scripts that could help you on your project - github.com/thuyngch/Iris-Recognition-PyTorch and github.com/topics/iris-recognition
@channelcuriousity6467
@channelcuriousity6467 3 жыл бұрын
Should we need to install open cv?
@Core-Electronics
@Core-Electronics 3 жыл бұрын
For this system to work it will require Open-CV
@zainmuhammad4471
@zainmuhammad4471 2 жыл бұрын
Hie Timmy, im having issues with installing open cv. I have followed the complete guide on your web sites but opencv won't install. And every lines worked i didn't got any error though the installing process. When im importing the cv2 in the python code im having no modules name cv2. Please help is for an school project. Thanks.
@Core-Electronics
@Core-Electronics 2 жыл бұрын
How very weird, Come check out the comment section for the full write up, there is a lot of successful troubleshooting that you can learn from there. If you keep running into issues post some screenshots of the error and I'll help you get your system up and running proper 😊
@zainmuhammad4471
@zainmuhammad4471 2 жыл бұрын
@@Core-Electronics my problem is half solved, when i have installed cv2 but it's only installing with the python 2.7 and not the latest version of python so i can't use thony ide also because he's not finding any module named cv2. Also in the terminal if i will run python3 and import cv2 it will tell me also no module name cv2. And i haved checked im running the old buster version. Ps: thanks for your respond :)
@Core-Electronics
@Core-Electronics 2 жыл бұрын
Heyya mate, I got flooded with KZbin comments and this one slipped through the radar. I'll definitely best be able you on our forum, come write up a message there with some photos and we'll have your system up and running in no time.
@stoopid-studios
@stoopid-studios Жыл бұрын
@@zainmuhammad4471 thats the version that im using
3 ай бұрын
Can we use an ip camera in the same wifi network?
@Core-Electronics
@Core-Electronics 3 ай бұрын
That might require a bit more set up, but its definitely possible! As long as you can feed in some sort of video feed it should work.
@berishabida3225
@berishabida3225 2 жыл бұрын
I've downloaded opencv but I still get an error of "no module named cv2", and I'm not sure how to fix it?
@Core-Electronics
@Core-Electronics 2 жыл бұрын
Come jump onto the comment section of the written article. A lot of successful troubleshooting has happen there and if the solution to your problem isn't there I'll help you out until we get your system running 😊
@jackcaalaman31
@jackcaalaman31 2 жыл бұрын
Is it the same code when using solenoid lock?
@Core-Electronics
@Core-Electronics 2 жыл бұрын
You will need to modify it slightly so that way the Solenoid will trigger for the right amount of time when you show the camera your face. Here is our guide on controlling solenoids with a Raspberry Pi to get you up to speed on how to do this - kzbin.info/www/bejne/eIewlol9ermSd80
@jackcaalaman31
@jackcaalaman31 2 жыл бұрын
also can i follow these steps despite having a debian 11 OS installed in rpi4?
@jackcaalaman31
@jackcaalaman31 2 жыл бұрын
@@Core-Electronics any tutorial with creating a gui integrated with this system?
@Core-Electronics
@Core-Electronics 2 жыл бұрын
Definitely stick to Raspberry Pi OS 'Buster' Version with this guide. If you interested in significantly higher AI capabilities with a Raspberry Pi come check out the Oak-D Lite guide here - core-electronics.com.au/guides/raspberry-pi/oak-d-lite-raspberry-pi/
@jonnamaelastimoso562
@jonnamaelastimoso562 2 жыл бұрын
What algorithm did you use for face recognition?
@Core-Electronics
@Core-Electronics 2 жыл бұрын
A number of parts all come together to make this possible. I link some of the most important packages here - pypi.org/project/face-recognition/ opencv.org/ pypi.org/project/imutils/
@bondevega4593
@bondevega4593 2 жыл бұрын
Hi, can i create a head outline using opencv?
@Core-Electronics
@Core-Electronics 2 жыл бұрын
You definitely can, come check out this guide here - core-electronics.com.au/guides/raspberry-pi/pose-and-face-landmark-raspberry-pi/
Measure Speed With Raspberry Pi + OpenCV + Python
10:36
Core Electronics
Рет қаралды 46 М.
Правильный подход к детям
00:18
Beatrise
Рет қаралды 11 МЛН
Cat mode and a glass of water #family #humor #fun
00:22
Kotiki_Z
Рет қаралды 42 МЛН
Гениальное изобретение из обычного стаканчика!
00:31
Лютая физика | Олимпиадная физика
Рет қаралды 4,8 МЛН
Face Recognition With Python 3.10 Tutorial (Webcam)
18:59
Indently
Рет қаралды 117 М.
How To Run TensorFlow Lite on Raspberry Pi for Object Detection
10:48
Edje Electronics
Рет қаралды 889 М.
How to Install OpenCV on a Raspberry Pi
6:19
Sam Westby Tech
Рет қаралды 122 М.
12 New AI Projects using Raspberry-Pi, Jetson Nano & more
7:50
ToP Projects Compilation
Рет қаралды 865 М.
Live Face Recognition in Python
16:16
NeuralNine
Рет қаралды 186 М.
Правильный подход к детям
00:18
Beatrise
Рет қаралды 11 МЛН