Coder Social home page Coder Social logo

projector's Introduction

projector

Face detect and IOT data display, use for face recognized and return their info to display.

The brief introduction of optional stroke

TechStack

  • antdesign pro
  • face api
  • g2 for plot
  • emitter for pubsub
  • aliyun face node sdk
  • eggjs for backserver
  • mysql for user info
  • go fileserver for file host
  • sequelize with eggjs for mysql data model

Face Usage

preview

running

cd weights && go run file.go
  • run frontend
cd  face/frontend 
npm install
npm start

create two database with egg-sequelize-doc-default egg-sequelize-doc-unittest feel free to find related file in face/sequelize/database and face/sequelize/app/model and change it when you need update user info model in mysql use npm install --save-dev sequelize-cli to install sequelize

# 升级数据库
npx sequelize db:migrate
# 如果有问题需要回滚,可以通过 `db:migrate:undo` 回退一个变更
# npx sequelize db:migrate:undo
# 可以通过 `db:migrate:undo:all` 回退到初始状态
# npx sequelize db:migrate:undo:all

cd face/sequelize 
npm install
npm run dev
  • run fileserver to have image display.
cd face/fileserver
go run fileserver.go

Config with face detect

at top of face/sequelize/app/controller/image.js

Image API

Add Image Delete Image List Image

User API

User use resultful api. Query Info

Dashboard Usage

running running

  • run frontend
cd  dashboard/frontend 
npm install
npm start
  • change the data
http://localhost:8000/submit
  • display the data
http://localhost:8000/dashboardmonitor
# we can run this project in localhost

TechStack

  • UmiJS for umi create
  • npm / yarn for bag control
  • emitter for date transmission
  • Localstorage
  • Ant Design Pro for page design
  • GitHub for components

projector's People

Contributors

abserari avatar flutterwang avatar imgbotapp avatar yangchengkai1 avatar yimkh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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