The camera frame does not appear on the page, knowing that I am using Python 3.8
@hamdiyoussef9628 Жыл бұрын
i try use this program on raspberrypi 4 but the camera doesn't work on web
@laibagillani777110 ай бұрын
hey, i dont know but this is not working in my vs code i am trying my best to do it but fail
@saengdaooudomsin8268 Жыл бұрын
when i add new personal camera is working but when i take face recognition camera doesn't work
@k-d16354 ай бұрын
no veo el proyecto?
@debiedcruz9473 Жыл бұрын
Hello, im having a issue when i click on face recognition button theres no camera appearing. Could you please help me out??
@rickyemmanuels4494 Жыл бұрын
Bang kok face yang blum di training masih bisa ke scan ya 100% bukannya UNKNOWN, dan namnya muncul dengan nama orang lain.
@evelynsuyon5977 Жыл бұрын
How can I buy the complete system?
@nextCode249 ай бұрын
Hello, can you give me the Github code for it, I can't use it from your website
@bocahtua9557 Жыл бұрын
mas mau nanya lagi kalo personilnya itu kembar identik cara membedakan yang satu dengan sudaranya itu caranya giman ya mas ? terima kasih
@brancosslezatoss6985 Жыл бұрын
Punya saya sudah bisa add personil, hanya setelah klik training error. Namun file image masuk ke dataset. Errornya path dataset tidak diketahui
@linn9398 ай бұрын
Hallo, kak mau tanya kalo project ini dipindah ke raspberry pi, terus tampilannya pake GUI lcd monitor bisa ga ya?
@sravyachakka656411 ай бұрын
how to run this code in vs code
@hidayatdayat1871 Жыл бұрын
Izin bertanya, jika text editornya memakai VS CODE bisa ga ya?
@LembagaPendidikanAl-Karim Жыл бұрын
Mau tanya bang, kenapa yaa setiap aplikasi flask nya baru di run, saat klik Face Recognition tidak bisa muncul kameranya, harus ke add personnel dulu?
@chatchapongkosalananta7709 Жыл бұрын
What do you use, allowing the webpage to update in real-time?
@kode_erik Жыл бұрын
I use the AJAX Polling method, where the web page (client) makes a request to the server every 1 second. the method is to check the accs_hist table, whether there is a new record in that table. If there is then do a table reload. Actually it's not really realtime.
@chatchapongkosalananta7709 Жыл бұрын
@@kode_erik when checking that new data has been added to the database Tables reload instantly without refreshing the screen? I still don't quite understand that part. I tried to have Add a random value to the database every 10 seconds and set it to reload the table every 10 seconds as well. But there is no reload of the table until you have to press refresh the page for new data to be displayed. Do you have any advice for me?
@alpondaver.santillan4243 Жыл бұрын
hello, can i get the full source code thanks
@otkurbeck47957 ай бұрын
Train file not found
@muhammadshan115111 ай бұрын
Very good work sir, keep it up ✅
@jokernautmusic16402 жыл бұрын
what camera did you used?
@kode_erik2 жыл бұрын
i used logitech webcam
@Cinematek682 Жыл бұрын
can i get the full source code ?
@alisatheeralap8763 Жыл бұрын
Excuse me. How I apply it with raspberry pi 4
@kode_erik Жыл бұрын
You must install : - LAMP (Linux, Apache, MySQL) - opencv-python, opencv-contrib-python, Flask, and MySQL Connector via pip - copy paste Project folder (FlaskOpencv_FaceRecognition) - Run the app.py
@alisatheeralap8763 Жыл бұрын
@@kode_erik Thank you very much
@saidatullatifah6251 Жыл бұрын
bang ini bisa dipakek menggunakan algoritma eigenface?
@ENAC-TG Жыл бұрын
hello everyone, can you help me? I launch the server and I am made to understand that the model is not training I do not understand, please help me
@locit90462 жыл бұрын
Hello admin , my webcam frame not show on website , can you help me fix it ?
@kode_erik2 жыл бұрын
Sorry just read your comment. is the webcam still not showing on web page after pc restart? if you have and still can't display, can you tell me the error message in the console window
@kmotv3563 Жыл бұрын
hello did you fix your problem about this?
@harizpratomo6387 Жыл бұрын
Like banget massehh
@kode_erik Жыл бұрын
siiiip
@setengahmatang6708 Жыл бұрын
mas kalo training dan recognize wajah nya di buat api nya bisa ga ya, endpoint nya di kirim dari sisi mobile/postman gitu, 🙏
@kode_erik Жыл бұрын
sepertinya sulit, karena harus ada engine python dari sisi device yang akan digunakan
@twentyone5809 Жыл бұрын
Hi, friend The link doesn't work, can you share another way?
@twentyone5809 Жыл бұрын
sorry it was my vpn thanks for the open source
@kode_erik Жыл бұрын
You're welcome
@lodhahamza4910 Жыл бұрын
how can i find url for vdo feed
@kode_erik Жыл бұрын
after app.py is run via pycharm, the url link will be displayed in the console window
@alpondaver.santillan4243 Жыл бұрын
Table flask_db.prs_mstr doesnt exist
@zamzamyst Жыл бұрын
Mas maaf, izin tanya, saya sudah ikuti stepnya, tapi ketika ingin debug muncul Error ini di Console >> FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\zamzami\\PycharmProjects\\FlaskOpencv_FaceRecognition\\main.py'. kenapa ya kira-kira?
@kode_erik Жыл бұрын
mungkin karena file projectnya main.py , bukan app.py
@zamzamyst Жыл бұрын
@@kode_erik oh iya mas benar 🙏🏻, sekarang sudah teratasi.
@zamzamyst Жыл бұрын
@@kode_erik Sekarang sudah bisa di debug mas, tapi ketika masuk ke page 'Face Recognition' dan saat 'Face Training' webcam nya tidak muncul, dan ketika di klik ada error >"cv2 has no attribute face" itu kenapa ya?
@kode_erik Жыл бұрын
@@zamzamyst coba uninstal package opencv-contrib-python nya, terus instal ulang package tersebut. setalah itu, biar lebih yakin restart pc
@aryarizkytriputracollege41975 ай бұрын
Permisi, ada githubnya pak? Terimakasih
@qtmmotovlog75905 ай бұрын
Kok saya ads tulisan modul eror
@amazingpen Жыл бұрын
Pak,mau tanya kenapa webcamnya ngak muncul ya,cuma lampunya saja yang nyala.Terima kasih.
@kode_erik Жыл бұрын
mungkin harus direstart terlebih dahulu
@sapsirre7 ай бұрын
@@kode_erik knapa harus restart setiap kali keluar dari halaman face recognition ya pa?
@fianprasetia5352 жыл бұрын
Mas klo di gabungkan dengan camera pluginnya cordova bisa tidak?
@kode_erik2 жыл бұрын
Wah saya kurang tau juga, saya belum pernah menggunakan plugin tsb. Emang kepentingannya apa sehingga harus pakai plugin cordova?
@fianprasetia5352 жыл бұрын
@@kode_erik saya lagi buat app mobile dengan cordova, lagi cari2 fitur detetct face yang bisa di gabungkan dengan cordova
@kode_erik2 жыл бұрын
@@fianprasetia535 mudah2an ketemu solusinya mas, saya blum banyak explore di mobile app
@k-d16356 ай бұрын
Comparte el proyecto por favor
@LembagaPendidikanAl-Karim Жыл бұрын
Apakah banyaknya dataset yang di ambil mempengaruhi akurasi kesamaan wajahnya? Misal dengan 100 dataset per personil apakah lebih akurat daripada 20 dataset per personil?
@raihanabdurrahman900611 ай бұрын
iya bisa mempengaruhi tingkat akurasi
@esemkabeen66692 жыл бұрын
SyntaxWarning: "is" with a literal. Did you mean "=="? if faces is (): --> error saya seperti ini kenapa ya
@kode_erik2 жыл бұрын
Itu cuma syntaxWarning, bisa diabaikan. Kalau kamu liat di menit 3:00 , di jendela console tertera warning tersebut tetapi app masih bisa running.
@qtmmotovlog75905 ай бұрын
Kok saya malah no modul name flask otu kenapa yaa plss
@arielpangestu9064 Жыл бұрын
mas mau tanya kalau pake esp32 cam bisa?
@kode_erik Жыл бұрын
belum pernah nyoba sih, kemungkinan sih bisa
@quangcs29802 жыл бұрын
Your project is great!
@kode_erik2 жыл бұрын
Glad you like it!
@byamunguclaude45842 жыл бұрын
Hi, i follow your codes and try to do it, but the problem is when i scan my face before it is ok ,but if other person come to scan ,it's display my name ,although name is already displayed, even if it is another person, please help me(Face Recognition Using Flask, OpenCV, MySQL and AJAX)
@kode_erik2 жыл бұрын
hi too @byamunguclaude, this problem might be solved by adjusting the scaleFactor and minNeighbors parameters in the draw_boundary function
@tgichonburee2903 Жыл бұрын
@@kode_erik Which part must be adjusted? how much to adjust -> features = classifier.detectMultiScale(gray_image, scaleFactor=1.3, minNeighbors=5) or coords = draw_boundary(img, faceCascade, 1.1, 10, (255, 255, 0), "Face", clf)
@aguipint Жыл бұрын
Were you able to solve it? What values did you set?
@aguipint Жыл бұрын
Does the camera being very old or low resolution affect it?
@atitsy7847 Жыл бұрын
hello, i keep getting this error: cv2.error: OpenCV(4.7.0) D:\a\opencv-python\opencv-python\opencv_contrib\modules\face\src\lbph_faces.cpp:362: error: (-210:Unsupported format or combination of formats) Empty training data was given. You'll need more than one sample to learn a model. in function 'cv::face::LBPH::train' and the dataset is never generated PLEASE HELP!!!!
@kode_erik Жыл бұрын
did you do the registration process and face training in the "Pycharm - Flask OpenCV Face Recognition Web with MySQL Database" tutorial?
@atitsy7847 Жыл бұрын
@@kode_erik yess everything works well untill i press the training button
@atitsy7847 Жыл бұрын
please answer me jazaka allahu khair , I really need your help, is there anything i can do to fix this error ? PLEASE
@kode_erik Жыл бұрын
@@atitsy7847 Sorry I just saw your question comment. I see your project folder is not like in my tutorial. where I installed pycharm on drive C and the project folder will be created according to the default installation. Actually I also just saw an error like that. What if you try to install pycharm and make the project exactly like in the tutorial I made at triyonos.com
@atitsy7847 Жыл бұрын
@@kode_erik it worked, thank you so much sir
@jancargotv1373 Жыл бұрын
Hello I need help on this video
@kode_erik Жыл бұрын
How can I help
@eduardomotamotamota Жыл бұрын
You missed the prs_mstr table create script.
@kode_erik Жыл бұрын
the sql script for prs_mstr is in the tutorial triyonos.com/pycharm-flask-opencv-face-recognition-registration-using-mysql-database
@arifrahman4720 Жыл бұрын
@@kode_erik link tidak bisa dibuka
@HadjBettaher Жыл бұрын
hi The camera is not working
@kode_erik Жыл бұрын
@HadjBettaher, to start trying whether or not the camera works, please try the face detection tutorial first. if it still doesn't work, can you send the error message
@HadjBettaher Жыл бұрын
@@kode_erik FileNotFoundError: [WinError 3] The system cannot find the path specified: 'C:/Users/Erik/PycharmProjects/FlaskOpencv_FaceRecognition/dataset'
@kode_erik Жыл бұрын
@@HadjBettaher the destination folder must be changed, adjusted to the root folder of the pycharm installation on your computer
@laibagillani777110 ай бұрын
could you please help me in doing this
@bocahtua9557 Жыл бұрын
mas mau nanya ketika tambah personil sistem akan mengambil gambar personil yang nantinya digunakan untuk training. seandainya saya ingin mengambil hanya sekitar 10 - 20 data per orang itu saya setingnya dimana ya mas ? dan untuk satu file gambar rata-rata berapa kb mas ? terima kasih
@kode_erik Жыл бұрын
Di app.py, function generate_dataset img_id = lastid max_imgid = img_id + 100 count_img = 0 100 diganti 20
@kode_erik Жыл бұрын
1 file gambar rata2 10kb
@bocahtua9557 Жыл бұрын
@@kode_erik Terima kasih mas
@LembagaPendidikanAl-Karim Жыл бұрын
Apakah banyaknya dataset yang di ambil mempengaruhi akurasi kesamaan wajahnya? Misal dengan 100 dataset per personil apakah lebih akurat daripada 20 dataset per personil?
@imankamal2191 Жыл бұрын
can you make tutorial that use CNN algorithm not LBPH algorithm?
@kode_erik Жыл бұрын
Saya harus pelajari dulu
@imankamal2191 Жыл бұрын
@@kode_erik 👍
@ENAC-TG Жыл бұрын
helpe me : bagaimana mengatasi kesalahan ini: cv2.error: OpenCV(4.7.0) D:\a\opencv-python\opencv-python\opencv_contrib\modules\face\src\lbph_faces.cpp:362: error: (-210: format atau kombinasi format yang tidak didukung) Data pelatihan kosong diberikan. Anda akan membutuhkan lebih dari satu sampel untuk mempelajari suatu pola. dalam fungsi 'cv::face::LBPH::train'😭😭😭😭
@kode_erik Жыл бұрын
to simplify the problem, try installing pycharm and the necessary packages as in the tutorial. maybe later the error will not occur. After that, install the application in the work folder that you want to apply
@faniarisdiana7580 Жыл бұрын
Kenapa yg saya lihat di tutorial tidak ada absensinya ya bang?
@kode_erik Жыл бұрын
sudah add personil belum? untuk tambah data personil sekaligus train face recognition.
@muhammadramadhankurniawan35182 жыл бұрын
Sebelumnya terimakasih tutorial nya mas, saya mau tanya untuk projek face recognition ini pernah coba di deploy/hosting ga ya?
@kode_erik2 жыл бұрын
@muhammadramadhankurniawan3518, saya belum pernah deploy ke hosting
@miftahq12 жыл бұрын
Ada loading bar nya ya bang
@kode_erik2 жыл бұрын
Iya, untuk validasi
@miftahq12 жыл бұрын
@@kode_erik pakai metode mtcnn atau cnn dong bang
@kode_erik2 жыл бұрын
Untuk metode2 itu saya ga mendalaminya mas, saya biasanya pakai library atau package yg sudah ada kemudian saya implementasikan ke aplikasi. Mungkin nanti akan saya pelajari konsep metode tsb
@alfianramadhan65902 жыл бұрын
@@miftahq1 itu metodenya pake haar cascade untuk face detectionnya dan LBPH untuk face recognitionnya
@damirvujkovic78182 жыл бұрын
@@kode_erik \
@nadyanicolesalasmartinez2885 Жыл бұрын
Halo, bagaimana cara menambahkan persentase kesamaan, tolong bantu
@komputerinformatika2231 Жыл бұрын
Bang pakai pyton versi berapa ya. Nanti klau beda versi takutnya ngak sama terimakasih jawabannya
@kode_erik Жыл бұрын
Versi 3.10
@kmotv3563 Жыл бұрын
hello i followed the process and still get an error jinja2.exceptions.TemplateNotFound: index.html. what should i do?
@kode_erik Жыл бұрын
you have to download faceRecognition_files.zip and follow the instructions from this webpage: triyonos.com/pycharm-flask-opencv-face-recognition-registration-using-database-mysql
@kmotv3563 Жыл бұрын
@@kode_erik i cant drag and drop the files on step 3. Is still okay to move the folder manually to the \PycharmProjects\FlaskOpencv_FaceRecognition destination?
@kode_erik Жыл бұрын
@@kmotv3563 its ok
@kmotv3563 Жыл бұрын
still no progress. By the way the link that you put is un accessible.
@kmotv3563 Жыл бұрын
@@kode_erik i resolve the problem now. the next problem now is the camera on the facial recognition wont show on the website and the error showed (AttributeError: module 'cv2' has no attribute 'face')
@miftahulchoir6484 Жыл бұрын
Loading barnya lama ya om
@nguyenletrung21172 ай бұрын
can i get your github
@rajibghosh4849 Жыл бұрын
can you make a face recognition software for me? i will pay you
@kode_erik Жыл бұрын
@rajibghost4849, thank you for the opportunity you offer. I'm very busy in the next few months, I'm afraid I can't finish the application project that you want
@miftakhulmubarrok2261 Жыл бұрын
nanya kang, ini pake algoritma apa ya?
@kode_erik Жыл бұрын
Pake algoritma haar cascade
@ephraimchristianb.montero8847 Жыл бұрын
Why do i need a pin?
@NoName__.77 Жыл бұрын
udah saya subss, apa ada penjelasan tentang source code nya?
@Hgrewssauujdkhvcjjipp2 жыл бұрын
Cool 👍
@kode_erik2 жыл бұрын
Terima kasih
@afzaazkaku4 ай бұрын
terima kasih bang
@adeneviyani5625 Жыл бұрын
boleh share kode program lengkapnya kak
@kode_erik Жыл бұрын
ada di description
@tms-palembang Жыл бұрын
link mati
@kode_erik Жыл бұрын
Mungkin pada saat itu jaringan terputus, saya cek tidak ada masalah dgn link downloadnya
@fatimazahrae4049 Жыл бұрын
hi it's a good job ,can you help me i have the same project and i have a lot of problems?
@kode_erik Жыл бұрын
please email the problems you are facing regarding this tutorial to erik@triyonos.com hopefully i can help
@faniarisdiana7580 Жыл бұрын
Linknya gak bisa bang
@kode_erik Жыл бұрын
link download file zip nya ada di triyonos.com/pycharm-flask-opencv-face-recognition-registration-menggunakan-database-mysql cari aja di halaman webnya faceRecognition_files.zip
@faniarisdiana7580 Жыл бұрын
@@kode_erik webnya gak bisa diakses
@faniarisdiana7580 Жыл бұрын
@@kode_erik oh bisa sudah gan, makasih ya
@faniarisdiana7580 Жыл бұрын
@@kode_erik facerecognition.zipnya disebelah mana ya kak?
@ahmadishaq109 Жыл бұрын
halo mas apakah bisa saya meminta source code nya? saya nomor wa nya
@gimmickdoangini2 жыл бұрын
Tutorial dari awal cara buat nya mas 🙏🏻
@kode_erik2 жыл бұрын
Tutorial Ada di description link ke website saya, triyonos.com
@belajarwebsite91722 жыл бұрын
@@kode_erik webnya gabisa mas
@fatuhaditya999 Жыл бұрын
Mantap mas project nya, ada kontak yang bisa di hubungi?mungkin bisa bantu project saya
@kode_erik Жыл бұрын
email saja dulu ke erik@triyonos.com
@ivancutipa30526 ай бұрын
Hello friend, your project is excellent, how can I contact you for your help?
@gabrielardi8442 Жыл бұрын
[ERROR:0@14.417] global D:\a\opencv-python\opencv-python\opencv\modules\core\src\persistence.cpp (505) cv::FileStorage::Impl::open Can't open file: '/resources/haarcascade_frontalface_default.xml' in read mode Lampu webcam nyala tapi tidak tampil di layout
@Crypto_7H Жыл бұрын
Hi! you are great and your project surprised me. But i have some problem: File "C:\Users\20119\AppData\Local\Programs\Python\Python311\Lib\site-packages\flask\app.py", line 2213, in __call__ return self.wsgi_app(environ, start_response) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\20119\AppData\Local\Programs\Python\Python311\Lib\site-packages\flask\app.py", line 2193, in wsgi_app response = self.handle_exception(e) ^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\20119\AppData\Local\Programs\Python\Python311\Lib\site-packages\flask\app.py", line 2190, in wsgi_app response = self.full_dispatch_request() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\20119\AppData\Local\Programs\Python\Python311\Lib\site-packages\flask\app.py", line 1486, in full_dispatch_request rv = self.handle_user_exception(e) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\20119\AppData\Local\Programs\Python\Python311\Lib\site-packages\flask\app.py", line 1484, in full_dispatch_request rv = self.dispatch_request() ^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\20119\AppData\Local\Programs\Python\Python311\Lib\site-packages\flask\app.py", line 1469, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "c:\Users\20119\Desktop\DA1\FlaskOpencv_FaceRecognition\venv\app.py", line 199, in home return render_template('index.html', data=data) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\20119\AppData\Local\Programs\Python\Python311\Lib\site-packages\flask\templating.py", line 150, in render_template template = app.jinja_env.get_or_select_template(template_name_or_list) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\20119\AppData\Local\Programs\Python\Python311\Lib\site-packages\jinja2\environment.py", line 1081, in get_or_select_template return self.get_template(template_name_or_list, parent, globals) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\20119\AppData\Local\Programs\Python\Python311\Lib\site-packages\jinja2\environment.py", line 1010, in get_template return self._load_template(name, globals) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\20119\AppData\Local\Programs\Python\Python311\Lib\site-packages\jinja2\environment.py", line 969, in _load_template template = self.loader.load(self, name, self.make_globals(globals)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\20119\AppData\Local\Programs\Python\Python311\Lib\site-packages\jinja2\loaders.py", line 126, in load source, filename, uptodate = self.get_source(environment, name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\20119\AppData\Local\Programs\Python\Python311\Lib\site-packages\flask\templating.py", line 64, in get_source return self._get_source_fast(environment, template) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\20119\AppData\Local\Programs\Python\Python311\Lib\site-packages\flask\templating.py", line 98, in _get_source_fast raise TemplateNotFound(template) I tried to fix, but not succeed. Hope you can hepl me. Thank you very much
@annasrizky11 ай бұрын
Mas mau tanya , kenapa pas video frnya udh berjalan kira2 3 detikan tiba2 videonya ngecrash jadi gak gerak gitu . Terimakasih , mohon bantuannya