How to implement Face Recognition in Java using images?

How can I compare two face images, regardless of whether they belong to the same person or not.

Let me explain:

The code will receive two images as input and recognize them and compare them. If it belongs to the same person (although it takes at different times), it will return true or false.

Like this:

boolean Compare (Image a,Image b) { if (Both_are_same-person's) return true; else return false; } 

These images can be in any format, for example jpg, png, bmp, tiff.

+4
source share
1 answer

OpenCV should be useful for your requirement.

OpenCV is an open source open source computer vision library from Intel. It is free for commercial and research purposes under the BSD license. The library is cross-platform and runs on Mac OS X, Windows, and Linux. It focuses mainly on real-time image processing, since if it finds the integrated performance characteristics of Intel on systems, it will use these commercial optimized routines to speed up on its own.

This implementation is not a full OpenCV port. Currently, this is library support:

In real time, capturing a video file imports basic image processing (brightness, contrast, threshold, ...) object detection (face, body, ...) blob detection

+2
source

Source: https://habr.com/ru/post/1493818/


All Articles