jimmerzzz52 / shrine-exp

A workspace for gesture recognition. Some demos using javascript, python, and other items.
2 stars 0 forks source link

Refactor gesture class to use deque for buffer and identified movements #14

Closed sehnemroger closed 1 month ago

sehnemroger commented 2 months ago

This pull request refactors the gesture class to use a deque data structure for the buffer and identified movements. This change improves performance and memory usage by limiting the size of the buffer to 120 gestures and ensuring that only the most recent identified movements are stored. Additionally, the check point reset logic has been simplified and the identified movement gestures are now stored in a separate deque. These changes enhance the overall efficiency and maintainability of the code.

cloudflare-pages[bot] commented 2 months ago

Deploying gesture with  Cloudflare Pages  Cloudflare Pages

Latest commit: fb79989
Status: ✅  Deploy successful!
Preview URL: https://a7456b32.speech-to-proverb.pages.dev
Branch Preview URL: https://better-mov-gestures.speech-to-proverb.pages.dev

View logs