Comments (6)
Please check https://github.com/YYuanAnyVision/mxnet_mtcnn_face_detection
from metapattern_fas.
Ok ,thank you. But I couldn't find the "mxnet_detector.detect_and_align" function in "https://github.com/YYuanAnyVision/mxnet_mtcnn_face_detection"
from metapattern_fas.
Ok ,thank you. But I couldn't find the "mxnet_detector.detect_and_align" function in "https://github.com/YYuanAnyVision/mxnet_mtcnn_face_detection"
I see.
Below are the contents of mxnet_detector.py I used in my machine. You can create a file named "mxnet_detector" and copy the below contents to this file.
import mxnet as mx
from mtcnn_detector import MtcnnDetector
import cv2
import os
import time
detector = MtcnnDetector(model_folder='/home/rizhao/code/mxnet_mtcnn_face_detection/model', ctx=mx.cpu(0), num_worker = 8 , accurate_landmark = False)
def detect_and_align(img, desired_size=256):
global detector
results = detector.detect_face(img)
total_boxes = results[0]
points = results[1]
# extract aligned face chips
chips = detector.extract_image_chips(img, points, desired_size, 0.37)
return chips[0]
from metapattern_fas.
Ok, thank you very much! I'll try it soon.
from metapattern_fas.
Excuse me, I have another question:
cannot import name 'metric_report_from_dict' from 'test'
I couldn't find the file named "test".
from metapattern_fas.
Excuse me, I have another question: cannot import name 'metric_report_from_dict' from 'test' I couldn't find the file named "test".
Please refer to #4
from metapattern_fas.
Related Issues (11)
- Why the repo is still empty HOT 1
- 请问您使用的是哪个mtcnn的程序呢? HOT 2
- “test” files HOT 1
- [Errno 2] No such file or directory: 'models/MetaTexFPNv6_1/net.pth' HOT 1
- Could you provide me some information about your environment? HOT 2
- config/default.py 参数设置问题 HOT 2
- 有pretrain model 吗 HOT 1
- 关于pretrained model
- 关于 pixel_maps 的生成
- No such file or directory: 'models/MetaTexFPNv6_1/net.pth'
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from metapattern_fas.