学习 学习

get_image_size (Image20240123135334, Width, Height)
threshold (Image20240123135334, Region, 128, 255)
connection (Region, ConnectedRegions)
select_shape (ConnectedRegions, SelectedRegions, 'area', 'and', 40000, 50000)
fill_up (SelectedRegions, RegionFillUp)
dilation_circle (RegionFillUp, RegionDilation, 14.5)
erosion_circle (RegionFillUp, RegionErosion, 7.5)
difference (RegionDilation, RegionErosion, RegionDifference)
reduce_domain (Image20240123135334, RegionDifference, ImageReduced)
edges_sub_pix (ImageReduced, Edges, 'canny', 1, 20, 40)
select_contours_xld (Edges, SelectedContours, 'contour_length', 400, 1000, -0.5, 0.5)
sort_contours_xld (SelectedContours, SortedContours, 'upper_left', 'true', 'row')
select_obj (SortedContours, ObjectSelected, 2)
fit_circle_contour_xld (ObjectSelected, 'algebraic', -1, 0, 0, 3, 2, Row1, Column1, Radius1, StartPhi, EndPhi, PointOrder)
gen_circle_contour_xld (ContCircle, Row1, Column1, Radius1, StartPhi, EndPhi ,'positive', 1)
polar_trans_image_ext (Image20240123135334, ImagePolar, Row1, Column1, StartPhi, EndPhi, Radius1+20, Radius1+ 100, round(6.28*Radius1/4), 80, 'bilinear')
rotate_image (ImagePolar, ImageRotate, 180, 'constant')
threshold (ImageRotate, Region2, 0, 140)
connection (Region2, ConnectedRegions2)
select_shape (ConnectedRegions2, SelectedRegions2, 'area', 'and', 500, 750)
sort_region (SelectedRegions2, SortedRegions1, 'first_point', 'true', 'row')
read_ocr_class_mlp ('Industrial_0-9A-Z_NoRej', OCRHandle)
do_ocr_multi_class_mlp (SortedRegions1, ImageRotate, OCRHandle, Class, Confidence)

get_image_size (ImagePolar, Width1, Height1)
hom_mat2d_identity (HomMat2DIdentity)
hom_mat2d_rotate (HomMat2DIdentity, rad(180), Height1/2.0, Width1/2.0, HomMat2DRotate)
affine_trans_region (SortedRegions1, RegionAffineTrans, HomMat2DRotate, 'nearest_neighbor')

polar_trans_region_inv (RegionAffineTrans, XYTransRegion, Row1, Column1, StartPhi, EndPhi, Radius1+20, Radius1+ 100, round(6.28*Radius1/4), 80, Width, Height, 'nearest_neighbor')
area_center (XYTransRegion, Area, Row, Column)
dev_disp_text (Class, 'image', Row, Column, 'red', [], [])

相关推荐

  1. 学习 学习

    2024-02-20 12:44:02       66 阅读
  2. 学期学习计划

    2024-02-20 12:44:02       45 阅读
  3. 学习笔记:机器学习

    2024-02-20 12:44:02       79 阅读
  4. C++学习-List学习

    2024-02-20 12:44:02       51 阅读
  5. opencv学习 机器学习

    2024-02-20 12:44:02       58 阅读

最近更新

  1. docker php8.1+nginx base 镜像 dockerfile 配置

    2024-02-20 12:44:02       94 阅读
  2. Could not load dynamic library ‘cudart64_100.dll‘

    2024-02-20 12:44:02       100 阅读
  3. 在Django里面运行非项目文件

    2024-02-20 12:44:02       82 阅读
  4. Python语言-面向对象

    2024-02-20 12:44:02       91 阅读

热门阅读

  1. 新建一个flask项目

    2024-02-20 12:44:02       54 阅读
  2. 关于Spring中管理Bean的杂谈

    2024-02-20 12:44:02       56 阅读
  3. 01.Redis中间件实战1

    2024-02-20 12:44:02       49 阅读
  4. C 练习实例71-结构体

    2024-02-20 12:44:02       49 阅读
  5. Vue2聊天框滚动条定位

    2024-02-20 12:44:02       55 阅读
  6. k8s实用命令

    2024-02-20 12:44:02       53 阅读
  7. 探索 Electron Egg:构建跨平台桌面应用的理想选择

    2024-02-20 12:44:02       60 阅读
  8. CC攻击有哪些防御手段?

    2024-02-20 12:44:02       54 阅读
  9. 6.类模板与继承

    2024-02-20 12:44:02       49 阅读