-3

Does anyone know about any Java library or framework that could allow me to detect people in a picture (jpg, png, etc..)?

I don't need to detect faces, nor recognize them.

All I need to know is if there is a human being present in a picture (or not).

Gabriel C
  • 1,012
  • 3
  • 12
  • 30
  • 2
    What do you need this for? If you are look at a picture of the back of a person, should it work out this? – Peter Lawrey Aug 07 '13 at 20:01
  • This is very vague. Do they have to have skin exposed? What if it is just part of a person (hand, leg, ect.)? What if it is a silhouette? What if it is an image of an image containing a person? These are all research questions that people work on for years, **not** something you ask on SO. – Austin Henley Aug 07 '13 at 20:24
  • 2
    Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. – Brian Roach Aug 07 '13 at 20:25
  • That said, I also recommend OpenCV. If you are doing this for commercial purpose, consider FaceVACS (it is very expensive but very high quality). – Jason C Aug 07 '13 at 20:26
  • The goal is to make sure a user does not upload a picture that depicts a person to my web application. I need to allow only pictures of houses (interior/exterior), desert landscapes (city, country side, and so on ..) – Gabriel C Aug 07 '13 at 20:43
  • May b this will help http://popscan.blogspot.in/2012/08/skin-detection-in-digital-images.html – swapnil gandhi Jan 05 '16 at 09:44

2 Answers2

2

I used OpenCV for a project at university. It is open source and supports many different languages, also Java. Furthemore, it has a big user community.

http://opencv.org/

schomax
  • 337
  • 2
  • 9
2

Have you checked Scholar.Google? This is a fairly common task in image processing research.

The methods that come to mind are:

Austin Henley
  • 4,625
  • 13
  • 45
  • 80
  • Thank you very much. But I really need this to be pure Java. If I don't find any open source solution I'll have to start a project from scratch and then I'll use all the available literature as a basis for my implementation. – Gabriel C Aug 07 '13 at 20:52