Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/softchris/face-api
Using the Face API at Azure and also adding an emoji to a Face
https://github.com/softchris/face-api
Last synced: 16 days ago
JSON representation
Using the Face API at Azure and also adding an emoji to a Face
- Host: GitHub
- URL: https://github.com/softchris/face-api
- Owner: softchris
- Created: 2020-06-24T18:33:05.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-03-05T02:18:02.000Z (over 1 year ago)
- Last Synced: 2024-10-06T13:22:38.001Z (about 1 month ago)
- Language: JavaScript
- Size: 711 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Mojifier
1. Analyzing an image using Azure Face API for emotion
1. Add proper emoji to image
1. Stream results back to browser## How to run
1. Get a Face API account
```bash
https://ms.portal.azure.com/#create/Microsoft.CognitiveServicesFace
```1. Go to `Keys and Endpoint` for the resource. Note down values of `KEY1` and `Endpoint`
1. Construct request URL with `Endpoint` + `face/v1.0/detect`
1. Add `KEY1` and `Endpoint` to .env file
1. Run with `npm start`
1. Test out with navigating to URL `http://localhost:3000/analyze?url=https://upload.wikimedia.org/wikipedia/commons/3/37/Dagestani_man_and_woman.jpg`## What's going on?