cyrildiagne / ar-facedoodle Goto Github PK
View Code? Open in Web Editor NEWDoodle AR masks right from the browser with tensorflow.js
License: MIT License
Doodle AR masks right from the browser with tensorflow.js
License: MIT License
Good day! Its awesome work, thank you for share.
I tried on my phone and get around 5 fps. Its not the slowest one:)))
As I see its a bottleneck of using tensorflow in projects - the performance. And there is nothing we can do with that, because saw facemash example from google and got same fps
This is awesome, can this demo be replaced by something other than face? Let's say a cocacola can or something else
Hi, Im trying to run:
https://cyrildiagne.github.io/ar-facedoodle/
But got this in the console:
Uncaught (in promise) DOMException: Could not start video source
n @ main.be85bd35.js:6
v @ main.be85bd35.js:6
Promise.then (async)
n @ main.be85bd35.js:6
c @ main.be85bd35.js:6
(anonymous) @ main.be85bd35.js:6
(anonymous) @ main.be85bd35.js:6
M @ main.be85bd35.js:68
B @ main.be85bd35.js:68
window.onload @ main.be85bd35.js:68
load (async)
parcelRequire.HJDO.@babel/runtime/regenerator @ main.be85bd35.js:68
f @ main.be85bd35.js:1
parcelRequire.KA2S @ main.be85bd35.js:1
(anonymous) @ main.be85bd35.js:1
my shared VM - AWS-BITNAMI dumped the start-up process half way
`<--- JS stacktrace --->
FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
1: 0xa295b0 node::Abort() [node]
2: 0x9782df node::FatalError(char const*, char const*) [node]
3: 0xb999be v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [node]
4: 0xb99d37 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [node]
5: 0xd3a145 [node]
6: 0xd3aaeb v8::internal::Heap::RecomputeLimits(v8::internal::GarbageCollector) [node]
7: 0xd488e2 v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector, v8::GCCallbackFlags) [node]
8: 0xd49735 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallb
ackFlags) [node]
9: 0xd4c0fc v8::internal::Heap::AllocateRawWithRetryOrFailSlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOr
igin, v8::internal::AllocationAlignment) [node]
10: 0xd1b79b v8::internal::Factory::NewFillerObject(int, bool, v8::internal::AllocationType, v8::internal::AllocationOrigin) [nod
e]
11: 0x104bb5f v8::internal::Runtime_AllocateInYoungGeneration(int, unsigned long*, v8::internal::Isolate*) [node]
12: 0x13a5839 [node]
Aborted (core dumped)`
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.