Close

#4 result for object detector using Histogram of Oriented Gradients (HOG) and Linear Support Vector Machines (SVM)

A project log for Elephant AI

a system to prevent human-elephant conflict by detecting elephants using machine vision, and warning humans and/or repelling elephants

neil-k-sheridanNeil K. Sheridan 04/15/2017 at 20:180 Comments

Hi, this is the result so far from my larger-scale training run (see here). Unfortunately, it wasn't quite as large-scale as I hoped due to problems with the color-spaces and sizes of images from the caltech-256 dataset.

The training run entailed the usage of:

For the elephant images I included front-view, side-view at various angles, rear view (elephant bum), and close-up of elephant faces (range <1m).

Workflow using m4.4xlarge EC2 instance:

Approx cost using m4.4xlarge EC instance: $7

Results

So far I've only had time to test the object detector on testing sets of 10 elephant images and 10 non-elephant animal images (animals likely to be present in area: sloth bears, wild pigs, cows, water buffalo, tigers, deer, humans). I was quite pleased with the results really tho! I got 0% false-negatives (i.e. failures to detect elephants when elephants present), and 20% false-positives (i.e. detect elephants when elephants not present).

Update!

So on a testing set of 50 non-elephants I got a 26% false-positive!

[Image: Examples of animals in the testing set]

Interestingly, the false-positives occurred with animals having bums which looked like elephant bums! The water buffalo, which really did look like an elephant bum even to me! And the cow, which looked a bit like one. However, the color was wrong. But this object detector is using grayscale not BGR.

[Image: false-positive with a water buffalo]

[Images: full range of images using for testing set]

Next steps:


Discussions