Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork20
DaisyKit is an easy AI toolkit with face mask detection, pose detection, background matting, barcode detection, face recognition and more. - with NCNN, OpenCV, Python wrappers
License
nrl-ai/daisykit
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
DaisyKit is an easy AI toolkit with face mask detection, pose detection, background matting, barcode detection, and more. This open-source project includes the following:
- DaisyKit SDK - C++, the core of models and algorithms in NCNN deep learning framework.
- DaisyKit Python wrapper for easy integration with Python.
- DaisyKit Android - Example app demonstrates how to use Daisykit SDK in Android.
Links:
- Python Package:https://pypi.org/project/daisykit/.
- Documentation:https://daisykit.nrl.ai/docs.
- Sponsor this project:https://github.com/sponsors/vietanhdev.

Demo Video:https://www.youtube.com/watch?v=zKP8sgGoFMc.
Install packages from Terminal
sudo apt install -y build-essential libopencv-devsudo apt install -y libvulkan-dev vulkan-utilssudo apt install -y mesa-vulkan-drivers # For Intel GPU support
For Windows, Visual Studio 2019 + Git Bash is recommended.
- Download and extract OpenCV fromthe official website, and add
OpenCV_DIR
to path. - Downloadprecompiled NCNN.
Clone the source code:
git clone https://github.com/nrl-ai/daisykit.git --recursivecd daisykit
Build Daisykit:
mkdir buildcd buildcmake .. -Dncnn_FIND_PATH="<path to ncnn lib>"make
Run face detection example:
./bin/demo_face_detector_graph
If you dont specifyncnn_FIND_PATH
, NCNN will be built from scratch.
Build Daisykit:
mkdir buildcd buildcmake -G "Visual Studio 16 2019" -Dncnn_FIND_PATH="<path to ncnn lib>" ..cmake --build . --config Release
Run face detection example:
./bin/Release/demo_face_detector_graph
Read the coding convention and contribution guidelineshere.
- Slow model inference - Low FPS
This issue can happen on development builds. Add-DCMAKE_BUILD_TYPE=Debug
tocmake
command and build again. The FPS can be much better.
This toolkit is developed on top of other source code. Including
- Toolchains setup fromncnn.
- QR Scanner fromZXing-CPP.
- JSON support fromnlohmann/json.
- Pretrained AI models from different sources:https://daisykit.nrl.ai/docs/models.
About
DaisyKit is an easy AI toolkit with face mask detection, pose detection, background matting, barcode detection, face recognition and more. - with NCNN, OpenCV, Python wrappers
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Sponsor this project
Uh oh!
There was an error while loading.Please reload this page.
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors7
Uh oh!
There was an error while loading.Please reload this page.