quic / sense

Enhance your application with the ability to see and interact with humans using any RGB camera.
https://20bn.com/products/datasets
MIT License
734 stars 107 forks source link

[Feature] Run demos from sensestudio #171

Closed YasheshSavani closed 3 years ago

YasheshSavani commented 3 years ago

Description:

This PR will add the functionality of running provided examples in the sense/examples directory directly using the user interface in sense studio.

Examples:

  1. Calorie estimation
  2. Rep counter
  3. Fitness tracker
  4. Gesture recognition
  5. Gesture control
YasheshSavani commented 3 years ago

I haven't looked at the code yet but I tested it. It seems to work. Can we increase the size of the video display? It looked like this in my case:

Screenshot from 2021-05-20 10-43-00

The video display should be the biggest element by far in my opinion

@guillaumebrg It is because of the original image shape which is coming from the backend after processing is (480, 1140) [height, width], if we want to increase the frame size then we need to do it in display.py. To increase that, we need to decide on a default window size.

sunny-panchal commented 3 years ago

The demos work for me as well. When selecting a different demo from the dropdown it keeps playing the previous one. Can we automatically end the inference when the dropdown value changes?

sunny-panchal commented 3 years ago

I created a small PR #181 with some kwargs refactoring. Other than that, looks good.