Giter Site home page Giter Site logo

cry-d / cat-face-detector-with-opencv-and-javafx Goto Github PK

View Code? Open in Web Editor NEW

This project forked from idouble/cat-face-detector-with-opencv-and-javafx

0.0 0.0 0.0 2.96 MB

๐Ÿ“น A Small OpenCV (Open Source Computer Vision) Example, who has the ability to detect multiple cat faces at the same time ๐Ÿฑ

License: MIT License

CSS 2.02% Java 97.98%

cat-face-detector-with-opencv-and-javafx's Introduction

๐Ÿฑ Cat Face Detector with OpenCV and JavaFX โ˜•๏ธ

This is a Cat Face Detector written in Java using OpenCV (Open Source Computer Vision).
It's a small application, but it shows you how to:

  • Access to the camera
  • Make pictures with the camera and render it as a video (FPS / frames per second)
  • Check pictures for patterns (in this case cat faces ๐Ÿฑ)
  • Design a GUI for OpenCV Applications with JavaFX
  • Get the number of detected Cat Faces ๐Ÿฑ

๐Ÿฑ Examples (Images) ๐Ÿฑ

The Face Detecting capabilities of OpenCV (Open Source Computer Vision) are working very well.
It detects the faces that are detectable, when somebody doesn't look at the camera, the face isn't really detectable, but there are solutions to fix this problem. (Add more Patterns to search in Images as an example, but the application logically gets slower) (often a extended version of the haarcascade is available)

Example Image OpenCV Face Detection

Example Image OpenCV Face Detection with different Faces

You can see here very clearly how OpenCV works, by detecting patterns in faces.
The important Thing about this is, that it still was possible for the application to recognise the Cat Face Pattern (haarcascade_frontalcatface.xml) in different cats. ๐Ÿฑ

โ˜•๏ธ How to import a JavaFX Application to Eclipse โ˜•๏ธ

  1. Open your existing workspace in Eclipse.
  2. In the Eclipse menu, choose File -> Import.
  3. Expand the General folder and select Existing Projects into Workspace, then click Next.
  4. You should now see the Import Projects dialog.
  5. Select Finish.

cat-face-detector-with-opencv-and-javafx's People

Contributors

idouble avatar imgbotapp 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.