Giter Club home page Giter Club logo

face-gaze-estimation-opencv-dnn's Introduction

face-gaze-estimation-opencv-dnn

使用OpenCV部署L2CS-Net人脸朝向估计,包含C++和Python两个版本的程序,只依赖opencv库就可以运行。 本套程序,先用yolov8face做人脸检测,在检测到人脸之后crop出人脸区域,输入到L2CS-Net库做人脸的朝向估计。 人脸检测器,可以自己的喜好,选择使用,不一定要使用yolov8face。

L2CS-Net的训练源码在 https://github.com/Ahmednull/L2CS-Net

onnx文件在百度云盘,下载链接:https://pan.baidu.com/s/1r3rPRCM8AjNk_eLEOnVDzw?pwd=to14 提取码:to14

face-gaze-estimation-opencv-dnn's People

Contributors

hpc203 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

face-gaze-estimation-opencv-dnn's Issues

Differences with the main repo

Your version of code has some differences. like the Softmax on the outputs of the l2csnet which has 90 values. Does your converted model have that part inside it?
I also dont have accss to baidu link to see your onnx file. is there a gdrive link?

opencv读取onnx报错

cv2.error: OpenCV(4.5.5) D:\a\opencv-python\opencv-python\opencv\modules\dnn\src\onnx\onnx_importer.cpp:928: error: (-2:Unspecified error) in function 'cv::dnn::dnn4_v20211220::ONNXImporter::handleNode'

Node [[email protected]]:(/ReduceSum_output_0) parse error: OpenCV(4.5.5) D:\a\opencv-python\opencv-python\opencv\modules\dnn\src\onnx\onnx_importer.cpp:1083: error: (-213:The function/feature is not implemented) Unsupported input shape of ReduceSum operation. in function 'cv::dnn::dnn4_v20211220::ONNXImporter::parseReduce'

请问opencv是什么版本下可以正常跑呢?

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.