Giter Site home page Giter Site logo

maicg01 / daisykit Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nrl-ai/daisykit

0.0 0.0 0.0 259.53 MB

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

Home Page: https://daisykit.nrl.ai

License: Apache License 2.0

Shell 2.72% C++ 75.00% Python 9.78% C 0.29% CMake 11.71% Batchfile 0.02% SWIG 0.47%

daisykit's Introduction

DaisyKit - D.A.I.S.Y: Deploy AI Systems Yourself!

PyPI docs license open issues Pypi Downloads

Daisykit - A library for building AI applications without AI knowledge | Product Hunt

DaisyKit is an easy AI toolkit with face mask detection, pose detection, background matting, barcode detection and more. This open source project includes:

  • 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 demonstrate how to use Daisykit SDK in Android.

Links:

Demo Video: https://www.youtube.com/watch?v=zKP8sgGoFMc.

1. Environment Setup

Ubuntu

Install packages from Terminal

sudo apt install -y build-essential libopencv-dev
sudo apt install -y libvulkan-dev vulkan-utils
sudo apt install -y mesa-vulkan-drivers # For Intel GPU support

Windows

For Windows, Visual Studio 2019 + Git Bash is recommended.

2. Build and run C++ examples

Clone the source code:

git clone https://github.com/nrl-ai/daisykit.git --recursive
cd daisykit

Ubuntu

Build Daisykit:

mkdir build
cd build
cmake .. -Dncnn_FIND_PATH="<path to ncnn lib>"
make

Run face detection example:

./bin/demo_face_detector_graph

If you dont specify ncnn_FIND_PATH, NCNN will be built from scratch.

Windows

Build Daisykit:

mkdir build
cd build
cmake -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

3. C++ Coding convention

Read coding convention and contribution guidelines here.

4. Known issues and problems

  • Slow model inference - Low FPS

This issue can happen on development build. Add -DCMAKE_BUILD_TYPE=Debug to cmake command and build again. The FPS can be much better.

5. References

This toolkit is developed on top of other source code. Including

daisykit's People

Contributors

vietanhdev avatar brightfuture2911 avatar haok61bkhn avatar tranminhduc4796 avatar congphase avatar duongnguyen-dev avatar vietthanhnv avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.