图像识别
文章平均质量分 57
fengjiexyb
这个作者很懒,什么都没留下…
展开
-
python图像预处理
# -*- coding:utf-8 -*- '''Created on 2017年8月4日@author: fengj'''import numpy as npfrom PIL import Image, ImageFilterimport mathimageWidth=151#图片宽度imageHeight=112#图片高度#每个点用他旁边的8个点及自己综合平均d原创 2017-08-19 20:49:15 · 6442 阅读 · 0 评论 -
使用opencv2查看图片彩色直方图
# -*- coding:utf-8 -*- '''Created on 2017年8月10日@author: fengj'''import cv2import numpy as npfrom matplotlib import pyplot as pltimg = cv2.imread("C:\\Users\\fengj\\Desktop\\1.png")'''彩色直方图'原创 2017-08-19 20:53:30 · 485 阅读 · 0 评论 -
使用opencv2变换图片大小
# -*- coding:utf-8 -*- '''Created on 2017年8月10日@author: fengj'''import cv2import numpy as npfrom matplotlib import pyplot as pltimg = cv2.imread("C:\\Users\\fengjiexyb\\Desktop\\0.png")heig原创 2017-08-19 20:55:33 · 481 阅读 · 0 评论 -
MATLAB下跑Faster-RCNN+ZF实验时如何编译自己需要的external文件
好朋友的文章,转载保存。学习一下。http://www.cnblogs.com/maitre-zhao/p/6689953.html转载 2017-08-21 20:57:08 · 231 阅读 · 0 评论 -
霍夫变换直线检测及原理理解
霍夫变换(Hough Transform)是图像处理中的一种特征提取技术,它通过一种投票算法检测具有特定形状的物体。该过程在一个参数空间中通过计算累计结果的局部最大值得到一个符合该特定形状的集合作为霍夫变换结果。霍夫变换于1962年由Paul Hough 首次提出[53],后于1972年由Richard Duda和Peter Hart推广使用[54],经典霍夫变换用来检测图像中的直线,后来霍夫转载 2017-09-24 11:36:35 · 21308 阅读 · 3 评论 -
使用libsvm来训练mnist数据集
在这篇bolg 中我安装可libsvm,现在开始实现用libsvm来做手写数字识别minst文件可以在官网下载。下载后参考官网和这个网站来弄清楚文件的结构。我就不细说了。''' @author:fengjiexyb @time:2017-09-09''' # -*- coding:utf-8 -*-import loggingimport matplotlib.pyplo原创 2017-09-09 20:26:26 · 1258 阅读 · 0 评论 -
使用libsvm来训练液晶数字识别
# -*- coding:utf-8 -*-'''@finish time:20170915@author;fengjiexybthis is a file that train and test LCD digitthe dataset is minethe result is 95.05%'''import loggingimport matplotlib.pyplot as原创 2017-09-19 16:00:48 · 1272 阅读 · 6 评论 -
图像二值化、提取边缘
# -*- coding:utf-8 -*-'''@finish time:20170914@author;fengjiexybthis code is used for my lcd digit dataset gray and binarization'''import picklefrom svmutil import *from PCV.tools import imto原创 2017-09-19 16:07:39 · 7534 阅读 · 0 评论 -
使用svm进行蚊子识别
# -*- coding:utf-8 -*-'''@finish time:20170915@author;fengjiexybthis is a file that train and test LCD digitthe dataset is minethe result is 95.05%'''import loggingimport matplotlib.pyplot as原创 2017-09-19 16:08:42 · 1363 阅读 · 2 评论