A modular framework built to simplify Computer Vision inference workloads.
PeekingDuck is an open-source, modular framework in Python, built for Computer Vision (CV) inference. The name "PeekingDuck" is a play on: "Peeking" in a nod to CV; and "Duck" in duck typing.
Install from PyPI using pip
> pip install peekingduck
Note: for users with ARM-based devices such as a Raspberry Pi or Apple Silicon Mac, please refer to the documentation for more detailed installation instructions.
PeekingDuck can also be installed in a virtual environment.
> peekingduck verify-install
You should see a video of a person waving his hand with bounding boxes overlaid.
The video will close automatically when it is run to the end, select the video window and press q
to exit earlier.
Create a project folder and initialize a PeekingDuck project.
> mkdir <project_dir>
> cd <project_dir>
> peekingduck init
Run the demo pipeline.
> peekingduck run
If you have a webcam, you should see a man waving on the output screen with skeletal frame overlaid.
Terminate the program by clicking on the output screen and pressing q
.
Use peekingduck --help
to display help information for PeekingDuck's command-line interface.
This project is supported by the National Research Foundation, Singapore under its AI Singapore Programme (AISG-RP-2019-050). Any opinions, findings and conclusions or recommendations expressed in this material are those of the author(s) and do not reflect the views of National Research Foundation, Singapore.
PeekingDuck is under the open source Apache License 2.0 (:
Even so, your organization may require legal proof of its right to use PeekingDuck, due to circumstances such as the following:
Contact us if any of these circumstances apply to you.