版權(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. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 環(huán)境檢查合同范例
- 2024至2030年無毒防霉內(nèi)墻涂料項目投資價值分析報告
- 2024至2030年保溫粘結(jié)砂漿(單組份)項目投資價值分析報告
- 2024年銀行金庫門項目可行性研究報告
- 輪胎買賣標準合同范例
- 2024事業(yè)單位停薪留職規(guī)定與員工權(quán)益保障合同3篇
- 簽訂會員合同范例
- 2024年度旅游度假村運營管理服務合同模板3篇
- 鄉(xiāng)村振興土地合同范例
- 銷售經(jīng)理責任合同范例
- 物流運輸雙氧水安全應急預案
- 【項目方案】合同能源托管模式下開展校園綜合能源建設(shè)方案-中教能研院
- 功能科提高動態(tài)心電圖檢查人次PDCA
- 《智能網(wǎng)聯(lián)汽車智能傳感器測試與裝調(diào)》電子教案
- 北京交通大學《數(shù)字圖像處理》2022-2023學年期末試卷
- 2024粵東西粵北地區(qū)教師全員輪訓培訓心得總結(jié)
- 服務類驗收單
- 教育信息化2.0時代教師新技能進階智慧樹知到期末考試答案2024年
- 國開2023年春《理工英語3》機考網(wǎng)考期末復習資料參考答案
- 中國古建筑行業(yè)分析報告
- 蜂產(chǎn)品訂購合同范本
評論
0/150
提交評論