mirror of
https://github.com/Ascend/ascend_community_projects.git
synced 2025-09-26 20:01:17 +08:00
wz modify log
This commit is contained in:
@@ -61,8 +61,13 @@
|
|||||||
|
|
||||||
本项目根据widerface数据集训练得到,适用于人脸检测,并且将人脸位置与五官位置标出。
|
本项目根据widerface数据集训练得到,适用于人脸检测,并且将人脸位置与五官位置标出。
|
||||||
|
|
||||||
适用于测试图片中有人脸的情况。若测试图片中没有人脸则无法运行
|
本项目在绝大多数情况下准确,但是存在以下检测异常的情况:
|
||||||
|
|
||||||
|
1.正常检测中,由于模型本身的限制,会出现部分物体检测不到/检测错误;
|
||||||
|
|
||||||
|
2.图片中无检测目标时,会出现可视化异常,输出结果无图片信息;
|
||||||
|
|
||||||
|
3.对于图片中一些侧脸和与人脸相似的动物脸的情况,模型可能会出现漏检测或者误检测;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@@ -222,7 +222,7 @@ APP_ERROR RetinafaceDetection::Process(const std::string& imgPath) {
|
|||||||
imagePath = imgPath;
|
imagePath = imgPath;
|
||||||
cv::Mat originImage = cv::imread(imgPath);
|
cv::Mat originImage = cv::imread(imgPath);
|
||||||
if (originImage.data == NULL) {
|
if (originImage.data == NULL) {
|
||||||
LogInfo << "The image is not exist.\n";
|
LogError << "The image is not exist.\n";
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
originImageW = originImage.cols;
|
originImageW = originImage.cols;
|
||||||
|
@@ -15,13 +15,6 @@
|
|||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
|
|
||||||
export install_path=/usr/local/Ascend/ascend-toolkit/latest
|
|
||||||
export PATH=/usr/local/python3/bin:${install_path}/atc/ccec_compiler/bin:${install_path}/atc/bin:$PATH
|
|
||||||
export PYTHONPATH=${install_path}/atc/python/site-packages:${install_path}/atc/python/site-packages/auto_tune.egg/auto_tune:${install_path}/atc/python/site-packages/schedule_search.egg
|
|
||||||
export LD_LIBRARY_PATH=${install_path}/atc/lib64:$LD_LIBRARY_PATH
|
|
||||||
export ASCEND_OPP_PATH=${install_path}/opp
|
|
||||||
|
|
||||||
|
|
||||||
# Execute, transform Retinaface model.
|
# Execute, transform Retinaface model.
|
||||||
|
|
||||||
atc --framework=5 --model=retinaface.onnx --output=newRetinaface --input_format=NCHW --input_shape="image:1,3,1000,1000" --log=debug --soc_version=Ascend310 --insert_op_conf=../config/aipp.cfg
|
atc --framework=5 --model=retinaface.onnx --output=newRetinaface --input_format=NCHW --input_shape="image:1,3,1000,1000" --log=debug --soc_version=Ascend310 --insert_op_conf=../config/aipp.cfg
|
||||||
|
Reference in New Issue
Block a user