Skip to content

Commit

Permalink
report again
Browse files Browse the repository at this point in the history
  • Loading branch information
KnownSubset committed Apr 11, 2012
1 parent 1355342 commit 65c6d20
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions readme.markdown
Expand Up @@ -95,7 +95,7 @@ As we can see that the total running time for the integral images is actually hi


```matlab
%generate_feature and have it return the corners of positive regions, and corners of negative regions
%generate_feature and have it return the corners of positive regions, and corners of negative regions
%score of face = (sum up positive - sum of negative regions)
[POSITIVE NEGATIVE] = gen_interval_feature;
scores = zeros(1, 1, numFaces + numNonFaces);
Expand All @@ -116,7 +116,7 @@ As we can see that the total running time for the integral images is actually hi
scores = scores - (allFaces(row1, col1 ,:) + allFaces(row2, col2 ,:) - allFaces(row1, col2, :) - allFaces(row2, col1, :)) ;
end
scores = reshape(scores,numFaces+numNonFaces,1);
```
```

##Classification
Once all the features have been generated from the training phase, these features can be ran against any image to detect the faces. Each 24x24 square of the image is ran against the set of features, just as all the faces were during the training phase. A problem exists that the same face appears in multiple rectangle as demonstrated with these images:
Expand Down

0 comments on commit 65c6d20

Please sign in to comment.