Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenCvComplexObjectDectection

This repo is used to upload opencv complex object detection with latent SVM in android. For complex object detection like bicycle, car etc. in android phone this example may be helpful. Clone or download the code from here. Then open it with android studio. This example using opencv version 2.4.11. It can be replaced by 3.1.0 version. This example initially used to detect bicycle but you can use it to detect car, bus and many other complex objects. For car detection you need to change the following code of BdActivity line 64.

mXmlFile = BikeDetectionUtils.getSourceFile(BdActivity.this, R.raw.bicycle, "bicycle.xml", "model");

There are many files for object detection. Suppose, if you want to detect car you can use the following code instead of the above code.

mXmlFile = BikeDetectionUtils.getSourceFile(BdActivity.this, R.raw.car, "car.xml", "model");

alt tag alt tag

The detection time can be various upon some factors like camera quality, background, angle etc. For object detection here latent SVM has been implemented. It is bit slow process. It will take around 5 - 12 sec to detect the object. This is the android implementation of this xmls.

References

About

This repo is used to upload opencv complex object detection with latent SVM in android.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages