Code Monkey home page Code Monkey logo

babyjokes's People

Contributors

infantlab avatar

Watchers

 avatar

babyjokes's Issues

Automatically label parent and infant

Add a helper function that works out which person is which.
We expect each video to contain a parent and child. Yolo just labels person1 and person2. So want to algorithmically assign these. Could do it based on relative size of participants
baby << adult

Function to generate annotated videos for all rows of ProcessedVideos.xlsx

In code\06_ca_clean_label_actors_remove_ghosts.ipynb we want to call display.createAnnotatedVideo for all the videos in our dataset.
Store the outputs in data\2_final
Follow a similar logic to how steps 2 & 3 generate the annotations

  • don't run if already processed.
  • Unless forceCreate = True
  • Update processedvideos with path to annotated videos

Normalise all x & y coordinates.

Let's convert all coordinates to values between 0 and 1.

Might want two options for this.

  1. (Required) Normalise by height and width. - Divide x coords by width and y coord by height. This seems to be how most models we are using work.
  2. (Optional) Preserve aspect ratios. So divide all x and y coords by the max of (height, width). This also has the advantage of being easier to code.

Want to do this for pose-estimation coordinates and object and face bounding boxes. (And anything else we label on the videos).

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.