Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tusharmakkar08/elephant_detection

Elephants Detection and Classifier
https://github.com/tusharmakkar08/elephant_detection

Last synced: 25 days ago
JSON representation

Elephants Detection and Classifier

Awesome Lists containing this project

README

        

# elephant_detection
Elephants Detection and Classifier
#### Used :
* HOG based Features
* SVM Training Model

#### TODO :
* Crossfold Validation

#### Requirements :
* Python
* OpenCV (cv2)
* numpy
* sklearn

#### How to Run ?
* Set up the path for positive images, negative images and test images in `main.py` code.
* Use `resizeImages` function to resize them to `200x128`(can fix any size such that the given size <= minimum size of the images). This is done to make the HOG feature vector of same length.
* Make the classifier and save it for future use
* Run `python main.py`

#### How to Test Images ?
* Follow same steps as `How to run ?`
* Modify `main function` by calling `testImage` fucntion with the image name and classifier.
* Run `python main.py`