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
0
votes
1 answer

How to Read raw (YUV 4:2:2) format Image data from the memory

I am trying to read the raw YUV 4:2:2 (720p) data from the Read buffer, I mapped the physical address of the Read buffer to the virtual address. mem is a pointer which is pointing to Read buffer base address. I tried with below below-mentioned code…
Gagandeep
  • 11
  • 6
0
votes
0 answers

Finding 3d coordinates (xyz) of detected object. (Object detected using Haar cascade)

have been able to successfully detect an object using haar cascade classifier in python using opencv. When the object is detected, a rectangle is shown around the object. The x and y position of this rectangle is known and so is the height and width…
0
votes
0 answers

How to improve the CRF threshold for lane detection

I am using Conditional Random Fields (CRF) for multi- lane detection in bad weather. However the super markings generated create false positive curves on the output images. Secondly the EKF does not seem to perform tracking well on the generated…
0
votes
0 answers

OpenCV single pixel color space conversion BGR to CieLAB

I have a project where i want to detect a red rectangle marker in my image. For thresholding the color, i will use the CieLAB color space. Because converting the whole image is slow, my approach is to iterate through every pixel in a raster and…
0
votes
0 answers

Why my picture resolution are very bad with UIImage in swift

I use the following function to make picture photoOutput?.capturePhoto(with: AVCapturePhotoSettings(), delegate: self). When I save the picture his weight is only about 200Ko however the size with the AVCaptureSession.presset is .hight so it's make…
rem
  • 161
  • 1
  • 12
0
votes
2 answers

OpenCV Rectangle are black when image is saved as bitmap

Following is the image seen on mobile screen before saving : After saving the image to external storage : Please guide how to fix the color of the rectangles drawn by the opencv. Below is my code : Bitmap new_bitmap =…
Vikrant
  • 444
  • 1
  • 5
  • 22
0
votes
2 answers

Confused by OpenCV image representation

I'm loading image into cv::Mat. For some reason, when I'm printing each pixel data, color doesn't match with actual image pixels. Clearly, there is no (28, 36, 255), (127, 127, 255) colors on the image. Could someone point to my mistake? Here are…
Peter
  • 435
  • 1
  • 3
  • 11
0
votes
1 answer

Kinect v2 with Openni 2 and show with OpenCV 3.1.0

I am a newbie in programming and very much in Computer Vision. I am assigned a project in university to detect objects using the Kinect2 sensor. I am trying to open Kinect 2 sensor via opencv 3.1.0 with VideoCapture method. I am using device.open…
0
votes
0 answers

About validation of face recognition algorithm of opencv(eigenface, fisherface,local binary pattern)

I am trying to run a validation test of facerecognition algorithm provided by opencv such as eigenface, fisherface and LBPH on a particular database. However I am following the steps provided by this…
0
votes
1 answer

import cv2 ImportError: DLL load failed: %1 is not a valid Win32 application

I have seen :ImportError: DLL load failed: %1 is not a valid Win32 application. But the DLL's are there And a couple of other solutions that suggest placing the \opencv\build\python\2.7\x86\cv2.pyd to my Anaconda virtual environment's…
user2176576
  • 734
  • 3
  • 14
  • 39
0
votes
1 answer

Prototxt file not found:

any one clear this error because if i include in command line openposedemo.exe --face this error come Error: Prototxt file not found: models\face/pose_deploy.prototxt. Possible causes: 1. Not downloading the OpenPose trained models. …
0
votes
1 answer

Opencv_traincascade numstages is not matching with the parameters

I have made a classifier before and didn't have any issues with the opencv_traincascade. I set the numstage at 10, and should expect training 9-stage. However, it surpasses 10 and got killed at training 16-stage. I looked at my parameters and…
0
votes
1 answer

opencv how to create hsv format mat

For example, I create Mat mat1 = Mat::zeros(Size(100, 100), CV_8UC3); and fill each pixel with (0, 255, 255), which is supposed to be red in hsv. However, if I imshow this mat, this will be printed as a BGR image and is not red. How do I make this…
MMM
  • 79
  • 1
  • 7
0
votes
0 answers

What algorithm for chessboard recognition (w/opencv)?

I am playing around with OpenCV. The task I made up for myself to make the process interesting is recognizing the chess board with random set of pieces on it, they can be placed between the squares as well or even on top of each other. There are…
Rauf Aliev
  • 25
  • 6
0
votes
1 answer

how to get an average image from multiple images in C#

i want to create an average image from a set of multiple images (around 100) of same size in C#. Is it possible to do the same using EMGUCV, OPenCV or any other method without using any library. Please help me out or share the code if possible
Shayer
  • 3
  • 2