Giter Site home page Giter Site logo

lffd-openvino's Introduction

LICENSE

the OpenVINO implemententation of LFFD

paper:LFFD: A Light and Fast Face Detector for Edge Devices

official github: LFFD

ncnn implementation is here

MNN implementation is here

Prerequirements

openvino's version: openvino_2019.1.148, I used opencv3.4.3

Please refer the official OPenVINO‘s DOC to install openvino. In that documentation, you will find how to convert the official mxnet model to openvino. And,before you convert the mxnet model ,you need to modify the symbol.json as follows:

  • First ,follow the author's original github to build the devolopment environment.
  • Modify symbol_10_320_20L_5scales_v2.py (your_path/A-Light-and-Fast-Face-Detector-for-Edge-Devices\face_detection\symbol_farm) in function loss_branch,Note out(注释掉) the line 57(predict_score = mxnet.symbol.slice_axis(predict_score, axis=1, begin=0, end=1) in function get_net_symbol, Note out(注释掉)the line 99(data = (data - 127.5) / 127.5,preprocess).
  • Next,in this path , by doing "python symbol_10_320_20L_5scales_v2.py ",generate the symbol.json. symbol_10_560_25L_8scales_v1.py do the same thing .

Inference time on CPU i7 7700

The time is average time with 100 loops. set the mode CPU. When setting it GPU, it uses the intel graphic gpu

  • v2
Resolution 320×240 640×480 1280x720 1920x1080
LFFD 11.20ms(89.28 FPS) 44.61ms(22.41 FPS) 128.61ms(7.78 FPS) 288.01ms(3.47 FPS)
  • v1
Resolution 320×240 640×480 1280x720 1920x1080
LFFD 15.25ms(65.57 FPS) 60.19ms(16.61 FPS) 179.32ms(5.58 FPS) 409.01ms(2.44 FPS)

lffd-openvino's People

Contributors

sygoing avatar

Stargazers

paulpanwang avatar

Watchers

James Cloos avatar paper2code - bot 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.