shiffman / bodyblock Goto Github PK
View Code? Open in Web Editor NEWExperimenting with BodyPix model and Obscuring faces/bodies.
Experimenting with BodyPix model and Obscuring faces/bodies.
As mentioned in previous issues (e.g. #24) we will definitely be approaching the limits of our managing the state of our application as it is currently implemented.
As our application is growing, it is a good time now to define how we might want to proceed about managing state in the project.
In general, a good place to start would be to adopt some kind of Model-View-Controller (MVC) paradigm. We can implement our own like this -- https://www.taniarascia.com/javascript-mvc-todo-app -- or we can go with something more opinionated, but well used like Redux with Redux Toolkit -- https://redux-starter-kit.js.org/.
For the same reason why we might not introduce react (see below), I would say that introducing redux might not also be necessary at the moment and we can just develop our own MVC setup.
This also brings up some questions about whether or not we want to switch to a more robust front-end framework like react.js or vue.js, but for now i'm inclined to not introduce new frameworks since AFAIK @shiffman is not familiar with them yet and I think we don't absolutely need a framework given the relatively contained size of the project. All that being said, I'm totally open to choosing the right tools for the job.
State is required for when the App is initializing, upload or processing.
This should be a global state with a reusable busy indicator.
The loading state should lock the App and display the loading indicator animation from #19
On the todo list then seems like:
/frames
and out-frames
before each function call to "process" and "save" -> addressed in #21A 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.