Face detection

437 views
Skip to first unread message

Stéfan van der Walt

unread,
Mar 28, 2013, 5:35:31 AM3/28/13
to scikit-image
Hi everyone

I've been interested in getting face detection into skimage for a
while. This morning, Nathan Faggian reminded me that the highly
popular Viola-Jones detector is patent encumbered (yes, if you're not
careful you can use patented code in packages like OpenCV). However,
the following link seems to suggest that we can work around that by
training our own classifier with different features:

http://rafaelmizrahi.blogspot.com/2007/02/intel-opencv-face-detection-license.html

If there's any interest in working on this, or if you already have an
algorithm available, please get in touch.

Stéfan

Vasanth Kalingeri

unread,
Feb 18, 2014, 2:55:39 AM2/18/14
to scikit...@googlegroups.com
Hi Stéfan,

      I am a computer science undergrad, presently in my second year and extremely interested in machine learning and computer vision.

      I found the project that you mentioned, here and I find it to be really interesting to work on. I have used the haar classifier for detecting faces(mostly as a black box) and I would like to understand its working so that I can work on this project, can you please let me know how I start with this? Any good algorithms in recent research papers that I have to read? or any essential prerequisites for the project?

     Thanks a lot in advance.

Vasanth Kalingeri

Stéfan van der Walt

unread,
Feb 18, 2014, 5:30:16 AM2/18/14
to scikit-image
Hi Vasanth

On Tue, Feb 18, 2014 at 9:55 AM, Vasanth Kalingeri
<vasanth....@gmail.com> wrote:
> I found the project that you mentioned, here and I find it to be
> really interesting to work on. I have used the haar classifier for detecting
> faces(mostly as a black box) and I would like to understand its working so
> that I can work on this project, can you please let me know how I start with
> this? Any good algorithms in recent research papers that I have to read? or
> any essential prerequisites for the project?

The best place to start is by reading the paper(s) by Viola & Jones,
and making sure you understand their approach fully. Then, the
instructions given on the project outline can be explored to train
some new filters.

Pre-requisites for this project are fairly general skills such as
being able to a) read and understand papers independently b) apply
creative thinking around algorithms and ideas to replace
patent-encumbered parts of the algorithm and c) easily implement and
experiment with different approaches.

However, much more important is the ability to engage with the
community. A good way of doing so is through the process of filing
and discussing a pull request.

Regards
Stéfan

Esteban Pardo

unread,
Mar 5, 2014, 5:37:52 PM3/5/14
to scikit...@googlegroups.com
Hi!
I have some questions regarding this project:

Do you want to stick with OpenCVs alternative (center and tilted features; adaboost of decision trees) or is it ok to explore other alternatives?

If you prefer a different (maybe newer) approach, then:
How much of the original Viola-Jones object detector you want?

