loading

Face detection is the way of determining the locations of human faces in digital images or video stream like cam.

We use face detection in robotics and also in biometric recognition like in this instructable

https://www.instructables.com/id/Person-Authenticat...

In this instructable i show you how to do real time face detection using OpenCV library with Java programming language.

Requirements :

1- PC or laptop contains JDK (download JDK from this link)

http://www.oracle.com/technetwork/java/javase/down...

2- Netbeans IDE( download java se from this link https://netbeans.org/downloads/ )

3- USB webcam.

Steps :

See this video to know how to develop this application

Source Code :

https://www.github.com/emara-geek/real-time-face-detection-using-opencv-with-java

<p>I Have Project Open Source Here</p><p>https://www.instructables.com/id/Real-Time-Face-Detection-using-OpenCV-with-Java/</p>
<p>Here is other example. I think it is simplier</p><p>http://privateblog.info/java-tips-and-tricks/kak-poluchit-kartinku-s-kamery-s-pomoshhyu-opencv/</p>
<p>run:</p><p>Exception in thread &quot;AWT-EventQueue-0&quot; java.lang.UnsatisfiedLinkError: no opencv_java in java.library.path</p><p>at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1860)</p><p>at java.lang.Runtime.loadLibrary0(Runtime.java:845)</p><p>at java.lang.System.loadLibrary(System.java:1084)</p><p>at org.opencv.core.Mat.&lt;clinit&gt;(Mat.java:2141)</p><p>at gui.FaceDetection.&lt;init&gt;(FaceDetection.java:32)</p><p>at gui.FaceDetection$3.run(FaceDetection.java:208)</p><p>at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)</p><p>at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:721)</p><p>at java.awt.EventQueue.access$200(EventQueue.java:103)</p><p>at java.awt.EventQueue$3.run(EventQueue.java:682)</p><p>at java.awt.EventQueue$3.run(EventQueue.java:680)</p><p>at java.security.AccessController.doPrivileged(Native Method)</p><p>at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)</p><p>at java.awt.EventQueue.dispatchEvent(EventQueue.java:691)</p><p>at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:244)</p><p>at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:163)</p><p>at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)</p><p>at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:147)</p><p>at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:139)</p><p>at java.awt.EventDispatchThread.run(EventDispatchThread.java:97)</p><p>BUILD SUCCESSFUL (total time: 3 seconds)</p>

About This Instructable

23,740views

15favorites

License:

More by Taha Emara:Real Time Face Detection using OpenCV with Java Implementation of MP3 player using Raspberry Pi Person Authentication using Face detection by PC and Microcontroller (PIC, Arduino ,.....)  
Add instructable to: