版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認領(lǐng)
文檔簡介
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 “l(fā)azy” 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. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責。
- 6. 下載文件中如有侵權(quán)或不適當內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 二零二五年度企業(yè)總部基地租賃合同范本2篇
- 2025年度現(xiàn)代農(nóng)業(yè)病蟲害綜合防治與防治藥物研發(fā)服務(wù)合同3篇
- 二零二五年度河北省二手房買賣合同附帶貸款利率及還款方式協(xié)商3篇
- 二零二五年度教育培訓合同(不含教材)3篇
- 二零二五年度旅游行業(yè)投資并購合同3篇
- 二零二五年度搬遷項目進度管理合同3篇
- 貪吃蛇c++課程設(shè)計
- 二零二五年度國際酒店設(shè)施招標采購合同3篇
- 海南外國語職業(yè)學院《樂理基礎(chǔ)與視唱(二)》2023-2024學年第一學期期末試卷
- 海南外國語職業(yè)學院《MATLAB與電機系統(tǒng)仿真》2023-2024學年第一學期期末試卷
- 2025北京豐臺初二(上)期末數(shù)學真題試卷(含答案解析)
- 遼寧華電高科環(huán)保技術(shù)有限公司油泥煤循環(huán)流化床協(xié)同資源化工業(yè)化試驗項目環(huán)境影響評價報告書
- 復旦大學普物B期末考試試卷
- 剪映教程PPT版本新版剪影零基礎(chǔ)教學課程課件
- 小學語文低年級寫話 鴿子
- GB/T 35223-2017地面氣象觀測規(guī)范氣象能見度
- GB/T 24183-2009金屬材料制耳試驗方法
- 醫(yī)院感染質(zhì)量控制中心工作總結(jié)和計劃課件
- 中共一大介紹
- 生產(chǎn)車間5s管理培訓課件
- 監(jiān)考要求、操作流程及指導語
評論
0/150
提交評論