Coder Social home page Coder Social logo

sanjayntms / face-vision-app Goto Github PK

View Code? Open in Web Editor NEW

This project forked from benc-uk/face-vision-app

0.0 0.0 0.0 11.11 MB

Azure Cognitive Face/Vision APIs - Pure HTML5/JS Client

Home Page: https://aka.ms/faceapp

JavaScript 87.78% CSS 8.46% HTML 3.76%

face-vision-app's Introduction

Azure Vision & Face Cognitive APIs - Pure HTML5/JS Client

This is a simple demo web client app written in pure JS and HTML5 for capturing images from the device camera, sending them to Azure Cognitive Services, and processing/displaying the results

It is optimized for mobile devices and browsers but can be used on a PC/Desktop browser also

Pre-Reqs

Copy/rename the config.sample.mjs file to config.mjs

Edit config.mjs and change the following:

  • FACE_API_KEY and FACE_API_ENDPOINT to your values for the face API
  • VISION_API_KEY and VISION_API_ENDPOINT to your values for the computer vision API

Deployment

The app is completely static so can be deployed almost anywhere including Azure Storage accounts, App Service, Netlify, GitHub Pages etc. Deploy the index.html file as well as css, js and img directories

Usage

The app is simple and self explanatory, and is designed for both mobile and desktop use. It will open the first camera on the device, and clicking/tapping the camera icon will switch through available cameras.

It will capture images from the camera/video every 3 seconds by default (configurable in config.mjs) and analyse them. The results are drawn over the video.
Tapping/clicking the image will change between low & high detail modes (how much information is shown/drawn over the image)

Tensorflow.js and Face-API.js Mode

face-vision-app's People

Contributors

benc-uk 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.