




版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報(bào)或認(rè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)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 《第二單元 可愛的家 音樂實(shí)踐》(教學(xué)設(shè)計(jì))-2023-2024學(xué)年人教版(2012)音樂三年級(jí)下冊
- 2024年三年級(jí)品社下冊《馬路不是游戲場》教學(xué)設(shè)計(jì) 山東版
- Revision of Module 1 and Module 9(教學(xué)設(shè)計(jì))-2023-2024學(xué)年外研版(一起)英語六年級(jí)上冊
- 2024-2025學(xué)年高中歷史下學(xué)期第12-13周教學(xué)設(shè)計(jì)(2.5.1 走向整體的世界)
- Unit2 Food and Health+ Speaking Workshop 教案2024-2025學(xué)年北師大版七年級(jí)英語下冊
- 2023七年級(jí)道德與法治下冊 第三單元 在集體中成長第六課 我和我們第2框 集體生活成就我教學(xué)設(shè)計(jì) 新人教版
- Unit 5 The colourful world Part A Let's talk(教學(xué)設(shè)計(jì))-2024-2025學(xué)年人教PEP版(2024)英語三年級(jí)上冊
- 7《湯姆·索亞歷險(xiǎn)記》(節(jié)選)教學(xué)設(shè)計(jì)-2024-2025學(xué)年統(tǒng)編版語文六年級(jí)下冊
- 1~5的認(rèn)識(shí)(教學(xué)設(shè)計(jì))2024-2025學(xué)年一年級(jí)上冊數(shù)學(xué)人教版
- 神經(jīng)外科介入護(hù)理
- 高速公路工程質(zhì)量管理制度匯編
- 2025年春形勢與政策第二學(xué)期練習(xí)題、知識(shí)點(diǎn)梳理
- 2025年精密注塑市場分析報(bào)告
- 2025屆浙江省杭州市下學(xué)期高三考前(二模)語文試題試卷含解析
- 北師大版四年級(jí)數(shù)學(xué)下學(xué)期月考質(zhì)量評(píng)估課后輔導(dǎo)過關(guān)檢測考試
- 高中主題班會(huì) 自律·自主·自覺-成就更好的自己課件-高一下學(xué)期“雙休”背景下如何實(shí)現(xiàn)自我突破主題班會(huì)
- 2025年室內(nèi)設(shè)計(jì)師職業(yè)資格考試真題卷-室內(nèi)設(shè)計(jì)軟件操作與應(yīng)用試題
- 2024年貴陽銀行招聘考試真題
- 成人手術(shù)后疼痛管理專家共識(shí)
- 人工智能導(dǎo)論 課件 8. 人工智能+電商
- 星海音樂學(xué)院附中招生文化考試試卷
評(píng)論
0/150
提交評(píng)論