esimov / pigo-wasm-demos Goto Github PK
View Code? Open in Web Editor NEWWebassembly demos showcasing the Pigo face detection library.
Home Page: https://github.com/esimov/pigo
License: MIT License
Webassembly demos showcasing the Pigo face detection library.
Home Page: https://github.com/esimov/pigo
License: MIT License
For Faceblur demo, you should add some lag to the filter if the face-detection fails to discover a face.
i.e. If no face is detected, for a short period of time, assume the location of the face is the same as before and still apply the filter.
Run make demo1 and this error happened.
tom@solar:~/go/src/github.com/esimov/pigo-wasm-demos$ make demo1
cp -f "$(go env GOROOT)/misc/wasm/wasm_exec.js" ./js/
GOOS=js GOARCH=wasm go generate
GOOS=js GOARCH=wasm go build -o lib.wasm "masquerade.go"
xdg-open 'http://localhost:5000'
serve
make: serve: Command not found
make: *** [Makefile:28: serve] Error 127
run the following commands:
$ go install github.com/esimov/pigo-wasm-demos@latest
package github.com/esimov/pigo-wasm-demos: build constraints exclude all Go files in /Users/xxx/go/pkg/mod/github.com/esimov/[email protected]
$ git clone [email protected]:esimov/pigo-wasm-demos.git
......
$ cd pigo-wasm-demos
$ make demo1
cp -f "$(go env GOROOT)/misc/wasm/wasm_exec.js" ./js/
GOOS=js GOARCH=wasm go generate
GOOS=js GOARCH=wasm go build -o lib.wasm "masquerade.go"
open 'http://localhost:5000'
go run server/init.go
2022/11/30 11:24:34 serving /Users/xxx/pigo-wasm-demos on localhost:5000
demo1 running correctly.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.