do_ocr_multi_class_mlp

threshold(ImageReduced, Region1, 120, 255)
dilation_circle(Region1, RegionDilation, 1)

connection(RegionDilation, ConnectedRegions2)
select_shape(ConnectedRegions2, SelectedRegions2, 'area', 'and', 50, 99999)
sort_region(SelectedRegions2, SortedRegions, 'first_point', 'true', 'column')

area_center(SortedRegions, Area, Row, Column)
count_obj(SortedRegions, Number1)
read_ocr_class_mlp('Industrial_0-9A-Z_NoRej.omc', OCRHandle)
do_ocr_multi_class_mlp(SortedRegions, ImageReduced, OCRHandle, Class, Confidence)
 

你可能感兴趣的:(笔记,开发语言)