Some code issues if you want to use this with OpenCV 3.0 Imgproc.rectangle no longer Core.rectangle highgui is gone, so: import org.opencv.videoio.VideoCapture; import static org.opencv.imgcodecs.Imgcodecs.imencode; Cheers!
@tabsheerabdulla
9 жыл бұрын
CJ Edwards
@shansilva9292
9 жыл бұрын
Clinton Edwards thanks man it is helpfull
@anesbel2213
7 жыл бұрын
Please Clinton Edwards import org.opencv.core.*; import org.opencv.Core.Mat; import org.opencv.core.MatOfByte; import org.opencv.core.MatOfRect; import org.opencv.core.Point; import org.opencv.core.Rect; import org.opencv.core.Scalar; import org.opencv.core.Size; import static org.opencv.imgcodecs.Imgcodecs.imencode; import org.opencv.videoio.VideoCapture; import org.opencv.imgproc.Imgproc; import org.opencv.objdetect.CascadeClassifier; modules errors on opencv version 3 ???? give me correct modules about this version of opencv... and thanks
@TahaEmara
7 жыл бұрын
if you use opencv3, see this comment github.com/emara-geek/real-time-face-detection-using-opencv-with-java/issues/1#issuecomment-289291259
@anesbel2213
7 жыл бұрын
Thanks Taha Emara
@darshanathaveesha2026
9 жыл бұрын
Can You create video tutorial for vehicle number plate detection Using Opencv and java
@TahaEmara
6 жыл бұрын
Try to check this project github.com/openalpr/openalpr
@mr.gramajo7402
5 жыл бұрын
why?????????????????????????????????????????????
@erikshupingahua8618
5 жыл бұрын
Do you need to have your food brought to bed too? and wash your clothes? ajajajjajajjajajaja :v
@nikshitasharma6101
6 жыл бұрын
Hii Taha! i am getting trouble in running this code.In this statement g = jPanel1.getGraphics(); the error is showing up as: C:/Users/sss/Documents/NetBeansProjects/FaceDetection/build/classes/gui/haarcascade_frontalface_alt.xml Error!! java.lang.RuntimeException: Uncompilable source code - Erroneous sym type: java.lang.Object.getGraphics at gui.FaceDetection$DaemonThread.run(FaceDetection.java:65) at java.lang.Thread.run(Thread.java:748) i am using OpenCV 3.4.1 and netbeans 8.2 kindly help
@jenna9185
8 жыл бұрын
Hi.. Sir the whole code is working properly except that it is not detecting any face even after restart.... Kindly help me out ASAP.
@naureenfirdous9645
8 жыл бұрын
is it working now ? , please reply ASAP .
@skyx7116
8 жыл бұрын
sorry sir, why his face detection does not work?
@GerryJrGohil
2 жыл бұрын
Where to download the opencv .jar files? Thanks
@abhishektripathi4866
3 жыл бұрын
how to detect if object if face if person is wearing helmet or face is covered with mask
@mesutpiskin
9 жыл бұрын
Daha sade ve kolay bir şekilde bir kaynak oluşturdum,Türkçe arıyorsanız buraya göz atabilirsiniz. mesutpiskin.com/blog/opencv-java-yuz-tespiti.html
@CHETANSGAMEZZ
6 жыл бұрын
You are one of the coolest persons ,I've found on KZitem yet.....
@rossy3655
8 жыл бұрын
I dont know how to solve this problem C:\opencv\build\java\x86\opencv_java249.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform D:, help :)
@ahmadfaris2456
7 жыл бұрын
im also stuck in this part
@mukeshvishwakarma8441
7 жыл бұрын
right click on your project, select run then go to vm option and in the path write -Djava.library.path="G:\opencv\build\java\x64" i.e replace x86 with x64
hello sir, the program is working, but it cannot detect face. In your video you just restart your project and its working, I did that but doesnt work ? any solution ?? thanks
@emceeep
8 жыл бұрын
I have the same problem. Have u found any solution?
@TheBoomray
8 жыл бұрын
me too. T^T
@karoltrzcinski8171
8 жыл бұрын
take code from his github.
@TahaEmara
6 жыл бұрын
I recommend you to use deep learning models it is more accurate than this method, see this example github.com/bytedeco/javacv/blob/master/samples/DeepLearningFaceDetection.java
@harshmehta9584
4 жыл бұрын
is there any way ti identify the face too
@peekschool3586
3 жыл бұрын
I am so pissed of by an error: Could not find or load main class, such a basic one. Probably m gonna throw my laptop away in a few minutes...
@peekschool3586
3 жыл бұрын
@1:57 problem occurs when i add this line
@sebastianmendezmorelo238
7 жыл бұрын
Unrecognized option: -Cjava.library.path=C:\opencv\build\java\x64 quien me ayuda
@ziyedhamrouni886
8 жыл бұрын
I have this error although the script worked : OpenCV Error: Bad flag (parameter or structure field) (Unrecognized or unsupported array type) in cvGetMat, file ..\..\..\..\opencv\modules\core\src\array.cpp, line 2482
@jd9542
6 жыл бұрын
Face Detection is not working because of problem in PATH. try to give full path like "D:\\haarcascade_frontalface_alt.xml" instead of FaceDetection.class.getResource("haarcascade_frontalface_alt.xml").getPath() . to understand clearly check: stackoverflow.com/questions/17134126/open-cv-detecting-faces-in-java
@ajayjoshua2864
7 жыл бұрын
Exception in thread "main" java.lang.UnsatisfiedLinkError: no opencv_java2413 in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1867) at java.lang.Runtime.loadLibrary0(Runtime.java:870) at java.lang.System.loadLibrary(System.java:1122) at gui.FaceDetection.main(FaceDetection.java:192) C:\Users\win\AppData\Local\NetBeans\Cache\8.2\executor-snippets un.xml:53: Java returned: 1 BUILD FAILED (total time: 0 seconds) How do I fix this?
@ArshadAli_
7 жыл бұрын
Even im stuck with the same exception. Somebody please help
@EzzYassine
7 жыл бұрын
I think u should add opencv
@olayemii
7 жыл бұрын
add opencv.jar to your library
@PSNAcademy
8 жыл бұрын
The program is running without error. But the problem of not detecting face persists. Restarting the project didn't help. Moreover the video is not aligned. I have tested my camera on other software and found perfect. Would you please help in this regard. Thanks.
@paddupechetti9264
5 жыл бұрын
Good sir,can you have any other real projects in these technologiies........?
@shubhamrai87
4 жыл бұрын
Hi taha, it's working good.. But Rectangle shape is not forming on the face. I am using same version of opencv 2.4.9, what you have used. Now, what can I do for forming rectangle shape on face??
@bichoymessiha9326
8 жыл бұрын
It will be much helpful to explain while copying the code... Anyways it was kinda helpful, thank you
@onelgamusictv4249
7 жыл бұрын
The solution to the problem of not detecting Faces in my own case was Copying the Netbean Project to Folder in my drive C and Reopening the project...
@eliheyderqubatov715
8 жыл бұрын
Do you know what this haarcascade.xml is?
@juanazcarreta31
8 жыл бұрын
Hi, I tried the code but I do not have any output in the console, neither any error is displayed, but the face window is not displayed neither. What can I am be doing wrong? I checked the code and everything seems good. Thanks for your advice,
@akshaykumar-zt8xl
9 жыл бұрын
hi i am not getting my output although my code is successfully compiled what should i do ???
@blingwing1856
7 жыл бұрын
Hi Taha, can you please tell me how i can create own att or yale faces data set(real time) using javac. is there any tutorial or link for the same. am able to capture and save faces but they are different in size and pixel,it would be great if you help out :) Thanks
@stonekil1999
8 жыл бұрын
i need help here. when i run my code it says build successful but i don't actually see the frame built and my face recorded. nothing happens. did i miss something
@Tushara007
9 жыл бұрын
Thank you sir for this video but sir i have a problem. I write whole code in netbeans, code also work properly but when i create a jar file then jar file also create but not execute so please sir help me. Sir one problem is also come that when we detect our face so video in frame per second is very slow just like your video when you detect your photo so please sir help me & please give me answer fastly
@Renchii64
5 жыл бұрын
Why my Core.rectangle is error the rest is ok
@fanreto2063
5 жыл бұрын
wt is your opencv version? if u r using opencv 3.0+ try Imgproc.rectangle
@sakshisingh1442
7 жыл бұрын
can we make face recognition as a input password in eclipse software???if yes pls make a video on that too
@asmaakhaled9664
3 жыл бұрын
thank you alot but my program can not detect faces even I restart it
@Titanic126
7 жыл бұрын
Work this for drink etickets too?
@mahdiabdelmouleh6485
8 жыл бұрын
Salem Si Taha, J'ai essayé votre code source, j'ai le meme erreur que vous avez trouvez si votre video. Lorsque je teste l'application, le cadre sur le visage ne s'affiche pas!! meme si je redemarre l'application ou netbeans.Quel est le probleme d'apres vous? merci d'avance pour votre aide. chokran :)
@miteshmikchan5753
7 жыл бұрын
import org.opencv.highgui.Highgui; import org.opencv.highgui.VideoCapture; ;;;;plz...can you give me sugesstion to solve thgis error........
@sebastianmendezmorelo238
7 жыл бұрын
Descarga la version De openCV 249 ya que en la actualizada no tiene esa parte de la libreria
@akankshakashyap660
7 жыл бұрын
The code is going into catch block and unable to show the webcam video in the panel.
@bentenison4299
8 жыл бұрын
Sir, i want to add a condition here that if user is not detected it must wait for 10 sec and still user is not detected then it will print msg"user not present".can you provide those conditons
@saurabhtiwary4441
4 жыл бұрын
amazing..really very helpful
@tanachotekongsang859
9 жыл бұрын
You help me a lot ,Thank you
@user-di4pl5ki4l
6 жыл бұрын
i didn't get proper code . can u send me?? plzz give me code
@yahyaazouzi1531
9 жыл бұрын
hi Taha . thank you for this tutorial , how i can use it for authentifacation
@wajihbenahmed483
9 жыл бұрын
Yahya Azouzi yes nice question :) i want to use it also for authentifacation
@TahaEmara
9 жыл бұрын
Yahya Azouzi yes but you will use face detection and face recognition algorithms see this video kzitem.info/news/bejne/1q6Oy4OJf518iKg
@ashraf0011
7 жыл бұрын
can u describe how it works in coding part and what Algorithm you use???
@abhishektiwari2508
6 жыл бұрын
have u solved aur identified problem for using it in authentication ?
@sanowertamjit6089
9 жыл бұрын
There is a problem at line 69 . cannot read image
@gabrielguedes5979
9 жыл бұрын
Thank'you my friend!
@medoman1461
9 жыл бұрын
hi i need to know how to use surf algorithm in real time object detection in java
@how2do139
7 жыл бұрын
Hi are there atoutorial show how do this step by step
@muskanpaliwal5895
5 жыл бұрын
can someone please send text file for this code?
@NachiketKulkarni93
9 жыл бұрын
Does the code detect multiple faces at a time or just one face ??
@daveallenmotea5997
9 жыл бұрын
how can I be able to save to a database the faces detected by the webcam?
@marcosradix1
8 жыл бұрын
please, how to fix it ? Errojavax.imageio.IIOException: Unablemto read image header
@jovanielliwanen9575
7 жыл бұрын
i got the same problem, does anyone know how to fix it??
@Otomega1
7 жыл бұрын
Change your profile image Good video
@siriruangphatchuay4024
8 жыл бұрын
Hi Taha Emara - what software did you use for work ? sir can u mail me the source code i hav been working on weapons detection related project for Ph.D / Thank you
@alienjava532
7 жыл бұрын
really awesome sir! but i have a question. ¿How can i implement a lie detector? is there an algorithm to do it? thanks a lot
@rashedulalam1495
6 жыл бұрын
How i can detact a light or fan??and also detact on off system...pls help
@praveenyadav7024
7 жыл бұрын
no available class. please reply fast
@davidang8003
5 жыл бұрын
bro it doenst show the green grid
@jamesarvinrozul8293
8 жыл бұрын
any suggestion to decrease the lag?
@ZahidulHuqShovon
7 жыл бұрын
OpenCV Error: Assertion failed (!empty()) in cv::CascadeClassifier::detectMultiScale, file C:\build\master_winpack-bindings-win64-vc14-static\opencv\modules\objdetect\src\cascadedetect.cpp, line 1681 How can I overcome this problem?
@ZahidulHuqShovon
7 жыл бұрын
I solved it. Code replaced by CascadeClassifier faceDetector = new CascadeClassifier(FaceDetection.class.getResource("haarcascade_frontalface_alt.xml").getPath().substring(1).replaceAll("%20", " ")); Its working fine. Thanks :-)
@rika_anwar7011
7 жыл бұрын
help...it can't detect face
@adelchaouia4456
8 жыл бұрын
Exception in thread "main" java.lang.UnsatisfiedLinkError: no opencv_java249 in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1865) at java.lang.Runtime.loadLibrary0(Runtime.java:870) at java.lang.System.loadLibrary(System.java:1119) at gui.FaceDetection.main(FaceDetection.java:194) Java Result: 1 BUILD SUCCESSFUL (total time: 0 seconds) comment regler ce probleme svp
@shaabanebrahim818
8 жыл бұрын
+Adel CHAOUIA try to edit vm option to opencv path
@adelchaouia4456
8 жыл бұрын
thank you
@limzhongpeng3949
8 жыл бұрын
+Adel CHAOUIA I also got the same problem, how you solved it?? I already provided the correct opencv path which is -Djava.library.path="C:\opencv\build\java\x86"
@thalesludwig
8 жыл бұрын
+Adel CHAOUIA How did you solve it?
@limzhongpeng3949
8 жыл бұрын
+Thales Ludwig Djava.library.path="C:\opencv\build\java\x86" is for the 32 bit operating system. If your operating system is 64 bit then you should use Djava.library.path="C:\opencv\build\java\x64"
@salmanuralisa1991
8 жыл бұрын
Hallo Sir, I like your videos. Thank you, 'cause your videos it's very helpful! Anyway Sir, do you have a video that show Hand tracking Fingers tracking + static gesture recognition (with code) using Java+Netbeans??
@anaswasim2116
6 жыл бұрын
Hi Taha, I need the program to capture the pic as soon as a face is detected. Can u help me in that? Thanks
@abobakersdeeg
8 жыл бұрын
اين الصوت اخى الكريم
@somnathroy8803
6 жыл бұрын
Highgui.imencode(".bmp", frame, mem); error when i use openCV 3.4.1 how to solve it
@TahaEmara
6 жыл бұрын
Somnath Roy opencv 3 does not contains highgui module. See this comment here github.com/tahaemara/real-time-face-detection-using-opencv-with-java/issues/1#issuecomment-289291259
@Brinkman198
8 жыл бұрын
really helpfull tutorial thank you, i have a question: how can i write a real time object detection such as screw driver or a knife? Do i need the cascades? if yes wich one?
@kartikmishra2846
8 жыл бұрын
which algorithm is used in this face detection?
@TahaEmara
8 жыл бұрын
+kartik mishra it uses haar cascade training method
@simonebritto265
8 жыл бұрын
it works fine.thanks a lot :)
@vanloi8213
9 жыл бұрын
that's you Taha Emara!! that's good!!
@chandikaambawatte7504
9 жыл бұрын
This is really helpful :) Thank you very much :)
@ashishgiri7812
4 жыл бұрын
Sir how can we add face recognition for android app code in android studio since we've been coding in java is it same as this ?
@TahaEmara
4 жыл бұрын
Try to use dlib android port github.com/tzutalin/dlib-android
@asmajaveed6398
7 жыл бұрын
really helped m
@danpogangeanu1018
5 жыл бұрын
The code works perfect with a regular webcam. Thank you! for a handy-cam I get a error "buffer sizes do not match". If can provide the additional implementation before i dig it, I would appreciate. Thank you so much again!
@danpogangeanu1018
5 жыл бұрын
Just FYI: problem solved setting the capture to HD.getsize() instead of the precise camera's values. Thank you again for the very good introduction!
@yasirchoudhary824
8 жыл бұрын
nice video
@Mireda-wr3yc
9 жыл бұрын
what version of OpenCV you used in this tutorial ?
@TahaEmara
9 жыл бұрын
+Reda Ayala 2.4.9 .. new version 3 does not contain highgui
@Mireda-wr3yc
9 жыл бұрын
yeah , but it works wirh ImgCodecs & ImgProc )) , only a simple change in the source code , thnx for the tutorial man (y)
@DevendraSingh-qi5qf
8 жыл бұрын
+Reda Ayala would you mail me the latest code you written. i just started this on android.
@Mireda-wr3yc
8 жыл бұрын
sure but you need openCV 3 latest version give me ur mail
@DevendraSingh-qi5qf
8 жыл бұрын
yes i configured the opencv in my studio. droidwithme@gmail.com is my mail.Actually i want to recognize the face in my case i will have some pictures stored at some place like server or in my device's local storage so whenever the person comes in front of the camera the app should provide the detail about the person. looking forward. Thank you so much.
@rinishihara1755
9 жыл бұрын
Greatly appreciated, this has help me a lot... Thank you
@RashidShiralizade
9 жыл бұрын
Taha Emara How to record video and save with OpenCV ?
@TahaEmara
9 жыл бұрын
If you program with java see this link stackoverflow.com/questions/14070370/how-to-capture-and-record-video-from-webcam-using-javacv but if you program with C++ see this link stackoverflow.com/questions/24195926/opencv-write-webcam-output-to-avi-file
@RashidShiralizade
9 жыл бұрын
Thanks ! Taha Emara
@raf.nogueira
7 жыл бұрын
HighGui doesn't not exist in OpenCV java anymore , anyone can help me how I implement this simple example without the HighGUI ? I already make the painting panel and loading images, drawing with a thread . I just want to make the rectangle in the face in the image
@TahaEmara
7 жыл бұрын
if you use opencv3, see this comment github.com/emara-geek/real-time-face-detection-using-opencv-with-java/issues/1#issuecomment-289291259
@raf.nogueira
7 жыл бұрын
Thank you a lot my friend !
@kalyanaravalli
9 жыл бұрын
Dude.. Thanks for this. Could you please let me know how to count people in the webcam???
@TahaEmara
9 жыл бұрын
Kalyan Aravalli declare a count variable and increment it in enhanced for . for (Rect rect : faceDetections.toArray()) {}
@kalyanaravalli
9 жыл бұрын
Taha Emara could you please send me that code
@durgeshchoudhari6182
7 жыл бұрын
Can you send me code for counting the faces
@robinrai341
7 жыл бұрын
I have followed your instruction in given video but still it is giving error is below: import org.opencv.highgui.Highgui; import org.opencv.highgui.VideoCapture; does not exit
@TahaEmara
7 жыл бұрын
in opencv3.0, there is no highgui module in java. To migrating from OpenCV 2.x to 3.0.0 (Java) Highgui.imread(fileName, Highgui.CV_LOAD_IMAGE_GRAYSCALE)becomes Imgcodecs.imread(fileName, Imgcodecs.CV_LOAD_IMAGE_GRAYSCALE) And Highgui.imread(fileName) becomes Imgcodecs.imread(fileName) also , drawing functions such as: Core.circle(..), Core.line(..) become Imgproc.circle(..), Imgproc.line(..) Core.rectangle(frame, new Point(rect.x, rect.y), new Point(rect.x + rect.width, rect.y + rect.height)becomes Imgproc.rectangle(frame, new Point(rect.x, rect.y), new Point(rect.x + rect.width, rect.y + rect.height);
@robinrai341
7 жыл бұрын
thank u so much
@robinrai341
7 жыл бұрын
sir there is still error in video capture which is Video capture is already define in this compilation unit
@nyekowalter2020
7 жыл бұрын
Emara, help me here on what to do.....OpenCV Error: Unspecified error (could not find a writer for the specified extension) in cv::imwrite_, file C:\build\master_winpack-bindings-win64-vc14-static\opencv\modules\imgcodecs\src\loadsave.cpp, line 531 Exception in thread "AWT-EventQueue-0" CvException [org.opencv.core.CvException: cv::Exception: C:\build\master_winpack-bindings-win64-vc14-static\opencv\modules\imgcodecs\src\loadsave.cpp:531: error: (-2) could not find a writer for the specified extension in function cv::imwrite_
@anuragrichhariya8969
7 жыл бұрын
sir ,the code I have followed all the instructions shown in the video ,but it is giving errors Exception in thread"main" Java.lang.UnsatisfiedLinkError : no opencv_java249 in Java . library.path at Java.lang.ClassLoader....,...... At gui. FaceDetection.main(FaceDetection.java:192) plz help me ..
@nyekowalter2020
7 жыл бұрын
I also face that same error, I decided to re do the coding in another class, this time i face this error up to now OpenCV Error: Unspecified error (could not find a writer for the specified extension) in cv::imwrite_, file C:\build\master_winpack-bindings-win64-vc14-static\opencv\modules\imgcodecs\src\loadsave.cpp, line 531 Exception in thread "AWT-EventQueue-0" CvException [org.opencv.core.CvException: cv::Exception: C:\build\master_winpack-bindings-win64-vc14-static\opencv\modules\imgcodecs\src\loadsave.cpp:531: error: (-2) could not find a writer for the specified extension in function cv::imwrite_
@nyekowalter2020
7 жыл бұрын
For your case, check whether you added the System.loadLibrary(Core.NATIVE_LIBRARY_NAME); in the main method
@nyekowalter2020
7 жыл бұрын
Am wondering why my camera starts but won't show my picture in the JFrame???? I guess it's why am getting the error for the writer
@nyekowalter2020
7 жыл бұрын
My Error still exists even after picture is successfully loaded on the frame, someone to help please
@samahab6233
9 жыл бұрын
hi, thanks for this video , can you help me to create the recognition face please , i m beginner in java and i m obliged to create application ofdetection and face recognition , and thanks in advance
@samahab6233
9 жыл бұрын
Martian Another no :( but i asked Dr taha and he gives me this link github.com/bytedeco/javacv/blob/master/samples/FaceRecognition.java it can help you
@tusharmonirul2045
9 жыл бұрын
+samah sousou page not found
@samahab6233
9 жыл бұрын
Tushar Shah try this :) github.com/bytedeco/javacv/blob/master/samples/OpenCVFaceRecognizer.java
@EwertonBraga1986
9 жыл бұрын
Hey Taha, how can i acess my ip camera with opencv? a just got it on JAVACV. Thank you!
@TahaEmara
9 жыл бұрын
+Ewerton Braga you can see this link github.com/sarxos/webcam-capture/blob/master/webcam-capture-drivers/driver-ipcam/src/examples/java/MjpegLignanoBeachExample.java
@EwertonBraga1986
9 жыл бұрын
I got indo JavaCV, the problem is interaction With Opencv.
@EwertonBraga1986
9 жыл бұрын
I dont know how to use this example With Opencv class
@durgeshchoudhari6182
7 жыл бұрын
package org.opencv.highgui does not exit error is coming
@TahaEmara
7 жыл бұрын
check this issue if you use opencv 3 github.com/emara-geek/real-time-face-detection-using-opencv-with-java/issues/1#issuecomment-289291259
@durgeshchoudhari6182
7 жыл бұрын
+Taha Emara I remove this error but after writing Native path there is one error something like opencv path not found
@durgeshchoudhari6182
7 жыл бұрын
Exception in thread "main" java.lang.UnsatisfiedLinkError: no opencv_java249 in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1867) at java.lang.Runtime.loadLibrary0(Runtime.java:870) at java.lang.System.loadLibrary(System.java:1122) at gui.FaceDetection.main(FaceDetection.java:214) C:\Users\Durgu\AppData\Local\NetBeans\Cache\8.2\executor-snippets un.xml:53: Java returned: 1 BUILD FAILED (total time: 0 seconds) THis one error is coming what are the solution
@abdullahmoon8782
6 жыл бұрын
add opencv library
@hariharasudhanshanmugam9946
9 жыл бұрын
It didnt work. Any more suggestions?
@TahaEmara
9 жыл бұрын
hari saravanan which version of windows do you use " 32 bit or 64 bit"? if you use x64 you must change this line in jvm options -Djava.library.path="C:\opencv\build\java\x86" to -Djava.library.path="C:\opencv\build\java\x64"
@Lycheeee11
9 жыл бұрын
Taha Emara where are the jvm options? I tried to run the code in eclipse, but it didn't work, the error was: selection does not contain a main type. could you help me, please?
@TahaEmara
9 жыл бұрын
see this vidro to configure eclipse with opencv kzitem.info/news/bejne/paFr4IeNfp6coaQ
@Lycheeee11
9 жыл бұрын
Taha Emara now the error is gone. but every time I pressed 'start', I got this: OpenCV Error: Assertion failed (!empty()) in cv::CascadeClassifier::detectMultiScale, file ..\..\..\..\opencv\modules\objdetect\src\cascadedetect.cpp, line 1580
@MohsinAli-yd9js
6 жыл бұрын
how to detect bike in real time??
@TahaEmara
6 жыл бұрын
Mohsin Ali Try Yolo project if you interest in deep learning, or use haar cascade training with opencv.
@MohsinAli-yd9js
6 жыл бұрын
Taha Emara i am working in java.. so what should i do
@TahaEmara
6 жыл бұрын
Try to put your photo to this recognizer app i developed with tensorflow , see this link emaraic.com/blog/object-recognition-using-TensorFlow-Java
@youssefed705
9 жыл бұрын
hello good job i went capture the face display in webcam you have any idea
@TahaEmara
9 жыл бұрын
see this video kzitem.info/news/bejne/rqeFsYGwmKuimZw
@youssefed705
9 жыл бұрын
I want to capture the face part
@TahaEmara
9 жыл бұрын
save the area of face to matrix and then convert mat to image (search google) and write image to your location using BufferedImage class
@youssefed705
9 жыл бұрын
you can tell me how to recover the facial part in the image
@TahaEmara
9 жыл бұрын
see rect in this line github.com/emara-geek/real-time-face-detection-using-opencv-with-java/blob/master/src/gui/FaceDetection.java#L64
@algerianman83
9 жыл бұрын
Do u have a code for face recognition with just opencv not with opencv & javacv
Пікірлер: 182