helmetroo / phold Goto Github PK
View Code? Open in Web Editor NEWA camera app that folds faces
Home Page: https://phold.app
A camera app that folds faces
Home Page: https://phold.app
One approach to fix is to debounce at button level, see https://dmitripavlutin.com/react-throttle-debounce/
e.g. tif images causes SourceManager.setAndLoadFromImage(...)
to throw an error
Could appear right after image selected to set size and crop
One implementation idea is to compare the next face detected with the current one. If the total (square) distance between current and next points is too small, do not update the folds, keep the current ones.
Might be able to leverage this library: https://jimmywarting.github.io/StreamSaver.js/examples/media-stream.html
Reproduced on iPad
Set with scrubbed input like in numscrubberjs
Rotating device after this happens doesn't unfreeze camera. Might have to do with permissions needing to be regranted to camera?
Like the primary device camera app automatically does when taking photos
Could a WebWorker take the large images and render the face folds in an OffscreenCanvas? Other idea is to resize the image with a library like pica
Samples of this: https://googlechrome.github.io/samples/image-capture/update-camera-zoom.html)
Candidate lib for pinch-to-zoom: https://github.com/manuelstofer/pinchzoom
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.