版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、Optical Character VerificationObjectivesThe student will correctly:Create and configure an OCV FontConfigure an OCV Pattern layoutSpecify a reasonable OCV pattern positionAnalyze the results returned from an OCV toolOCVOptical Character Verification is used to verify that a given character string is
2、 presentCommonly used to verify lot and date codesReturns TRUE if all characters in the string are correctly identified; FALSE if notUser trains the font for the characters in the string to verifyCan also be used as a “lazy” Optical Character Recognition tool ExampleVerify the lot number “04149”Gene
3、ral Steps1. Choose a Font1A. Edit a font1B. Load an existing font2. Configure the String Pattern3. Define the Pattern Position4. Choose Graphics to Display5. Test and verify resultsAdd OCV ToolAdd an OCV tool in QuickStart and link an image to its Input ImageIn this example, we will assume (for now)
4、 that the code is approximately in the same place in each imageNo fixturing neededFont TrainingFontTo start a new font, open the Font EditorAdd Normal Font ModelsChoose Add Normal Font Models to add characters to the fontIt launches the “Add Font Models” dialogFont Reference ImageIf you havent alrea
5、dy passed an image to the OCV tool, press “Grab Reference Image” to get an image that contains the characters you want to add to the fontChoose a Region ModeExtract Model CandidatesEnter the Candidates to ExtractCan be a single character or several at the same timeA box for each candidate will appea
6、r on the reference imageCharacter RegionsPosition each box around a single characterIf there is overlap, well take care of it with masking laterFont GuidelinesModels should be representative of typical run-time charactersSize is ideally between 10 x 10 pixels and 64 x 64 pixelsStroke width should no
7、t vary by more than 10%No more than 10% of the character should be missingFor dot-matrix, use the Image Processing tool to fill in the character stroke for both font training and run-time imagesThe font model image should contain a border of white space around the character 1 - 3 times the stroke wi
8、dthOrigin should be the same for all characters in a font i.e. define the origin for characters to be the center of the character baseline (For more details refer to the documentation)Extract CandidatesSelect Extract Model CandidatesA thumbnail of each candidate appears in the dialogAdd Models to Fo
9、ntBlank Font ModelsIf needed, add blank font models using a procedure similar to that for adding normal font modelsModel Masking and EditingUse Model Image Editor to edit the image to make a “better” modelEspecially useful when no “ideal” character exists for you train fromUse Mask Editor to mask ou
10、t features you do not want to train in the modelCompile the FontCompiling a font creates a Confusion MatrixIndications of models that have high correlations and may be confused at run-timeYou must compile a font to verify a patternConfusion MatrixIndicates on a scale of 0 1.0 how much confusion exis
11、ts between two characters in a fontOnly those characters whose confusion number exceeds the threshold will be comparedTraining Multiple Models of a CharacterIn general, train enough instances of a character to capture the expected variationsHowever, the more instances, the slower verification can be
12、Well see our options available for verifying in the Pattern set-upPattern LayoutPattern CharactersGrab a Reference ImageGo to Edit and Layout for Simple Pattern Set-upSimple Pattern Set-upIndicate the string to be verifiedSelect a baseline direction Where to look for the string in the imageLocate Al
13、l will find all characters in the area specifiedAdvanced Pattern Set-upCharacter UncertaintySet uncertainty values for the charactersUncertainty from reference image positionsGreater uncertainty = Greater execution timeThresholdsAccept is the minimum correlation score a character must receive to be
14、considered a valid matchConfidence is the amount that a characters matching score must exceed the highest scoring confusing character in order to pass verificationPattern UncertaintiesPattern Uncertainties are the expected variation of the overall pattern from the pattern originPattern origin so far
15、 has assumed to be the image originIncreasing uncertainty will increase execution timeRunning OCVOCV ResultsPattern StatusOverall whether the pattern was correctly verified or notPattern ScoreThe average correlation of the characters in the run-time string to the trained patternOCV ResultsCharacter
16、results return values for each character in the stringPatterns That MoveExpected PoseIf you pattern is going to move significantly from image to image, you will probably want to supply an Expected PoseMay come from either fixturing toolOr from a PMAlign tool (our example)Expected PoseIn this example, find the “Lot” pattern for the expected posePattern OriginAfter linking the appropriate terminals, the additional step is to duplicate the origin result of the PMAlign to t
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2025年江铃汽车集团财务有限公司招聘笔试参考题库含答案解析
- 2025个人独资企业金融贷款与担保合同2篇
- 2025年度个人二手房买卖定金合同(含交易佣金支付)3篇
- 2025年个人商业地产租赁合同样本2篇
- 2025年度个人与企业间个人住房贷款合同3篇
- 2025年二手车买卖价格评估及调整合同
- 2025年全球及中国自行车导航设备行业头部企业市场占有率及排名调研报告
- 2025年全球及中国企业合同管理软件行业头部企业市场占有率及排名调研报告
- 2025年度个人住房公积金贷款合同续签范本2篇
- 2024年农网配电营业工(中级工)技能等级认证备考试题库-下(判断题)
- 开展课外读物负面清单管理的具体实施举措方案
- 《中国心力衰竭诊断和治疗指南(2024)》解读完整版
- 2025年云南中烟工业限责任公司招聘420人高频重点提升(共500题)附带答案详解
- 2025-2030年中国洗衣液市场未来发展趋势及前景调研分析报告
- 2024解析:第三章物态变化-基础练(解析版)
- 北京市房屋租赁合同自行成交版北京市房屋租赁合同自行成交版
- 《AM聚丙烯酰胺》课件
- 系统动力学课件与案例分析
- 《智能网联汽车智能传感器测试与装调》电子教案
- 客户分级管理(标准版)课件
- GB/T 32399-2024信息技术云计算参考架构
评论
0/150
提交评论