Code Monkey home page Code Monkey logo

bodyblock's People

Contributors

drc avatar joeyklee avatar owenmcateer avatar shiffman avatar thenullicorn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

bodyblock's Issues

Editing Interface for editing frames

As a first pass for a simple editing interface for image frames. Sorry for the eye-sore of a wireframe, but working quickly to jot down some basic thoughts!

MANUAL-EDITING

[State management] Options & Ideas

Description

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.

Other considerations

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.

Loading state

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

Next steps

  • Turn into electron app?
  • incorporate ffmpeg to unpack video into frames (retaining audio) and repack?
  • options for blur / blackout / differentiate faces / bodies
  • interface for manual editing of frames when it's missing or incorrectly categorizing pixels?

interactivity

On the todo list then seems like:

  • add checkbox input to allow face-api - maybe default is just face masking?
  • add checkbox input to allow body-pix

Data clean up

  • remove images from /frames and out-frames before each function call to "process" and "save" -> addressed in #21

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.