bytedeco/javacv

The blobFromImage function returns an abnormal result

Open

#2,095 opened on 2023年9月11日

GitHub で見る
 (1 comment) (0 reactions) (0 assignees)Java (1,583 forks)batch import
help wantedquestion

Repository metrics

Stars
 (6,985 stars)
PR merge metrics
 (30d に merged 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);

コントリビューターガイド