Skip to content

Tag: opencv

denoise_TVL1 Sizes of input arguments do not match

I am trying to implement total variation algorithm on a grayscale video. As far as I understand this method(denoise_TVL1) is using that algorithm. But I get “Sizes of input arguments do not match” CvException. Could you help me to understand what the problem is? I have this list as class instance:…

Shift image in OpenCV

I want to shift an image upward of 10 pixels without changing the size of the image. I know there was a very similar question about this but there is no information on the web on how to do it using Java. OpenCV Documentation also doesn’t say anything about this. Original image: Shifted image should look…

Camera VIew OpenCV in Android Cannot FIt

I have a problem with cameraview opencv on android, on android device type samsung camera view doesn’t fit there is a black cut like picture 1 while on android device type xiaomi and realme it’s safe like picture 2. I took the middle resolution from supportPreviewSize and set the maxFrameSize to a…

streaming from Java OpenCV through RTMP

I have a JavaFX Application that uses OpenCV to get the frames from the camera. I would like to send this stream to nginx-rtmp. I must be missing something (or the whole loginc of RTMP) but I can’t seem to find a simple way to make the stream I already tested the nginx-rtmp with OBS Studio, and I have t…

List of array in Android

I am creating OMR scanner in java. I have List of which contains contours from image. i want to create array of List. how can i accomplish it? this is what i have right now What i want to do is so that i can store array of countours() for each question. Like [1] contour1,contour2,contour3,contour4,contour5 [2…