年龄、性别2022 cnn算法笔记

MXNET平台:

模型13M,实时对摄像头测试,年龄值跳动比较频繁,需要加权或者跟踪算法。

https://github.com/yeyupiaoling/Age-Gender-MXNET

安装:pip install mxnet-cu101==1.5.0

看demo效果不错: 

自己改写了一个摄像头实时预览代码: 

import argparse

import cv2
import mxnet as mx
import numpy as np

from utils import face_preprocess
from utils.mtcnn_detector import MtcnnDetector

parser = argparse.ArgumentParser()
parser.add_argument('--image_size',   default='112,112',           help='models input size.')

猜你喜欢

转载自blog.csdn.net/jacke121/article/details/123469895