Code Monkey home page Code Monkey logo

opencv-projects's Introduction

OpenCV Projects

Prerequisites


pip install opencv

If you run into installation issues with the above, try:

pip install opencv-headless

Requirements


For the following projects, the Haar Cascade Frontal Face-Default, Fullbody and Smile xml files are required.

Download the Face and Body Cascades from Haar Cascades-GitHub Repo

Download the Haar Cascade for Car detection from vehicle_detection_haarcascade by Andrews Sobral

๐Ÿ˜ƒ Smile Detection ๐Ÿ˜


This app makes uses of Computer vision technology to identify faces and detect smiles. Faces and smiles are marked by drawing rectangles around the detected areas. This technology finds use in analysing moods/emotions with AI.

Results


  • Running the Smile Detection app on this video obtained from BuzzFeedVideo's YouTube channel.

smile_detection_results

  • As you can see, the app detects the faces as well as smiles and draws rectangles around the area. Owing to the high accuracy of Haar cascade face classifiers, we are able to achieve smooth detection even with rapid movement of the head. However, the Smile classifier requires parameter tuning and larger datasets to learn from, in order to achieve better results (certain facial features are mistaken as smiles).

๐Ÿš— Vehicle and Pedestrian Detection ๐Ÿƒโ€โ™‚๏ธ๐Ÿƒโ€โ™€๏ธ๐Ÿ‘จโ€๐Ÿฆฏ


This app makes use of Computer vision technology to identify and mark vehicles and pedestrians in the frame. This technology is widely used in the field of Self-driving vehicles such as cars, drones etc.

Results


  • Running the Vehicle and Pedestrian Detection app on this video obtained from RoyalJordanian's YouTube channel.

vehicle_detection_results

  • The pedestrian detecting algorithm faces issues with large groups of people. However, it is able to accurately detect and mark individuals and small but distinct groups with ease. The vehicle detection works much more efficiently (fewer false positives), but is certainly not 100 % accurate. Better tuning of the algorithm and parameters of the classifiers will produce more accurate results.

opencv-projects's People

Contributors

shiva-adith avatar

Watchers

 avatar

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.