Giter VIP home page Giter VIP logo

Comments (5)

Linzaer avatar Linzaer commented on May 22, 2024

多大的输入?多核吗?是只有cnn推理时间还是包括前置的图片处理和后处理?可以尝试ncnn 的int8量化、换slim版本的模型、根据落地场景选择降低输入分辨率(比如160x120、128x96)。

from ultra-light-fast-generic-face-detector-1mb.

luliang6 avatar luliang6 commented on May 22, 2024

@Linzaer 输入为320×240,默认4核,只计算了cnn推理时间,无前后处理,落地场景是手机前置摄像头以640×480的分辨率输入做人脸识别。

from ultra-light-fast-generic-face-detector-1mb.

Linzaer avatar Linzaer commented on May 22, 2024

640x480输入算比较大了,推理计算量相当于320x240的4倍左右,这个时间应该差不多。如果你的场景距离要求在6m以内的话,320x240就应该够了。输入大小很影响推理速度的。

from ultra-light-fast-generic-face-detector-1mb.

luliang6 avatar luliang6 commented on May 22, 2024

谢谢解答,我改小分辨率试试看。

from ultra-light-fast-generic-face-detector-1mb.

Linzaer avatar Linzaer commented on May 22, 2024

好的,不客气,也可以试下slim版本,会快一点。

from ultra-light-fast-generic-face-detector-1mb.

Related Issues (20)

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.