Quantcast
Channel: OpenCV Q&A Forum - Latest question feed
Browsing all 19555 articles
Browse latest View live
↧

How to do element wise division in java using Mat.mul?

Suppose I have to Mat,i want to do element wise division(m1./m2), Then how to do it using Mat.mul method?

View Article


Opencv_dnn >> can't load network ResNet-101

Hello. I have found that ResNet-101 cannot be loaded by opencv dnn module. When try to load this message appears: [libprotobuf ERROR C:\Programming\3rdParties\opencv310\opencv_contrib\modules\dn...

View Article


Sift / Surf / ORB choice of keypoints

Hello, i would like to ask how exactly are the keypoints from each of the algorithms chosen. I ran some tests and the first keypoint i get from each algorithm even the first 10 are always the same(for...

View Article

Qt with OpenCV

I built OpenCV (3.1) by mingw32 with option with Qt 5.7 (set that in CMake utility). My OS is Windows 7 x64 Now i want to test it. I use the sample OpenCV program. I did it in Qt Creator. If the...

View Article

Unable to use VideoCapture to access axis m1013 (Java)

Hello, I am trying to use VideoCapture in Java to access the stream from an Axis m1013. The code does not return me any errors, but it will not affirm that the camera stream has been opened either. I...

View Article


is there an alternative of gamma's matlab function in opencv ?

![image description](/upfiles/14824401788435991.png)

View Article

What does the getOptimalNewCameraMatrix function does?

For example, in this [tutorial](http://opencv-python-tutroals.readthedocs.io/en/latest/py_tutorials/py_calib3d/py_calibration/py_calibration.html), I have some problems in understanding the...

View Article

Revert to Default Camera Settings

Hi guys. I am relatively new to VideoCapture. I was playing around with the usb camera's settings (especially cv_cap_prop_exposure) and I suppose it overrides the native software. The native software...

View Article


How to convert double array into grayscale image?

double[] x; I want to convert rm into gray-scale image. x is matrix.

View Article


How to convert Mat to InputArray and OutPutArray in OpenCV + Android

I am quite new to `OpenCV`, I am trying to write quite a simple program in `OpenCV` to convert a `rgb` image to `grayscale`. JNIEXPORT jint Java_NativeClass_convertGray (JNIEnv *env, jobject, jlong...

View Article

How to convet mat to a double array in java????

Mat im= Imgcodecs.imread(d); Mat inp=new Mat(); Mat newinp=new Mat(); inp.convertTo(newinp, CvType.CV_64F); java.util.List rgb=null; Core.split(newinp, rgb); Mat r1=rgb.get(0); Mat g1=rgb.get(1); Mat...

View Article

How to apply median filter to a sequence of images?

I'm able to filter one image but when using sequence of images in loop ,it is not working. Here is my c++ code: vector files; int main(int argc, char** argv) { //create empty window...

View Article

Shape identification C++

Hi, Im relatively new to opencv and would like to ask if anyone knows of an approach to solve the following question. My main objective is to identify the 2d shapes of an object. They are all geometric...

View Article


rectA & rectB not working

I am trying to get the intersection of 2 rectangles. What happens if the 2 rectangles do not intersect at all ? Will it give me an error ? Because the output below is what I am getting. The limits are...

View Article

imshow and osx

Dear all, I have trouble with making imshow working on osx. I am using pyCharm to code with opencv 3.1.0_4 It seems to be common but I never found any solution. **img = cv2.imread('./imageTuto.jpeg')...

View Article


Videowriter recording MP4 + X264 (OpenCV 3.1)

I'm trying to record a video with the X264 codec and MP4 format. The resulting video recording works, and can be played with a videoplayer, however I receive following warning. OpenCV: FFMPEG: tag...

View Article

How to generate normally distributed random numbers ?

Dear community, I'm trying to write a code aims to generate pseudorandom scalar drawn from the standard normal distribution. I have implemented these random functions...

View Article


Tuning SIFT algorithm parameters?

I'm trying to produce [VLAD][1] codes starting from SIFT descriptors using OpenCV implementation with the [Oxford Building Dataset][2]. SIFT has many parameters such as #octaves, #scales,...

View Article

Is it mandatory to add JAVACV while using Opencv with Java in Netbeans?

hello every one I am new to opencv and want to work on a project on opencv ,I have seen some examples of opencv on you tube some of them are with javacv and opencv, and some of them are base on opencv...

View Article

create Facerecognition dataset

I have created facerecognition sample(javacv) where i can detect and save images of faces real time. when i tried to recognize this faces again that time got this error: OpenCV Error: Unsupported...

View Article
Browsing all 19555 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>