OpenCV haar静态图像培训 [英] OpenCV haar training for static image

查看:122
本文介绍了OpenCV haar静态图像培训的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图训练用于卡片检测的haar级联分类器(没有旋转且图像没有失真)



例如我有文件Clubs.png哪个内容白色背景上的俱乐部图像20x20像素



本教程非常混乱
视频



有趣的是你提到卡片, Eugene Zatepyakin 做了一个名为 ASSURF




I trying to train haar cascade classificator for card suite detection (which no rotation and has no distortion on image)

For example I have file Clubs.png which contents clubs image on white background 20x20 pixels

This tutorial is so tangled http://note.sonots.com/SciSoftware/haartraining.html

My image varies only in sizes, no distortion or angling.

Which commands I must enter in aim to get Clubs.xml file?

解决方案

As @Neon22 mentioned, great tutorial. From my experience, it's quite a lengthy process(collecting positive and negative samples, training, generating haar cascade), but then again maybe I was doing it wrong.

For detecting cards, it might be useful to have a look at OpenCV SURF as well.

Check out toxi's video.

Funny you mention cards, Eugene Zatepyakin did an actionscript port called ASSURF:

这篇关于OpenCV haar静态图像培训的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