Ask Your Question

Sid24's profile - activity

2018-10-14 08:16:51 -0600 commented answer 4 dimensional Mat in opencv JAVA

Is there a way to print dimensions of 4D Mat that blobFromImage outputs

2018-10-14 07:29:06 -0600 commented answer 4 dimensional Mat in opencv JAVA

What do you suggest I should do now?

2018-10-14 02:23:36 -0600 commented answer 4 dimensional Mat in opencv JAVA

One more thing, can we make 1x1x1 Mat objects and then use merge to stack 625 of such objects?

2018-10-14 02:22:24 -0600 commented answer 4 dimensional Mat in opencv JAVA

See this @berak https://codeshare.io/adjzq4

2018-10-14 02:22:12 -0600 commented answer 4 dimensional Mat in opencv JAVA

See this berak https://codeshare.io/adjzq4

2018-10-14 02:16:49 -0600 commented answer 4 dimensional Mat in opencv JAVA

The facegrid input of the model is made like this: You have a 25x25 image of a person with a 12x12 bounding box around

2018-10-14 02:08:49 -0600 commented answer 4 dimensional Mat in opencv JAVA

https://github.com/CSAILVision/GazeCapture/blob/master/models/itracker_deploy.prototxt Check the input called "facegrid

2018-10-14 02:07:58 -0600 commented answer 4 dimensional Mat in opencv JAVA

That wierd 1x625x1x1 format is the dimension of an input blob as given in the .prototxt file.

2018-10-14 02:07:00 -0600 edited question 4 dimensional Mat in opencv JAVA

4 dimensional Mat in opencv JAVA I want to create a 4D Mat with dimensions 1x625x1x1 . Specifically I have a 625x1 Mat w

2018-10-14 02:04:04 -0600 commented answer 4 dimensional Mat in opencv JAVA

So what I thought was that maybe I can make a 4D Mat myself and pass it as input to caffemodel. But I don't know how to

2018-10-14 02:00:42 -0600 commented answer 4 dimensional Mat in opencv JAVA

That is the whole problem. The second dimension is number of channels. blobFromImage can output only 1(for gray scale im

2018-10-14 01:59:39 -0600 commented answer 4 dimensional Mat in opencv JAVA

Dnn.blobFromImage will take in as input a 625x1 Mat and output 1x1x625x1 not 1x625x1x1.

2018-10-13 13:15:14 -0600 asked a question Print dimensions of 4D Mat in openCV JAVA ANDROID

Print dimensions of 4D Mat in openCV JAVA ANDROID How to print dimensions of a 4D Mat in openCV JAVA ANDROID?

2018-10-13 13:13:24 -0600 received badge  Editor (source)
2018-10-13 13:13:24 -0600 edited question 4 dimensional Mat in opencv JAVA

4 dimensional Mat in opencv JAVA I want to create a 4D Mat with dimensions 1x625x1x1 . Specifically I have a 625x1 Mat w

2018-10-13 13:11:23 -0600 asked a question 4 dimensional Mat in opencv JAVA

4 dimensional Mat in opencv JAVA I want to create a 4D Mat with dimensions 1x625x1x1 . Specifically I have a 625x1 Mat w

2018-10-13 12:54:33 -0600 asked a question 4 D Mat/blob for DNN

4 D Mat/blob for DNN I am using DNN module of OpenCV JAVA for android to run a Caffe model. My prototxt file has this in