Releases: aisingapore/PeekingDuck
Releases · aisingapore/PeekingDuck
1.3.0.post1
Documentation
- Add
typeguardto macOS installation instructions (#695)
1.3.0
Process
- Change
--verify_installfrom a runtime option to a CLI commandverify-install. - Add
--viewerto activate the new PeekingDuck Viewer (see User Interface below).
Features
- Add new
augment.undistortnode to remove distortion from a wide-angle camera image. - Add new
dabble.camera_calibrationnode to calculate the camera coefficients for removing image distortion, used byaugment.undistort. - Add new instance segmentation model, with new model nodes
model.mask_rcnnandmodel.yolact_edge.
model.mask_rcnnsupports ResNet50 and ResNet101 backbones.
model.yolact_edgesupports ResNet50, ResNet101 and MobileNetV2 backbones. - Add new
draw.masknode to draw instance segmentation masks on image, can be used to mask out objects or background. - Add new TensorRT optimized models for
model.movenetandmodel.yolox. - Add node config type checking for all pipeline nodes with user configurable parameters. Will throw a runtime error on wrong config type.
Deprecations and Removals
peekingduck run --verify_installis deprecated and replaced bypeekingduck verify-installcommand instead.
Documentation
- Add new use case
Privacy Protection (People & Screens)using instance segmentation and blurring. - Add new
Edge AIdocumentation on how to install and run TensorRT models, including performance benchmark charts.
Dependencies
- Add typeguard library
typeguard ≥ 2.13.3.
User Interface
- Add PeekingDuck Viewer, a GUI built on TkInter that supports a playlist of multiple pipelines, callable via
peekingduck run --viewer. Upon completion of a pipeline, the user may replay the output video or scrub to a specific frame of interest for analysis.
Refactor
- Streamline
peekingduck/cli.pyby encapsulating source codes for CLI commandsnodes,init,runandcreate-nodeunderpeekingduck/commands/folder. - Add
PeekingDuckLogo.pngtosetup.cfgand addsetup.pyto support older pip versions. - Add new model config field
model_formatformodel.movenetandmodel.yoloxto allow selection between the original models or the new TensorRT models. - Refactor
model.movenetandmodel.yoloxinference code to work with TensorRT models. - Define
_get_config_types()method for all nodes with user configurable parameters. Relevant to most nodes underpeekingduck/pipeline/nodes/folder. - Use
ThresholdCheckerMixinto check bounds indabble.tracking.
1.3.0rc3
1.3.0rc2
1.3.0rc1
1.2.3
1.2.3rc1
1.2.2
Process
- Rename
aimakerspacetoaisingapore(#684)
Features
- Precompute
draw.legendlegend box width to fit content and addbox_opacityconfig option (#660, #677) --config_pathnow supports absolute paths (#665)
Deprecations and Removals
- Model node config option
detect_idshas been changed todetect(#653) - Fix MOSSE tracker in
dabble.trackingto only be initialized when there is a detection (#662) - Ensure
saved_video_fpsin theinput.visualnode is within the range of values supported bycv2.VideoWriter(#664) - Fix
output.screenwindow size to adopt input video frame size whendo_resizing=False(#669)
Dependencies
- Tighten
opencv-contrib-pythonversion to satisfy linting requirements (#657)
1.2.2rc1
1.2.1
Process
- Models now download individual weights files for each model type instead of an entire folder of all model types
- Limit custom node directories to be created within
src/
Bug Fixes
- Fix
input.visualissue wherefilenamedata type is not set if the source is a single image file - Fix
input.visualissue where approximate progress shows 10% even when the folder has been fully processed
Improved Documentation
- Add tutorial for using own models
Refactor
- Redirect
tqdm(used when downloading weights) to usestdoutinstead ofstderr - Implement mixins for threshold checking and weights downloading