合集-opencv

摘要:加载east 模型 进行 文本检测 模型下载 https://codeload.github.com/oyyd/frozen_east_text_detection.pb/zip/refs/heads/master #coding:utf-8 import cv2 import math ##### 阅读全文
posted @ 2024-02-05 10:46 哈库拉 阅读(288) 评论(0) 推荐(0)
摘要:cv::Mat 格式互转 // 转 Mat ccPelBuffer_const<c_UInt8> trainimg = xPattern.trainImage(); const ccPelRoot<c_UInt8>* croot = trainimg.root(); // 零拷贝:Mat 直接包装 阅读全文
posted @ 2026-06-27 14:01 哈库拉 阅读(6) 评论(0) 推荐(0)
摘要:std::shared_ptr<ccPMAlignPattern> pattern = std::make_shared<ccPMAlignPattern>(); ccFileArchive file(PatFile.toStdWString(), ccArchive::eLoading); fil 阅读全文
posted @ 2026-06-29 17:56 哈库拉 阅读(5) 评论(0) 推荐(0)