Questions tagged [opencv3.1]

Use this tag only for questions that are specific to version 3.1 of OpenCV, for general questions use the [opencv] tag.

OpenCV is an open source computer vision library

Version 3.1 released in December 2015. Its documentation can be found here.

For more information, see .

340 questions
1
vote
1 answer

mp4 codec in Raspberry Pi 4: not writing frames to video

I'm not able to write an mp4 video file with cv2 on Rpi4. All I'm getting in feedback is VIDIOC_DQBUF: Invalid argument writer = cv2.VideoWriter('test.mp4', cv2.VideoWriter_fourcc(*'mp4v'), fps, (640, 480), True) stream = cv2.VideoCapture(0) ret,…
1
vote
1 answer

Handwritten Text Morphing of Grayscale Image

I would like to morph the handwritten text to better readability. I could not figure out ways to do it. For Example, I would like to morph this Image like this
Bharath_Raja
  • 622
  • 8
  • 16
1
vote
0 answers

There some bright white or black parts on the edges of result face for seamlessClone

I meet some problem about the function seamlessClone of opencv: Without other op , simply using seamlessClone op for blending two face image like cv2.seamlessClone(src_img, dst_img, src_mask, center, cv2.NORMAL_CLONE), I test 3 cases: 1) When I use …
JustinGong
  • 399
  • 1
  • 4
  • 17
1
vote
1 answer

Error found "This release is not compliant with the Google Play 64-bit requirement(Opencv lib)"

The following APKs or App Bundles are available to 64-bit devices, but they only have 32-bit native code: 5. Include 64-bit and 32-bit native code in your app. Use the Android App Bundle publishing format to automatically ensure that each device…
Rajesh
  • 135
  • 7
1
vote
0 answers

How to make OpenCV Capture Window display over my Browser Window?

Basically, I have a function in my view which when called renders the opencv webcam videocapture window. But the problem is that the window opens but behind my chrome browser window, i have to manually click on the icon in taskbar to open the window…
Aayush Gupta
  • 504
  • 1
  • 5
  • 28
1
vote
0 answers

Opencv 3.1.0 with python 3.7

It is possible to install opencv 3.1.0 (it is only one version suitable for torch) with python 3.7? If it is possible, how can I do this? I'm on the very start of my developer path, so sorry for the silly question.
1
vote
1 answer

Connected components labeling algorithm C++

I tried to implement the labeling algorithm . I adaped an ancien version using IplImage to Map but I am still in trouble .Any idea is welcomed . Thank you very much const char * const IMAGE_INITIALE = "Initial"; const char * const IMAGE_FINALE =…
ana maria
  • 353
  • 1
  • 4
  • 22
1
vote
2 answers

How to get images from Hikvision CCTV IP camera for image processing when they are connected with NVR using Opencv and python?

I am using two HIKVISION IP camera (DS-2CD204WFWD-I) & (DS-2CD214WFWD-I) connected with (DS-7600 Series) NVR. Now how to acess these camera using Opencv and python ? I had already tried this method its not working and code is running and its not…
1
vote
1 answer

Is it possible to change a part of the background color of an image, when the image is a table?

I am using pytesseract, pillow,cv2 to OCR an image and get the text present in the image. Since my input is a scanned PDF document, I first converted it into an image (JPEG) format and then tried extracting the text. I am only half way there. The…
developer
  • 257
  • 1
  • 3
  • 15
1
vote
1 answer

How to get the PTS or frame number of the frame got by VideoCapture::read?

In our implementation, we need know the pts or frame-number of the frame decoded with OpenCV, and then after doing some process based on the decoded frame, and then build a map between the pts or frame-number in the original stream and the process…
ravin.wang
  • 1,122
  • 1
  • 9
  • 26
1
vote
0 answers

Extract one of the objects out of two from foreground python opencv

So what I have is two images extracted from video of cold-drink cans. In the first image all the 5 cans are present: And in the second image one is missing: So what I want is to find out which of the can was picked out of 5. I tried applying the…
Shanam
  • 11
  • 2
1
vote
0 answers

OpenCv 3.4.1 FaceRecognizer not work in Java . exception when create an object

i'm trying to make face recognition using OpenCV 3.4.1 library , and i have a problem when make a "FaceRecognizer" object or anyone of its sub-classes . after i make an object . this exception apper : Exception in thread "AWT-EventQueue-0"…
Waleed Jubeh
  • 310
  • 1
  • 12
1
vote
3 answers

ImportError: libopencv_hdf.so.3.1: cannot open shared object file: No such file or directory

I am trying to run my test cases in Bitbucket-pipeline but it is showing an error message. Screenshot of Bitbucket-pipeline.yml _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > import cv2 E ImportError:…
Rajat jain
  • 1,715
  • 3
  • 12
  • 21
1
vote
0 answers

Cannot resolve symbol core while importing OpenCV

I am trying to import openCV version 3.1.0 into android studio and have followed several tutorials on this but every time I try it never lets me import anything from openCV libraries so idk if I am setting everything up correctly or not The error I…
Braden C
  • 11
  • 1
1
vote
1 answer

Android : How to put object on particular location of screen using openCv?

Edited: If anyone one can suggest any link or post, I will be very grateful. I am trying to find solution from two days and i can't find any.Thank you in advance. I am trying to put one object(image) on particular location of screen Using openCv in…