Comments (14)
Please specify the Go version.
from pigo.
go version 1.14 linux/amd64
from pigo.
Thanks my bad didnt check the wasm readme section , downgraded to 13.5 and sample worked fine . Demo has issues below . Does it need exact 13 version ?
Uncaught Error: Go program has already exited
at global.Go._resume (wasm_exec.js:484)
at wasm_exec.js:497
from pigo.
I've checked the issue and looks like that starting from v1.14 the wasm_exec.js
file has changed leading to incompatibility issues. So I modified the Makefile to copy the wasm_exec.js
file directly from GOROOT
without including into the project. Normally it should resolve the problem. Please check it and let me know if it's working.
from pigo.
Hi Esimov,
Sorry for the delay in response, Thanks for the quick fix ,
retried and screen is blank . Its failing with same errors both in 13 and 14 versions
UI Errors ----
(index):6 GET http://localhost:5000/js/wasm_exec.js net::ERR_ABORTED 404 (Not Found)
(index):18 Uncaught ReferenceError: Go is not defined
at (index):18
errors at serve console --
[158190:158190:0320/173159.776637:ERROR:sandbox_linux.cc(374)] InitializeSandbox() called with multiple threads in process gpu-process.
2020/03/20 17:32:00 [::1]:52398 GET /js/wasm_exec.js
2020/03/20 17:32:00 [::1]:52398 GET /js/wasm_exec.js
[158274:1:0320/173203.901608:ERROR:child_process_sandbox_support_impl_linux.cc(79)] FontService unique font name matching request did not receive a response.
[158274:1:0320/173203.902274:ERROR:child_process_sandbox_support_impl_linux.cc(79)] FontService unique font name matching request did not receive a response.
[158274:1:0320/173203.967039:ERROR:child_process_sandbox_support_impl_linux.cc(79)] FontService unique font name matching request did not receive a response.
[158274:1:0320/173203.967456:ERROR:child_process_sandbox_support_impl_linux.cc(79)] FontService unique font name matching request did not receive a response.
[158274:1:0320/173204.031353:ERROR:child_process_sandbox_support_impl_linux.cc(79)] FontService unique font name matching request did not receive a response.
[158274:1:0320/173204.031916:ERROR:child_process_sandbox_support_impl_linux.cc(79)] FontService unique font name matching request did not receive a response.
2020/03/20 17:32:04 [::1]:52398 GET /favicon.ico
2020/03/20 17:32:04 [::1]:52398 GET /favicon.ico
[158274:1:0320/173204.165088:ERROR:child_process_sandbox_support_impl_linux.cc(79)] FontService unique font name matching request did not receive a response.
[158274:1:0320/173204.165645:ERROR:child_process_sandbox_support_impl_linux.cc(79)] FontService unique font name matching request did not receive a response.
[158274:1:0320/173204.218946:ERROR:child_process_sandbox_support_impl_linux.cc(79)] FontService unique font name matching request did not receive a response.
[158274:1:0320/173204.219549:ERROR:child_process_sandbox_support_impl_linux.cc(79)] FontService unique font name matching request did not receive a response.
[158559:1:0320/173205.736291:ERROR:child_process_sandbox_support_impl_linux.cc(79)] FontService unique font name matching request did not receive a response.
[158559:1:0320/173205.743051:ERROR:child_process_sandbox_support_impl_linux.cc(79)] FontService unique font name matching request did not receive a response.
[158559:1:0320/173205.754674:ERROR:child_process_sandbox_support_impl_linux.cc(79)] FontService unique font name matching request did not receive a response.
[158559:1:0320/173205.757728:ERROR:child_process_sandbox_support_impl_linux.cc(79)] FontService unique font name matching request did not receive a response.
[158559:1:0320/173205.759382:ERROR:child_process_sandbox_support_impl_linux.cc(79)] FontService unique font name matching request did not receive a response.
[158559:1:0320/173205.761434:ERROR:child_process_sandbox_support_impl_linux.cc(79)] FontService unique font name matching request did not receive a response.
[158559:1:0320/173205.769508:ERROR:child_process_sandbox_support_impl_linux.cc(79)] FontService unique font name matching request did not receive a response.
[158559:1:0320/173205.772506:ERROR:child_process_sandbox_support_impl_linux.cc(79)] FontService unique font name matching request did not receive a response.
Fontconfig error: Cannot load default config file: No such file: (null)
2020/03/20 17:32:46 [::1]:52398 GET /
2020/03/20 17:32:46 [::1]:52398 GET /js/wasm_exec.js
Am i missing something ?
from pigo.
How did you tried to run the wasm demo?
Can you check if wasm_exec.js
file is in wasm/js
directory?
Also please specify the OS platform you are trying to run on? I'm afraid you are running on a windows system and the Makefile cp
command is not available. But anyway please give the details for these questions.
from pigo.
rajesh@uar wasm]$ uname -a
Linux uar 5.5.9-arch1-2 #1 SMP PREEMPT Thu, 12 Mar 2020 23:01:33 +0000 x86_64 GNU/Linux
[rajesh@uar wasm]$ git pull
Already up to date.
Its arch linux
Checked it not there . All it has the minified js . Tried creating manually its not creating
[rajesh@uar wasm]$ GOOS=js GOARCH=wasm go build -o lib.wasm wasm.go
[rajesh@uar wasm]$ ls js
stats.min.js
[rajesh@uar wasm]$
from pigo.
Did you ran the app with the make
command? It should copy the needed js files on the fly.
from pigo.
Did you ran the app with the
make
command? It should copy the needed js files on the fly.
yes it did. Closing this issue as sample works for me , since demo is still under dev its fine .
from pigo.
Ok I see now that you were referring to the masquerade demo. I've adapted the Makefile to apply the same rules on it as on the main demo.
from pigo.
Ok I see now that you were referring to the masquerade demo. I've adapted the Makefile to apply the same rules on it as on the main demo.
Thanks !!. How do I store and used the saved facial data ? Does pigo provides any storing mechanism?
from pigo.
Thanks !!. How do I store and used the saved facial data ? Does pigo provides any storing mechanism?
You mean the detection coordinates?
from pigo.
Thanks !!. How do I store and use the saved facial data ? Does pigo provides any storing mechanism?
You mean the detection coordinates?
yes
from pigo.
The wasm port does not provide any mechanism to store the detection coordinates, but the CLI app does. It's also possible to implement into the wasm demo too if that's what you meant. I can conceive as showing the coordinates on the top left corner of the detection window. If that's what you want you can open a new ticket.
from pigo.
Related Issues (20)
- oval shape HOT 15
- x / y values are backwards in json output HOT 1
- what is the mean of iouThreshold HOT 3
- is pigo.Pigo thread-safe? HOT 1
- Infinite loop HOT 11
- Comparison of two face HOT 16
- encountered some problems when i try write a demo by myself HOT 5
- Pigo Wasm demo crashes after certain time HOT 1
- What are the bounds of the score? HOT 2
- Invalid Face Detected HOT 2
- Can this be somehow used to smart-detect background image and replace it in realtime? HOT 3
- Adding jaw line facial landmarks HOT 2
- WASM Demo features toggled with keys fail HOT 2
- Is there a way to create new landmark point definitions? HOT 6
- Feature addition to support body recognition
- Got exit code 1073741819 (0xC0000005) from python demo HOT 7
- On the CLI, -flpc flag doesn't work without -plc. HOT 5
- CLI error in case of uppercase extensions
- Faster detection on ffmpeg videos HOT 5
- [QUESTION] - How to run examples on local MacOS? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pigo.