GithubHelp home page GithubHelp logo

mesutpiskin / opencv-object-detection Goto Github PK

View Code? Open in Web Editor NEW
160.0 9.0 74.0 29.84 MB

:camera: Object detection with OpenCV on Java. DNN, HaarCascade, Template Matching, Color Detection etc.

License: MIT License

Java 100.00%
opencv image-processing object-detection haar-cascade-classifier eye-detection java deep-neural-networks deep-learning

opencv-object-detection's Introduction

English | Türkçe


Examples

There are three examples in the repository.

  1. Haar Cascade - Object detection face and eye etc.
  2. Color Detection - Object detection and tracking using object color.
  3. Template Matching - Object detection with template matching.
  4. Deep Learning - Object detection with deep neural network (DNN).

Example 1: Face And Eye Detection

Source code location: src/FaceAndEyeDetection/

Object detection examples with haar cascade classifier algorithm (Face, eyes, mouth, other objects etc.). Cascade Classifier Training http://docs.opencv.org/3.1.0/dc/d88/tutorial_traincascade.html

What is Haar cascade? Haar cascade classifier Object Detection using Haar feature-based cascade classifiers is an effective object detection method proposed by Paul Viola and Michael Jones in their paper, "Rapid Object Detection using a Boosted Cascade of Simple Features" in 2001. It is a machine learning based approach where a cascade function is trained from a lot of positive and negative images. It is then used to detect objects in other images.

Requirements

  • OpenCV 3.x Version
  • Java > 6 Version

Face and eye detection by the camera using haar cascade algorithm.

Video:

Example 2: Object Detection and Tracking Using Color

Source code location: src/ColorBasedObjectTracker/

An example of an application where OpenCV is used to detect objects based on color differences.

Requirements

  • OpenCV >2.x Version
  • Java >6 Version

Example 3: Object Detection with Template Matching

Source code location: src/TemplateMatchingObjectDetection/

Template matching is a technique for finding areas of an image that match (are similar) to a template image (patch).

Requirements

  • OpenCV 3.x Version
  • Java >6 Version

My blog post for template matching.

Example 4: Object Detection with DNN

Source code location: src/DeepNeuralNetwork/

  • OpenCV > 3.3 Version

In this tutorial you will learn how to use opencv dnn module for image classification by using MobileNetSSD_deploy trained network. My blog post for deep neural network.

opencv-object-detection's People

Contributors

mesutpiskin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

opencv-object-detection's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.