设置首页收藏本站
开启左侧

dl_anomaly_detection_workflow

[复制链接]
wenluderen 发表于 2020-8-11 14:09:15 | 显示全部楼层 |阅读模式
dl_anomaly_detection_workflow(Halcon独有的,只需要训练OK,就可以做检测)*****
*
* Deep learning anomaly detection example.
*
* This example demonstrates(表明,显示) the general workflow for anomaly detection based on deep learning.
*
* The workflow typically(典型的,经典的,常常的) consists(由.......组成) of four steps which are described here:

* 1. Dataset(数据集) preprocessing.
* 2. Training of the model and threshold estimation on 'ok' images.(训练模型,分类)
* 3. Qualitative evaluation of the trained model.对训练模型的定性评估。
* 4. Inference on new images.(推理)

××××××××××××××××××××××××
dev_update_off ()
(GSZ:Switch dev_update_pc, dev_update_var and dev_update_window to 'off'.)
(dev_update_pc----        Switches the update of the PC during program execution on or off.)
(dev_update_var---        Switches the update of the variable window during program execution on or off.)
(dev_update_window -- Switches the automatic output of iconic output objects into the graphics window during program execution on or off.)
***
set_system ('seed_rand', 73)  
(GSZ:设定随机种子)

**
* Set path to data.
get_image_dir (HalconImages)


(GSZ:HalconImages 是一个系统变量,代表MVT提供的图像的素材的路径)
2020-08-11_140829.jpg


奖励计划已经开启,本站鼓励作者发布最擅长的技术内容和资源,流量变现就在现在,[点我]加入吧~~~Go
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表