Face Recognition Using Flask, OpenCV, MySQL and AJAX

แชร์
ฝัง

ความคิดเห็น • 149

  • @muhammadshan1151
    @muhammadshan1151 6 หลายเดือนก่อน

    Very good work sir, keep it up ✅

  • @quangcs2980
    @quangcs2980 ปีที่แล้ว +3

    Your project is great!

    • @kode_erik
      @kode_erik  ปีที่แล้ว

      Glad you like it!

  • @harizpratomo6387
    @harizpratomo6387 ปีที่แล้ว +1

    Like banget massehh

  • @HadjBettaher
    @HadjBettaher ปีที่แล้ว +1

    The camera frame does not appear on the page, knowing that I am using Python 3.8

  • @bocahtua9557
    @bocahtua9557 ปีที่แล้ว +1

    mas mau nanya lagi kalo personilnya itu kembar identik cara membedakan yang satu dengan sudaranya itu caranya giman ya mas ? terima kasih

  • @hamdiyoussef9628
    @hamdiyoussef9628 ปีที่แล้ว

    i try use this program on raspberrypi 4 but the camera doesn't work on web

  • @brancosslezatoss6985
    @brancosslezatoss6985 11 หลายเดือนก่อน

    Punya saya sudah bisa add personil, hanya setelah klik training error. Namun file image masuk ke dataset. Errornya path dataset tidak diketahui

  • @saengdaooudomsin8268
    @saengdaooudomsin8268 11 หลายเดือนก่อน

    when i add new personal camera is working but when i take face recognition camera doesn't work

  • @debiedcruz9473
    @debiedcruz9473 9 หลายเดือนก่อน

    Hello, im having a issue when i click on face recognition button theres no camera appearing. Could you please help me out??

  • @dedisupardi2815
    @dedisupardi2815 ปีที่แล้ว

    Cool 👍

  • @linn939
    @linn939 3 หลายเดือนก่อน

    Hallo, kak mau tanya kalo project ini dipindah ke raspberry pi, terus tampilannya pake GUI lcd monitor bisa ga ya?

  • @laibagillani7771
    @laibagillani7771 5 หลายเดือนก่อน

    hey, i dont know but this is not working in my vs code i am trying my best to do it but fail

  • @user-ih3qu2px5p
    @user-ih3qu2px5p ปีที่แล้ว

    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?

  • @rickyemmanuels4494
    @rickyemmanuels4494 11 หลายเดือนก่อน +2

    Bang kok face yang blum di training masih bisa ke scan ya 100% bukannya UNKNOWN, dan namnya muncul dengan nama orang lain.

  • @evelynsuyon5977
    @evelynsuyon5977 ปีที่แล้ว

    How can I buy the complete system?

  • @saidatullatifah6251
    @saidatullatifah6251 ปีที่แล้ว

    bang ini bisa dipakek menggunakan algoritma eigenface?

  • @alpondaver.santillan4243
    @alpondaver.santillan4243 ปีที่แล้ว

    hello, can i get the full source code thanks

  • @annasrizky
    @annasrizky 6 หลายเดือนก่อน

    Mas mau tanya , kenapa pas video frnya udh berjalan kira2 3 detikan tiba2 videonya ngecrash jadi gak gerak gitu . Terimakasih , mohon bantuannya

  • @boveakouala2386
    @boveakouala2386 ปีที่แล้ว

    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

  • @nextCode24
    @nextCode24 4 หลายเดือนก่อน

    Hello, can you give me the Github code for it, I can't use it from your website

  • @Cinematek682
    @Cinematek682 11 หลายเดือนก่อน

    can i get the full source code ?

  • @sravyachakka6564
    @sravyachakka6564 6 หลายเดือนก่อน

    how to run this code in vs code

  • @k-d1635
    @k-d1635 หลายเดือนก่อน

    Comparte el proyecto por favor

  • @jokernautmusic1640
    @jokernautmusic1640 ปีที่แล้ว

    what camera did you used?

    • @kode_erik
      @kode_erik  ปีที่แล้ว

      i used logitech webcam

  • @chatchapongkosalananta7709
    @chatchapongkosalananta7709 ปีที่แล้ว

    What do you use, allowing the webpage to update in real-time?

    • @kode_erik
      @kode_erik  ปีที่แล้ว +1

      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
      @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?

  • @nadyanicolesalasmartinez2885
    @nadyanicolesalasmartinez2885 ปีที่แล้ว

    Halo, bagaimana cara menambahkan persentase kesamaan, tolong bantu

  • @muhammadramadhankurniawan3518
    @muhammadramadhankurniawan3518 ปีที่แล้ว

    Sebelumnya terimakasih tutorial nya mas, saya mau tanya untuk projek face recognition ini pernah coba di deploy/hosting ga ya?

    • @kode_erik
      @kode_erik  ปีที่แล้ว

      @muhammadramadhankurniawan3518, saya belum pernah deploy ke hosting

  • @setengahmatang6708
    @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
      @kode_erik  ปีที่แล้ว

      sepertinya sulit, karena harus ada engine python dari sisi device yang akan digunakan

  • @qtmmotovlog7590
    @qtmmotovlog7590 7 วันที่ผ่านมา

    Kok saya malah no modul name flask otu kenapa yaa plss

  • @NoName__.77
    @NoName__.77 7 หลายเดือนก่อน

    udah saya subss, apa ada penjelasan tentang source code nya?

  • @laibagillani7771
    @laibagillani7771 5 หลายเดือนก่อน

    could you please help me in doing this

  • @user-ih3qu2px5p
    @user-ih3qu2px5p 9 หลายเดือนก่อน

    Apakah banyaknya dataset yang di ambil mempengaruhi akurasi kesamaan wajahnya?
    Misal dengan 100 dataset per personil apakah lebih akurat daripada 20 dataset per personil?

  • @otkurbeck4795
    @otkurbeck4795 2 หลายเดือนก่อน

    Train file not found

  • @esemkabeen6669
    @esemkabeen6669 ปีที่แล้ว

    SyntaxWarning: "is" with a literal. Did you mean "=="?
    if faces is (): --> error saya seperti ini kenapa ya

    • @kode_erik
      @kode_erik  ปีที่แล้ว

      Itu cuma syntaxWarning, bisa diabaikan. Kalau kamu liat di menit 3:00 , di jendela console tertera warning tersebut tetapi app masih bisa running.

  • @qtmmotovlog7590
    @qtmmotovlog7590 7 วันที่ผ่านมา

    Kok saya ads tulisan modul eror

  • @zamzamyst
    @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
      @kode_erik  ปีที่แล้ว

      mungkin karena file projectnya main.py , bukan app.py

    • @zamzamyst
      @zamzamyst ปีที่แล้ว

      @@kode_erik oh iya mas benar 🙏🏻, sekarang sudah teratasi.

    • @zamzamyst
      @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
      @kode_erik  ปีที่แล้ว

      @@zamzamyst coba uninstal package opencv-contrib-python nya, terus instal ulang package tersebut. setalah itu, biar lebih yakin restart pc

  • @miftahulchoir6484
    @miftahulchoir6484 10 หลายเดือนก่อน

    Loading barnya lama ya om

  • @aryarizkytriputracollege4197
    @aryarizkytriputracollege4197 18 วันที่ผ่านมา

    Permisi, ada githubnya pak?
    Terimakasih

  • @arielpangestu9064
    @arielpangestu9064 ปีที่แล้ว

    mas mau tanya kalau pake esp32 cam bisa?

    • @kode_erik
      @kode_erik  ปีที่แล้ว

      belum pernah nyoba sih, kemungkinan sih bisa

  • @byamunguclaude4584
    @byamunguclaude4584 ปีที่แล้ว

    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_erik
      @kode_erik  ปีที่แล้ว

      hi too @byamunguclaude, this problem might be solved by adjusting the scaleFactor and minNeighbors parameters in the draw_boundary function

    • @tgichonburee2903
      @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
      @aguipint 11 หลายเดือนก่อน

      Were you able to solve it? What values did you set?

    • @aguipint
      @aguipint 11 หลายเดือนก่อน

      Does the camera being very old or low resolution affect it?

  • @fianprasetia535
    @fianprasetia535 ปีที่แล้ว

    Mas klo di gabungkan dengan camera pluginnya cordova bisa tidak?

    • @kode_erik
      @kode_erik  ปีที่แล้ว

      Wah saya kurang tau juga, saya belum pernah menggunakan plugin tsb. Emang kepentingannya apa sehingga harus pakai plugin cordova?

    • @fianprasetia535
      @fianprasetia535 ปีที่แล้ว

      @@kode_erik saya lagi buat app mobile dengan cordova, lagi cari2 fitur detetct face yang bisa di gabungkan dengan cordova

    • @kode_erik
      @kode_erik  ปีที่แล้ว

      @@fianprasetia535 mudah2an ketemu solusinya mas, saya blum banyak explore di mobile app

  • @ephraimchristianb.montero8847
    @ephraimchristianb.montero8847 ปีที่แล้ว

    Why do i need a pin?

  • @locit9046
    @locit9046 ปีที่แล้ว

    Hello admin , my webcam frame not show on website , can you help me fix it ?

    • @kode_erik
      @kode_erik  ปีที่แล้ว

      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
      @kmotv3563 ปีที่แล้ว

      hello did you fix your problem about this?

  • @lodhahamza4910
    @lodhahamza4910 ปีที่แล้ว

    how can i find url for vdo feed

    • @kode_erik
      @kode_erik  ปีที่แล้ว

      after app.py is run via pycharm, the url link will be displayed in the console window

  • @bocahtua9557
    @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
      @kode_erik  ปีที่แล้ว

      Di app.py, function generate_dataset
      img_id = lastid
      max_imgid = img_id + 100
      count_img = 0
      100 diganti 20

    • @kode_erik
      @kode_erik  ปีที่แล้ว

      1 file gambar rata2 10kb

    • @bocahtua9557
      @bocahtua9557 ปีที่แล้ว

      @@kode_erik Terima kasih mas

    • @user-ih3qu2px5p
      @user-ih3qu2px5p 9 หลายเดือนก่อน

      Apakah banyaknya dataset yang di ambil mempengaruhi akurasi kesamaan wajahnya?
      Misal dengan 100 dataset per personil apakah lebih akurat daripada 20 dataset per personil?

  • @alisatheeralap8763
    @alisatheeralap8763 ปีที่แล้ว

    Excuse me. How I apply it with raspberry pi 4

    • @kode_erik
      @kode_erik  ปีที่แล้ว +1

      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
      @alisatheeralap8763 ปีที่แล้ว

      @@kode_erik Thank you very much

  • @boveakouala2386
    @boveakouala2386 ปีที่แล้ว

    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
      @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

  • @amazingpen
    @amazingpen ปีที่แล้ว

    Pak,mau tanya kenapa webcamnya ngak muncul ya,cuma lampunya saja yang nyala.Terima kasih.

    • @kode_erik
      @kode_erik  ปีที่แล้ว

      mungkin harus direstart terlebih dahulu

    • @tubagusgustifauzy6348
      @tubagusgustifauzy6348 2 หลายเดือนก่อน

      @@kode_erik knapa harus restart setiap kali keluar dari halaman face recognition ya pa?

  • @faniarisdiana7580
    @faniarisdiana7580 ปีที่แล้ว

    Kenapa yg saya lihat di tutorial tidak ada absensinya ya bang?

    • @kode_erik
      @kode_erik  ปีที่แล้ว

      sudah add personil belum? untuk tambah data personil sekaligus train face recognition.

  • @twentyone5809
    @twentyone5809 ปีที่แล้ว

    Hi, friend
    The link doesn't work, can you share another way?

    • @twentyone5809
      @twentyone5809 ปีที่แล้ว

      sorry it was my vpn
      thanks for the open source

    • @kode_erik
      @kode_erik  ปีที่แล้ว

      You're welcome

  • @jancargotv1373
    @jancargotv1373 ปีที่แล้ว

    Hello I need help on this video

    • @kode_erik
      @kode_erik  ปีที่แล้ว

      How can I help

  • @gimmickdoangini
    @gimmickdoangini ปีที่แล้ว

    Tutorial dari awal cara buat nya mas 🙏🏻

    • @kode_erik
      @kode_erik  ปีที่แล้ว

      Tutorial Ada di description link ke website saya, triyonos.com

    • @belajarwebsite9172
      @belajarwebsite9172 ปีที่แล้ว

      @@kode_erik webnya gabisa mas

  • @fatimazahrae4049
    @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
      @kode_erik  ปีที่แล้ว +1

      please email the problems you are facing regarding this tutorial to erik@triyonos.com
      hopefully i can help

  • @miftakhulmubarrok2261
    @miftakhulmubarrok2261 ปีที่แล้ว

    nanya kang, ini pake algoritma apa ya?

    • @kode_erik
      @kode_erik  ปีที่แล้ว

      Pake algoritma haar cascade

  • @imankamal2191
    @imankamal2191 ปีที่แล้ว

    can you make tutorial that use CNN algorithm not LBPH algorithm?

    • @kode_erik
      @kode_erik  ปีที่แล้ว

      Saya harus pelajari dulu

    • @imankamal2191
      @imankamal2191 ปีที่แล้ว

      @@kode_erik 👍

  • @rajibghosh4849
    @rajibghosh4849 ปีที่แล้ว

    can you make a face recognition software for me? i will pay you

    • @kode_erik
      @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

  • @eduardomotamotamota
    @eduardomotamotamota ปีที่แล้ว

    You missed the prs_mstr table create script.

    • @kode_erik
      @kode_erik  ปีที่แล้ว

      the sql script for prs_mstr is in the tutorial
      triyonos.com/pycharm-flask-opencv-face-recognition-registration-using-mysql-database

    • @arifrahman4720
      @arifrahman4720 ปีที่แล้ว

      @@kode_erik link tidak bisa dibuka

  • @atitsy7847
    @atitsy7847 ปีที่แล้ว +1

    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
      @kode_erik  ปีที่แล้ว

      did you do the registration process and face training in the "Pycharm - Flask OpenCV Face Recognition Web with MySQL Database" tutorial?

    • @atitsy7847
      @atitsy7847 ปีที่แล้ว

      @@kode_erik yess everything works well untill i press the training button

    • @atitsy7847
      @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
      @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
      @atitsy7847 ปีที่แล้ว

      @@kode_erik it worked, thank you so much sir

  • @alpondaver.santillan4243
    @alpondaver.santillan4243 ปีที่แล้ว

    Table flask_db.prs_mstr doesnt exist

  • @fatuhaditya999
    @fatuhaditya999 ปีที่แล้ว

    Mantap mas project nya,
    ada kontak yang bisa di hubungi?mungkin bisa bantu project saya

    • @kode_erik
      @kode_erik  ปีที่แล้ว

      email saja dulu ke erik@triyonos.com

  • @ahmadishaq109
    @ahmadishaq109 8 หลายเดือนก่อน

    halo mas
    apakah bisa saya meminta source code nya?
    saya nomor wa nya

  • @adeneviyani5625
    @adeneviyani5625 ปีที่แล้ว

    boleh share kode program lengkapnya kak

    • @kode_erik
      @kode_erik  ปีที่แล้ว

      ada di description

  • @miftahq1
    @miftahq1 ปีที่แล้ว

    Ada loading bar nya ya bang

    • @kode_erik
      @kode_erik  ปีที่แล้ว

      Iya, untuk validasi

    • @miftahq1
      @miftahq1 ปีที่แล้ว +1

      @@kode_erik pakai metode mtcnn atau cnn dong bang

    • @kode_erik
      @kode_erik  ปีที่แล้ว

      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

    • @alfianramadhan6590
      @alfianramadhan6590 ปีที่แล้ว +1

      @@miftahq1 itu metodenya pake haar cascade untuk face detectionnya dan LBPH untuk face recognitionnya

    • @damirvujkovic7818
      @damirvujkovic7818 ปีที่แล้ว

      @@kode_erik \

  • @HadjBettaher
    @HadjBettaher ปีที่แล้ว

    hi The camera is not working

    • @kode_erik
      @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
      @HadjBettaher ปีที่แล้ว

      @@kode_erik FileNotFoundError: [WinError 3] The system cannot find the path specified: 'C:/Users/Erik/PycharmProjects/FlaskOpencv_FaceRecognition/dataset'

    • @kode_erik
      @kode_erik  ปีที่แล้ว

      @@HadjBettaher the destination folder must be changed, adjusted to the root folder of the pycharm installation on your computer

  • @ivancutipa3052
    @ivancutipa3052 หลายเดือนก่อน

    Hello friend, your project is excellent, how can I contact you for your help?

  • @komputerinformatika2231
    @komputerinformatika2231 ปีที่แล้ว

    Bang pakai pyton versi berapa ya.
    Nanti klau beda versi takutnya ngak sama terimakasih jawabannya

  • @faniarisdiana7580
    @faniarisdiana7580 ปีที่แล้ว

    Linknya gak bisa bang

    • @kode_erik
      @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
      @faniarisdiana7580 ปีที่แล้ว

      @@kode_erik webnya gak bisa diakses

    • @faniarisdiana7580
      @faniarisdiana7580 ปีที่แล้ว

      @@kode_erik oh bisa sudah gan, makasih ya

    • @faniarisdiana7580
      @faniarisdiana7580 ปีที่แล้ว

      @@kode_erik facerecognition.zipnya disebelah mana ya kak?

  • @tms-palembang
    @tms-palembang ปีที่แล้ว

    link mati

    • @kode_erik
      @kode_erik  ปีที่แล้ว

      Mungkin pada saat itu jaringan terputus, saya cek tidak ada masalah dgn link downloadnya

  • @gabrielardi8442
    @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

  • @kmotv3563
    @kmotv3563 ปีที่แล้ว

    hello i followed the process and still get an error jinja2.exceptions.TemplateNotFound: index.html. what should i do?

    • @kode_erik
      @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
      @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
      @kode_erik  ปีที่แล้ว

      @@kmotv3563 its ok

    • @kmotv3563
      @kmotv3563 ปีที่แล้ว

      still no progress. By the way the link that you put is un accessible.

    • @kmotv3563
      @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')

  • @Crypto_7H
    @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

  • @hidayatdayat1871
    @hidayatdayat1871 8 หลายเดือนก่อน

    Izin bertanya, jika text editornya memakai VS CODE bisa ga ya?