Giter Site home page Giter Site logo

insightface_ncnn's Issues

mergebn needed?

Do you need mergebn before converting caffemodel to ncnnmodel?

关于arcface.cpp中preprocess输入的图像问题

非常感谢您的开源工作。
关于preprocess(ncnn::Mat img, sst_face info)的第一个参数是通过mtcnn截取的脸部图像还是原始图像呢?
preprocess函数内部在做脸部对齐的时候直接传入了img,是不是应该传入mtcnn截取的脸部图像?
warpAffineMatrix(img, out, M, image_w, image_h)
不知道是不是我哪里理解错了,期待您的解答,谢谢!

询问下ArcFace的代码,谢谢

你好,请问Arcface::normalize()函数是做什么用的?为什么要对输出的特征值做这步处理?ArcFace官方的python代码好像没这步处理?

还有ArcFace的特征输出长度为512,你这为什么是128?

Bbox value normalization

@KangKangLoveCat
This is how I got the bbox value "results1[0].regreCoord" obtained as a result of the detection model, but the drawn rectangle is drawn in different positions.
How can normalization be done?

models对应的图像格式是BGR还是RGB的顺序?

您好,我运行了您的代码,效果很好。 我看到main函数中读入图像是按照BGR的格式读入的: ncnn::Mat ncnn_img1 = ncnn::Mat::from_pixels(img1.data, ncnn::Mat::PIXEL_BGR, img1.cols, img1.rows); 我疑惑的是,MTCNN和insightface在训练的时候是按照RGB的图像格式来训练的。 有的ncnn版本的MTCNN代码中使用的是ncnn::Mat::PIXEL_BGR2RGB的通道顺序。
我把输入图像换成RGB的格式,该代码也可以工作。
所以想确认下,MTCNN和insightface的模型对应的是哪一种,您是否在转换成ncnn模型的时候,就把对应的数据顺序从RGB转成了BGR?
非常感谢。

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.