bytedeco/javacv

The blobFromImage function returns an abnormal result

Open

#2.095 geöffnet am 11. Sept. 2023

Auf GitHub ansehen
 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)Java (1.583 Forks)batch import
help wantedquestion

Repository-Metriken

Stars
 (6.985 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

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);

Contributor Guide