Skip to content

Commit 793090f

Browse files
authored
Update README.md
Fix Markdown headers
1 parent 1d9e179 commit 793090f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
##About
1+
## About
22
This is a C++ project that uses OpenCV to count the number of detected objects found in an image. The counting is done via an image processing technique known as "Haar Feature-based Cascade Classifier." Items in a scene are detected and the final number of counted objects is printed.
33

44
For more information on Cascade Classification, refer to OpenCV's documentation on the function here: http://docs.opencv.org/2.4/modules/objdetect/doc/cascade_classification.html
55

6-
##Running
6+
## Running
77
The prerequisite is that you need to have the OpenCV library installed. Refer to some tutorials on how to do that.
88

99
Depending on what you want to detect, change the cascade classifier string "cascadeFile" in cascadeCount.cpp. It is currently set to a cascade classifier that detects bananas in an image.
@@ -18,6 +18,6 @@ Run the output with one argument as the path to the image you want to perform co
1818
./cascadeCount ~/images/mydog.jpg
1919
```
2020

21-
##Cascade Classifiers
21+
## Cascade Classifiers
2222
This repo comes with "banana_classifier.xml" that will count the number of bananas. You can use other ones that come with OpenCV such as the classifier that counts number of faces. Cascade classfier creation, however, takes a while and is a bit of an effort. For information on how to create one, refer to this page (it is also the source for the banana_classifier.xml file!): http://coding-robin.de/2013/07/22/train-your-own-opencv-haar-classifier.html
2323

0 commit comments

Comments
 (0)