1 简介
基于计算机视觉实现钟表时间识别含Matlab源码
2 部分代码
function [time_clock]= read(filepath)I = imread(filepath);[edges,center,maxxy,minxy] = edges_center(I);[arrowslines,longest,center] = getarrows(I,edges,center,maxxy,minxy);if isempty(arrowslines)info = imfinfo(filepath);center(1) = info.Width/2;center(2) = info.Height/2;maxxy = [info.Width info.Height];minxy = [0 0];[arrowslines,longest,center] = getarrows(I,edges,center,maxxy,minxy);endfinallines = struct('point1',{},'point2',{});if length(arrowslines) == 1newlongest = arrowslines(1);finallines
最后
以上就是瘦瘦大船最近收集整理的关于【钟表识别】基于计算机视觉实现钟表时间识别含Matlab源码的全部内容,更多相关【钟表识别】基于计算机视觉实现钟表时间识别含Matlab源码内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复