https://github.com/roboflow/smooth-frame
https://github.com/roboflow/smooth-frame
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/roboflow/smooth-frame
- Owner: roboflow
- Created: 2022-02-18T01:48:42.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-03-28T18:49:41.000Z (over 4 years ago)
- Last Synced: 2025-09-29T09:43:00.085Z (9 months ago)
- Language: Python
- Size: 3.91 KB
- Stars: 1
- Watchers: 17
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Smooth out flickering bounding boxes
## How to use smooth
Call `smooth()` with the following parameters:
### params:
- img (PIL Image) : image to render
- queue (Collections Deque) : data structure for the sliding window
- local_max (List) - contains name, box, and count for most present class in queue
- lookup_dict (Dict) - contains counts of all values in queue
- predictions (List[Dict]) - detected objects supplied by Roboflow CV