-
食品分类器使用神经网络-此实现很好的食品的分类
Foodcam 分类器
==================
麻省理工学院媒体实验室 Foodcam 视觉词袋的分类。
建成使用 OpenCV 2.3
BOVW 方法实施: 视觉分类与要点袋由凯碧 Csurka、 克里斯托弗 R.舞蹈、 立信风扇、 尤塔 · 维拉莫夫斯基、 塞德里克 · 布雷,2004年。
使用对手颜色冲浪功能 (192 浮游物): 范德三德 et al.,CGIV 2008 颜色描述符对象类别识别。(他们用材料的筛选)
径向基础函数 SVMs 的分类。
这基本上是底漆的使用 OpenCV,BOVW 的方法进行简单的死了。
我调整了的基本方法:
-使用背景减法 (因为这些都是来自照相机的图片)。
-使用滑动窗口。这使多类更好的决策,并实际上铺到图像分割的路径。
编译
---------
基本上,只需运行:
cmake-D CMAKE_CXX_FLAGS =-fopenmp。;让-j4
CMake 应带你一路,但我也有.xcodeproj / 包括。
工作它
----------
获取数据集:
http://fay.media.mit.edu/foodcamimages.zip
假设数据集现在是在同一目录中,在 foodcamimages 下 /。
手动分类训练和测试:
./ 手册分类器 foodcamimages/火车/train.txt
./ 手册分类器 foodcamimages/测试/test.txt
(或者您可以使用包括...我手动分类懒)
创建背景图像:
./ 让-测试-背景
构建词汇: (这将需要很长时间,对耕地 130 KMeans 192 长向量以找到 1000年聚类中心.
- 2023-01-21 14:15:04下载
- 积分:1
-
NewFeaturesOfOpenCV2.1
采用opencv2.1,实现了一个全新的背景切除高效算法(Using opencv2.1, implements a new algorithm for background removal efficiency
)
- 2011-07-21 01:27:45下载
- 积分:1
-
python-opencv鼠标绘图程序
资源描述
程序实现鼠标画图功能,点击鼠标左键则会以点击位置为圆心画一个圆,而且每次点击画出的圆颜色和上一次都不一样,看起来色彩丰富,很有意思,效果如下图:
- 2022-01-26 07:20:28下载
- 积分:1
-
摄像机标定
资源描述摄像机标定程序,附带标定图片。vs10和opencv2.4.9
- 2022-05-17 14:10:36下载
- 积分:1
-
DirectShow
通常用opencv采集摄像头的时候,往往只能获取usb借口的,而图像采集卡的方法则可以实现任何摄像头的采集(Usually opencv camera collection, it is often only get usb excuses, and the image acquisition card any way you can achieve camera capture)
- 2013-09-25 23:52:30下载
- 积分:1
-
OpenCVForImageProcessing
在Windows下安装OpenCV,然后在Visual C++6.0环境下对OpenCV进行配置,里面的程序都是用OpenCV工具包编的控制台程序(In Windows, install OpenCV, and then in the Visual C++6.0 environment of the OpenCV configuration, which the program is edited with the OpenCV toolkit console program)
- 2010-05-05 17:18:58下载
- 积分:1
-
yanse
opencv的颜色识别,可以实现识别rgb(opencv the color identification, can identify the rgb)
- 2011-11-14 14:30:17下载
- 积分:1
-
DTW算法
通过c++实现DTW算法,搭建opencv+VS2013实现平台
- 2022-03-04 13:21:13下载
- 积分:1
-
detect_human1
说明: 视觉算法原理:背景提取
1. 打开视频(文件或摄像头)
2. 从视频中提取当前帧
3. 计算背景:以前多帧求取平均
4. 根据背景得到运动目标(当前帧 - 背景)
5. 返回2,程序不断循环(Principle of visual algorithm: background extraction
1. Open video (file or camera)
2. Extract the current frame from the video
3. Calculation background: before, the average of multiple frames was calculated
4. Get the moving target according to the background (current frame - background)
5. Return 2, the program loop)
- 2020-05-24 14:21:20下载
- 积分:1
-
testMatchTemplateCAM
通过调用OpenCV库,采用计算相关性大小进行视频跟踪。在源码中输入要跟踪的图样,运行文件,程序可以识别跟踪摄像头摄取场景内与图样相关性最高的目标(By calling the OpenCV library, using a case-by-difference method for video tracking. Input source you want to track the pattern, run the file, the program can identify tracking camera scene and drawings highest goal intake)
- 2012-08-21 10:48:34下载
- 积分:1