Devices that are supported through the AI2-interface can also be set to a deep learning model usingset_dl_model_param. In this case the inference is not executed by HALCON but by the device itself. query_available_dl_devicesreturns a handle for each deep-learning-capable device supported thr...
Devices that are supported through the AI²-interface can also be set to a deep learning model usingset_dl_model_param. In this case the inference is not executed by HALCON but by the device itself. query_available_dl_devicesreturns a handle for each deep-learning-capable device supported ...
Devices that are supported through the AI 2-interface can also be set to a deep learning model using set_dl_model_param. In this case the inference is not executed by HALCON but by the device itself. query_available_dl_devices returns a handle for each deep-learning-capable device ...
ImageWidth := 256ImageHeight := 256Complexity := 15query_available_dl_devices ('runtime', 'id', 'gpu', 0, DLDevice)read_dl_model ('initial_dl_anomaly_medium.hdl', DLModelHandle)set_dl_model_param (DLModelHandle, 'image_width', ImageWidth)set_dl_model_param (DLModelHandle, 'image...
5.使用openvino, query_available_dl_devices('ai_accelerator_interface','openvino',DLDeviceHandles), 说明:21.05要使用openvino需要从21.11版本提取相关文件。 1.c:\Program Files\MVTec\HALCON-21.05-Progress\bin\x64-win64\目录下需有以下hAI2ibOpenVINOLoader.dll,hAI2OpenVINO.dll ...
* Preprocess the DLSampleBatch. preprocess_dl_samples (DLSampleBatch, DLPreprocessParam) 左滑查看更多 4. 执行深度学习推理: * Apply the DL model on the DLSampleBatch. apply_dl_model (DLModelHandle, DLSampleBatch, [], DLResultBatch)
query_available_dl_devices (['runtime','runtime'], ['gpu','cpu'], DLDeviceHandles) if (|DLDeviceHandles| == 0) throw ('No supported device found to continue this example.') endif * Due to the filter used in query_available_dl_devices, the first device is a GPU, if available. ...
apply_dl_model 在halcon中执行时间只要100ms内,但是在c#中却要1000ms,是为什么呢 halcon: read_dict ('xxx.hdl', [], [], DLDataset) set_dl_model_param (DLModelHandle, 'batch_size', 1) query_available_dl_devices ('runtime', 'cpu', DLDeviceHandles) set_dl_model_param (DLModelHandl...
复制代码 QueryAvailableDlDevices这句代码在HDevelop里面能正常打印出CPU和GPU的值,但是到了C#里面直接...
*set_dl_model_param (DLModelHandle, 'complexity', Complexity) *设置硬件 * In this example, the anomaly detection model is trained on the CPU. query_available_dl_devices (['runtime', 'id'], ['cpu', 0], DLDevice) set_dl_model_param (DLModelHandle, 'device', DLDevice) *设置预...