Giter Club home page Giter Club logo

java-gender-recognition's Introduction

English | Türkçe

Gender Detection Using Deep Neural Network (DNN) with JavaCV Library

This example; captures the faces on the input image and makes the gender prediction. In doing so, he uses the trained caffe model as the classifier on the DNN package, which means "Deep Neural Network" of JavaCV, the Java wrapper of OpenCV. The trained model is under the src/main/resources/ directory.

What is JavaCV?

JavaCV uses wrappers from the JavaCPP Presets of commonly used libraries by researchers in the field of computer vision (OpenCV, FFmpeg, libdc1394, PGR FlyCapture, OpenKinect, librealsense, CL PS3 Eye Driver, videoInput, ARToolKitPlus, flandmark, Leptonica, and Tesseract) and provides utility classes to make their functionality easier to use on the Java platform, including Android.

JavaCV Maven

 <dependencies>
        <dependency>
            <groupId>org.bytedeco</groupId>
            <artifactId>javacv</artifactId>
            <version>1.2</version>
        </dependency>  

        <dependency>
            <groupId>net.coobird</groupId>
            <artifactId>thumbnailator</artifactId>
            <version>0.4.8</version>
        </dependency>

    </dependencies>

How to Run?

  • clone or download repository
git clone https://github.com/mesutpiskin/GenderClassification.git
  • Create a Java Maven project with IDE and import source code and resources.
  • Add the above bytecode-javacv reference to the Maven POM.XML file.
  • Build project and run UICamera.java
  • Happy hacking.

Result

java-gender-recognition's People

Contributors

mesutpiskin avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar

java-gender-recognition's Issues

Build ettikten sonra projenin run edilmesi

Hocam merhaba ben javada yeniyim projeyi başlatamadım. Aslında javada projeler nasıl derlenip çalıştırılır bulamadım çok araştırma yaptım ancak işe yarar bir sonuca ulaşamadım.
İntellij ile clone edip projeyi indiriyorum build ettikten sonra run butonu gelmiyor configuration istiyor bunu nasıl çözerim. Sizin kullandığınız herhangi bir yöntem veya extension var mı teşekkürler.

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.