10 2024 档案
摘要:使用CountObj函数 首先,可以使用CountObj函数来检查当前图像是否为空。如果图像为空,则返回的计数为0;否则,返回的计数大于0。示例代码如下: cppCopy Code HTuple hNum; HalconCpp::CountObj(m_hCurrentImg, &hNum); if
阅读全文
摘要:read_image (Image, '1.jpg')gen_rectangle1 (Rectangle_1, 1457, 99, 1801, 473)crop_rectangle1 (Image, ImagePart, 1457, 99, 1801, 473)create_data_code_2d
阅读全文