The title of this thread is "Face detection" so if you just want face detection there are some papers that extend the original algorithm putting the stress on that topic.
If you want to have a Viola-Jones generalistic object detection framework we should stick close to the original formulation (use other features [variations to the integral image computation] and other ensemble algorithms [I've seen SVMs too]).

In the case you want a generalistic object detection framework, and don't want to stick with Viola-Jones approach; What do you prefer, efficiency or performace?
There are some newer methods like pictorial structures that perform good with articulated objects too like the human body but may not be suited (depending on how many parts and which appearance and deformation parameters you chose) for real time applications.

Either way, my current area of research is detection of articulated objects and I've just opened an issue (https://github.com/scikit-image/scikit-image/issues/904) on GitHub to know if you want some work towards that direction. I can implement the generalized distance transform now, and leave for the summer the rest of the code. Or just implement the generalized distance transform now (if you want to implement some recursive, energy minimization algorithm in an efficient way you will use it; plus its a good way to show my skills) and discuss what would be the best approach for this project.

Thanks for your time!

Daniil Pakhomov

unread,
Mar 4, 2015, 2:19:22 AM3/4/15
to scikit...@googlegroups.com
Hello,

Is there still interest in the implementation?

I have experience with face detection. And I can do it as a GSOC project.

Thank you.

четверг, 28 марта 2013 г., 10:35:31 UTC+1 пользователь Stefan van der Walt написал:

Stefan van der Walt

unread,
Mar 4, 2015, 2:38:42 AM3/4/15
to scikit...@googlegroups.com
Hi Daniil

On 2015-03-03 23:19:22, Daniil Pakhomov
<warmspr...@gmail.com> wrote:
> Is there still interest in the implementation?

There is definitely still interest.

> I have experience with face detection. And I can do it as a GSOC
> project.

I would consider doing a summer of code (although I have to make
sure we are registered with the PSF), but note that we only do
GSOCs with students who have contributed PRs to the project
*before the start of the GSOC*.

Regards
Stéfan

Daniil Pakhomov

unread,
Mar 4, 2015, 3:25:09 AM3/4/15
to scikit...@googlegroups.com
Thank you for really fast response :)


When is the deadline for getting the PR?


четверг, 28 марта 2013 г., 10:35:31 UTC+1 пользователь Stefan van der Walt написал:
Hi everyone

Stefan van der Walt

unread,
Mar 4, 2015, 3:51:00 AM3/4/15
to scikit...@googlegroups.com
On 2015-03-04 00:25:09, Daniil Pakhomov
<warmspr...@gmail.com> wrote:
> When is the deadline for getting the PR?

There is no deadline as such. We want to get to know you, your
coding style and your way of interacting with the team before
GSoC. So, the more we get to engage, the better the chances of
doing a project this summer!

Daniil Pakhomov

unread,
Mar 26, 2015, 7:42:41 AM3/26/15
to scikit...@googlegroups.com
Hello, Stefan.

Could I ask you to review my proposal, please?
Because I have a little confusion on how we can avoid the patent.

Thank you.


четверг, 28 марта 2013 г., 10:35:31 UTC+1 пользователь Stefan van der Walt написал:
Hi everyone

Daniil Pakhomov

unread,
Mar 26, 2015, 7:43:09 AM3/26/15
to scikit...@googlegroups.com



четверг, 28 марта 2013 г., 10:35:31 UTC+1 пользователь Stefan van der Walt написал:
Hi everyone

Amit Bhatkal

unread,
Dec 8, 2015, 7:10:42 AM12/8/15
to scikit-image
Hi Stefan ,
  I have been using python for developing simple image processing applications . I have used skimage as well. I would love to contribute to a project which involves image processing and machine learning but most importantly I want to gain an experience of working with open-source communities.

I am interested in contributing to the Face Detection project. It would be helpful if I can get some tasks/ references / coding guidelines so that I can get started.

Thank you

Regards,
Amit

Stéfan van der Walt

unread,
Dec 8, 2015, 2:05:00 PM12/8/15
to scikit-image
Hi Amit

On Tue, Dec 8, 2015 at 3:25 AM, Amit Bhatkal <amitbh...@gmail.com> wrote:
> I am interested in contributing to the Face Detection project. It would be
> helpful if I can get some tasks/ references / coding guidelines so that I
> can get started.

The face detection project was completed as a Google Summer of Code
project, but there are many other ways to contribute! For one, you
can help us to prepare for the upcoming 0.12 release by trying to
close any issues still open.

Thanks for helping out!

Best regards
Stéfan

Amit Bhatkal

unread,
Dec 8, 2015, 11:59:17 PM12/8/15
to scikit...@googlegroups.com
Thank you Stefan. I will have a look at the issues and contribute wherever I can. Can you please point me to the page containing the issues.

Regards,
Amit


--
You received this message because you are subscribed to the Google Groups "scikit-image" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scikit-image...@googlegroups.com.
To post to this group, send an email to scikit...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/scikit-image/CABDkGQmMR%2Bj5iF-RcuvV1FowXAav9KRxO%3DgB22HfH7x0LjcU2Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages