Skip to content
This repository has been archived by the owner on Apr 7, 2020. It is now read-only.

People Face Identification and Recognition Algorithm : Detect human faces and compare similar ones, organize people into groups according to visual similarity, and identify previously tagged people in images.

Notifications You must be signed in to change notification settings

cosmos-cognitive-cloud/COSMOS-Accelerators-People-Face-Identification-and-Recognition-Algorithm

Repository files navigation

People Face Identification and Recognition Algorithm Sample

This project was generated with Angular CLI version 1.0.3.

Add your COSMOS API Keys

Find the file 'COSMOS-Accelerators-Facial-Recognition / src / app / services / cognitive-api.service.ts ' and add your own COSMOS API keys.

Environment Setup

Before you get started with this project, make sure your environment is good to go.

  1. Install Node.js
  2. Install Visual Studio Code
  3. Install the Angular CLI
  4. Install git

NOTE: On Windows 10--with npm or git you may have to update your Environment Variables for the command line to know where they were installed.

Getting Started

Now that you have your environment set up, you can finally start working with the sample code.

  1. git clone https://github.com/cosmos-cognitive-cloud/COSMOS-Accelerators-Facial-Recognition
  2. Right click the project directory -> select Open with Code
  3. Ctrl + Shift + ` to open a terminal window
  4. Type npm install to download the project's packages
  5. Type ng serve to run the application via http://localhost:4200/. The app will automatically reload if you change any of the source files.
  6. Success! You should see a working demo of the People Face Identification and Recognition Algorithm built on Angular.

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|module.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the -prod flag for a production build.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via Protractor. Before running the tests make sure you are serving the app via ng serve.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.

About

People Face Identification and Recognition Algorithm : Detect human faces and compare similar ones, organize people into groups according to visual similarity, and identify previously tagged people in images.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published