bytedeco/javacv

The blobFromImage function returns an abnormal result

Open

#2,095 建立於 2023年9月11日

在 GitHub 查看
 (1 留言) (0 反應) (0 負責人)Java (1,583 fork)batch import
help wantedquestion

倉庫指標

Star
 (6,985 star)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

This is my code,the width and height of the blob are always -1. Mat img = opencv_imgcodecs.imread(imagePath); Mat blob = opencv_dnn.blobFromImage(img, 1.0, new Size(640, 640), new Scalar(0.0), true, false, CV_32F);

貢獻者指南