Code Monkey home page Code Monkey logo

ava_preview's Introduction

Ava-Preview

This repository holds the sample application that the Meerkat Android SDK for facial detection, landmark extraction and spoof detection (called Ava, hence Ava-Preview).

Disclaimer

This application is just a demo client to a commercial SDK called Ava. If you interested
in using this, contact us at [email protected] and we can provide the library for trial. 

Change logs

  • v1.0 - initial version, plot mask and face detection;

How to use

Just import the .aar related to the ava library to the project and run it on the emulator or smartphone. You should get some like this:

alt tag

Enjoy!

ava_preview's People

Contributors

gfickel avatar gustavofuhr 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

Watchers

 avatar  avatar  avatar  avatar  avatar

ava_preview's Issues

Missing AVA

Error when import br.com.meerkat.ava.Ava;
Hello, I am very interested in this project.
Looks like it is missing AVA module.
Hope you will share it

Face point connection

Can you help me I want to connect the dlib face landmark points same like you did it using show some mask on face but the problem is I am using python 3.6 and i did't know hoe to connect that landmark point to each other can you please help me for that

from imutils import face_utils
import dlib
import cv2

Vamos inicializar um detector de faces (HOG) para então

let's go code an faces detector(HOG) and after detect the

landmarks on this detected face

p = our pre-treined model directory, on my case, it's on the same script's diretory.

p = "E:\Downloads\shape_predictor_68_face_landmarks.dat"
detector = dlib.get_frontal_face_detector()
predictor = dlib.shape_predictor(p)

cap = cv2.VideoCapture(0)

while True:
# Getting out image by webcam
_, image = cap.read()
# Converting the image to gray scale
gray = cv2.cvtColor(image, cv2.COLOR_BGR2GRAY)

# Get faces into webcam's image
rects = detector(gray, 0)

# For each detected face, find the landmark.
for (i, rect) in enumerate(rects):
    # Make the prediction and transfom it to numpy array
    shape = predictor(gray, rect)
    shape = face_utils.shape_to_np(shape)

    # Draw on our image, all the finded cordinate points (x,y)
    for (x, y) in shape:
        cv2.circle(image, (x, y), 2, (0, 255, 0), -1)

# Show the image
cv2.imshow("Output", image)

k = cv2.waitKey(5) & 0xFF
if k == 27:
    break

cv2.destroyAllWindows()
cap.release()

here is my code i want to make 3D face detection

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.