Giter Site home page Giter Site logo

joserfjuniorllms / face-recognition-angular Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kenalib/face-recognition-angular

0.0 0.0 0.0 134 KB

face recognition demo frontend ui using angular

JavaScript 5.16% TypeScript 80.01% CSS 4.26% HTML 10.57%

face-recognition-angular's Introduction

Face Recognition Demo (frontend)

This is frontend. The backend is here -> https://github.com/kenalib/face-recognition-spring

Development server

npm start
open http://localhost:4200/

Tests and Build

npm lint
npm test
npm e2e
npm build-prod

Deploy

docker-machine scp -r dist/face-recognition-ui/ face-server:/usr/share/nginx/html/
  • sample command using docker-machine (TODO: use Travis CI)

Nginx Server Setup for Angular

Nginx setup to avoid reload 404 error.

# /etc/nginx/conf.d/default.conf
server {
    server_name  faceapp.tk www.faceapp.tk;

    location / {
        root   /usr/share/nginx/html/face-recognition-ui;
        index  index.html index.htm;
        try_files $uri $uri/ /index.html;
    }
    location /face-recognition {
        proxy_pass http://127.0.0.1:8080;
    }
}

Misc note

  • to fix error TS2304: Cannot find name 'Buffer'.
npm i -g typescript@next
npm i --save-dev @types/node
# and add "types" : ["node"] in tsconfig.app.json
# and restart dev server

Reference

face-recognition-angular's People

Contributors

kenalib 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.