I am working on a Face recognition Project based on java.
These are the pre-processing steps I use:
I was done with the face detection using openCV in java.
The Link I used for face detection is: https://www.tutorialspoint.com/opencv/opencv_face_detection_in_picture.htm
After Detecting the face of a particular person in an image or picture, I want to recognise the same face in another images or pictures. So that I can collect or grouped all the images of that particular person in an seperate folder.
For Face recognition I also checked the eigenface recogniser of opencv and it mainly has the implementation for the real time face detection and recognistion using web cam.
To do so I googled and found CognitiveJ - Image Analysis in Java from GitHub.
Link for that is :https://github.com/CognitiveJ/cognitivej
also go through the videos : https://www.youtube.com/watch?v=WmzrKXWfa2o
But its chargeable, so doesn't work for me.
I also tried FAINT but it would not met my expectation as it has many plugins which specifically worked on windows OS and I am using Ubuntu.
https://faint.sourceforge.io/
So please suggest, how to group the images of particular person into a seperate folder from the folder in which many images are present along with the images of that particular person using java. So that I implement that code into my application.
Related
I am trying to develop a simple app where it will identify and remove the background of a human in image. I am researching but unable to get a point of start to understand how to identify any complex background and remove it.
I think you should look into OpenCV, it's an open source computer vision library. If you want to remove a background from a person that's a relative hard task for a beginner. I'd suggest watching some tutorials or reading them on various websites such as:
https://docs.opencv.org/
https://opencv-java-tutorials.readthedocs.io/
etc.
I'm new to Augment Reality and not having a compatible device to run examples provided for ARCore. I am having a few questions and want them to clear before going further as I'm getting clear about those through any mean. The app I'm working over is gonna perform the following task.
Detect a logo from a product
Create a 3D model of it using AR
display the generated 3D model at the exact same surface
Here is a sample image captured from a box. I want to display the text and logo in the 3D model.
My Questions
is it possible to display both logo and text as a 3D model or AR
supports images only?
Should I use ARCore or OpenCV or any other to do the task? which one is efficient regarding time and memory to implement?
Maybe it would be a discussion-based question but I am literally unable to find a solution for it.
Thanks everyone!
If you do not have ARCore supported device, you can try Vuforia + Unity instead. Vuforia also supports image recognition and overlay with AR. Check out this tutorial for your use case.
If you still want to use ARCore, you should check out Augmented Images feature. The challenge here if your logo has a good score to be able to work nicely for tracking and overlaying AR.
You can check image quality/score with this tool.
i am making an android application on CBIR i.e reverse image search for my final year project. I have started with developing an algorithm for the same in java using eclipse which is working properly. But its basing its search upon the images in the folders of computers. However in my case in the end i have to port my java code to android. So how will i make it possible to fetch images from my folder for processing on the android app.By searching on google i got an idea of using Xampp for the same but the php code is working to an extent but not storing the images in the phpmyadmin database. What is the most feasible way to do the same, i am stuck at image database part. Please help with the choice of software and methods for the same.
Android developers have created a great class to isolate colors from an image
https://android.googlesource.com/platform/frameworks/support/+/refs/heads/master/v7/palette/src/android/support/v7/graphics/Palette.java
However I could really use this in a desktop application. I tried ripping the class from the library (as recommended to me , during a Devox java conference by one of the android devs) but he probably didn't realize I would have to drag half of the android library with me then eg: Bitmap, Color
Does anyone know of a tool that might be able to strip the classes I need retroactivly from the library, or give me a better way to solve my original problem, a java class that will give me the dominant colors of an image together with their inverse and adjoining colors ? I can't write it from scratch cause we just don't have the budget/time to do that :(
I stumbled upon your question and I also found this lightweight library on github that is a port of one of the javascript libraries that Chris Banes references in the blog post mentioned above.
It's pretty good at extracting the primary color for images quickly. I would still love it if someone had a way to extract something like what android calls the "vibrant" color. Ideally I would love a way to mimic exactly what happens in the android library so i could have a seamless experience between my android, desktop, and ios experiences. I still haven't found that one yet.
Another Java port - https://github.com/trickl/palette. I wrote this one myself (I was unaware of the existence of other ports at the time). It's a pretty direct port and includes a bunch of the original tests.
There is this Palette ported library. You can use it in your Gradle based java project by adding jcenter() to your repositories and the next dependency into your build.gradle file.
dependencies {
...
compile "com.loyalsound:iris:1.1"
}
I'm trying to develop a system whereby somebody can take a picture of somebody's face and, after the image has been sent to a remote server, the client will be able to read information about the person.
I have, previously, experimented with JavaCV, however, I have found it too inaccurate for my purpose. I have tried these JavaCV algorithms so far:
Fisher Face Recognition
Eigen Face Recognition
LBPH Face Recognition
However, I need to build a facial recognition system. This will be 'standalone' and will not be run on Android (for example). I need some help in choosing the correct java sdk/library (and also whether commercial solutions, such as 'Cybula', 'NeuroTechnology' and 'Sensible Vision' can be avoided).
Any help would be much appreciated!
Thanks,
Matt
Face recognition is only the last step in the process. To solve this problem, you first have to find the face in the picture (face detection) and then in the detected face you will have to extract the characteristics of the face depending on the quality of the picture, light/flash used, facial/sideways, ... (feature extraction).
Process chain:
face detection -> feature extraction -> face recognition
There are probably a hundred publications for each of these topics. It's up to you to assemble something.
Also notable: this is not the kind of problem that has one global best solution. The chosen approach is at most optimal for the one special problem that you are trying to solve.
Other keywords that you might want to consider:
face tracking
pose estimation
facial feature tracking
emotion recognition
holistic templates
feature geometry
Also noteable: most SDKs that say they do face recognition in reality only do face detection (and sometimes (rarely) feature extraction). To do face recognition you need a huge database of known faces (face features), which of course most "vendors" don't have (not talking about all those agencies though... LOL).
Try Face++ API for Java,see here.Face++ SDK for Java, can be used in Android project.
It is recommended that Face++ free APIs are easy to use.Enjoy it :)