SkillAgentSearch skills...

Projector

๐Ÿ˜€Face recognition and ๐Ÿ“ฒ IoT device link

Install / Use

/learn @abserari/Projector
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

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
View on GitHub
GitHub Stars10
CategoryData
Updated3y ago
Forks2

Languages

JavaScript

Security Score

65/100

Audited on Jan 28, 2023

No findings