Hey all,
I need your help in getting started with a project. Put in the simplest terms it is this
I will have two images
Static Image
A classroom without students
Dynamic Image
may or may not have people in it
Now, I have to design an algorithm to compare dynamic one with the static and predict whether there are any people. I need not tell how many and etc questions. I just have to tell whether or not there are people in it.
I need help in getting started.
Pattern Matching
-
- Posts: 1
- Joined: 2013-01-03T11:40:52-07:00
- Authentication code: 6789
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: Pattern Matching
IM can easily find the difference between two images. See "-metric" on http://www.imagemagick.org/script/comma ... ptions.php . I would start with "RMSE". There will be some difference between the images even with no students because of lighting etc, so some experimentation with images will probably show there is some threshold number. If the result is less than this threshold, there are no students. If above, there are.
snibgo's IM pages: im.snibgo.com