clear_texture_inspection_model -清除纹理检测模型并释放分配的内存
2022-11-13
新闻来源:网淘吧
围观:856
电脑广告
手机广告
购买adidas上京东官方旗舰店。
简短描述
clear_texture_inspection_model -清除纹理检测模型并释放分配的内存
上网淘巴领天猫淘宝优惠券,一年省好几千。签名
clear_texture_inspection_model( : : TextureInspectionModel : )
描述
操作符clear_texture_inspection_model删除一个由create_texture_inspection_model创建的纹理检查模型。释放模型使用的所有内存。模型的句柄在TextureInspectionModel中传递。在操作员调用后无效。
参数
texture_inspection_model(-array)→(integer)
纹理检查模型的句柄。
例程
* Create texture inspection model
create_texture_inspection_model ('basic', TextureInspectionModel)
* Read and add training images
read_image (TrainImage, 'carpet/carpet_01')
add_texture_inspection_model_image (TrainImage, TextureInspectionModel, \
Indices)
* Train the model
train_texture_inspection_model (TextureInspectionModel)
* Read and apply a test image
read_image (TestImage, 'carpet/carpet_02')
apply_texture_inspection_model (TestImage, DefectCandidates, \
TextureInspectionModel, \
TextureInspectionResultID)
* Clean up
clear_texture_inspection_model (TextureInspectionModel)
返回结果
上网淘巴领天猫淘宝优惠券,一年省好几千。
文章底部电脑广告
手机广告位-内容正文底部


微信扫一扫,打赏作者吧~