2013年3月31日

python使用opencv进行人脸识别

摘要: 环境ubuntu 12.04 LTSpython 2.7.3opencv 2.3.1-7安装依赖sudo apt-get install libopencv-*sudo apt-get install python-opencvsudo apt-get install python-numpy示例代码#!/usr/bin/env python#coding=utf-8import osfrom PIL import Image, ImageDrawimport cvdef detect_object(image): '''检测图片,获取人脸在图片中的坐标' 阅读全文

posted @ 2013-03-31 10:03 ma6174 阅读(27487) 评论(0) 推荐(1) 编辑

导航