Questions tagged [opencv3.0]

OpenCV (Open Source Computer Vision) is a library for real time computer vision. (This tag is for questions about OpenCV 3.0. Use [opencv] for general questions.)

OpenCV is an open source computer vision library

Version 3.0 released in June 2015. Its documentation can be found here.

For more information, see .

2111 questions
0
votes
1 answer

Source File not compiled with latest version of DEV C++ and OpenCV 3.X version

I installed latest version of DEV C++ and OpenCV 3.4.1. As per instructions on various websites the lib folder is present in opencv folder but in versions higher than 2.3 lib folders are present in inlude\opencv\vcxx\lib and…
Gooks
  • 53
  • 2
  • 11
0
votes
1 answer

How to pass an image buffer to an OpenCV Mat object?

I am currently programming with a PixeLINK USB3 machine vision camera along with OpenCV in C. I have had some success passing camera images in Mat format with the following code: PXL_RETURN_CODE rc = PxLInitialize(0, &hCamera); if…
RBRS1982
  • 3
  • 1
  • 2
0
votes
0 answers

Error in OpenCv in Java in Depth of image?

import com.googlecode.javacpp.Loader; import com.googlecode.javacv.*; import com.googlecode.javacv.cpp.*; import com.googlecode.javacv.cpp.opencv_core.CvPoint; import com.googlecode.javacv.cpp.opencv_core.CvScalar; import…
prashant
  • 97
  • 3
  • 10
0
votes
0 answers

OpenCV object detection is not finding object in image

I have trained my own cascade of cycles and trying to detect cycle in image and it is not working. I am using following code. While training cascade I used image size 24 X 24. used 20 negative images and 15 positive images. import cv2 import…
Rajan Sharma
  • 325
  • 1
  • 4
  • 11
0
votes
0 answers

Opencv extract text from image

I need to remove everything but the black text from an image. I tried using threshold, adaptiveThreshold but nothing seems to work properly. I also tried iterate throught all the pixels and change anything that wasn't black, or almost black, to…
gravatasufoca
  • 37
  • 1
  • 8
0
votes
0 answers

Calculate Skin HSV values in an image in Android Studio

I am working on hand detection project. Can anyone help me how can i find skin hsv values in an YCrCb color space image in android studio using openCV.
0
votes
1 answer

Can't read frames from camera OpenCV

Im trying to get the frames from my camera with following basic code : import cv2 import numpy as np cap = cv2.VideoCapture(0) while True : ret,frame = cap.read() print(frame) cv2.imshow('frame',frame) if cv2.waitKey(1) & 0xFF…
mounaim
  • 1,132
  • 7
  • 29
  • 56
0
votes
1 answer

Error while applying threshold on my image using opencv

As i'm doing card scanning to extract the text from images i want to get exact text from image but i'm getting only accurate image values from card and im trying to applpy adaptive threshold on my card but i'm geeting error like File…
Sruthipriyanga
  • 468
  • 4
  • 17
0
votes
0 answers

I am trying detect circles from a image using Hough Transform in OoenCV

import cv2 import numpy as np import time img = cv2.imread('img.jpg',0) ccimg=cv2.Canny(img,100,100) cv2.imwrite("image.jpg",ccimg) image=cv2.imread('image.jpg',0) image = cv2.bilateralFilter(image,9,75,75) cv2.imshow('Canny[enter image…
0
votes
0 answers

Install opencv3.4.1 with VTK on Ubuntu 16.04 LTS

I tried to install opencv with VTK on Ubuntu. Actually I have succeeded in installing opencv only. But when I finished the make VTK and tried to make opencv, I got the following error when installing viz module. > [ 71%] Building CXX object >…
ycdfwzy
  • 11
  • 3
0
votes
1 answer

How to do real-time face detection, opencv, python3, raspberrypi 3

I am trying to create a small program for personal use with the picamera and rpi3. I have been trying for a while to implement real-time face detection using opencv. It never works. The error code I get is "error: (-215) scn == 3 || scn == 4 in…
user6906524
0
votes
0 answers

calculate R|T for stereoRectify

I have many calibrated cameras.(Known K. Actually images were taken by the same camera). And I do bundle adjustment to retrieve extrinsic of each image. The camera parameters are correct and well verified. Now I wish to use stereoBM to estimate…
Tim Hsu
  • 402
  • 5
  • 19
0
votes
0 answers

Why isn't Python OpenCV HoughP Transform able to identify all the spaced lines?

When we have spaced lines on 1px. HoughP transform of python opencv doesn't mark all the points. I used: cv2.HoughLinesP(img,1,np.pi/180,400) Theoretically it should be working fine be it dashed or non dashed. In this case it doesn't mark all the…
Abhay
  • 19
  • 1
  • 3
0
votes
1 answer

Java Equivalent OpenCV Code to this C++ Code

Can anybody tell me the correct java code for this c++ code snippet: output.at(x, y) = target.at(dx, dy); I have tried this java code and they are displacing pixel but not showing image clearly : output.put(x, y, target.get(dx, dy));
0
votes
1 answer

Triangulation of 6 points from 4 views

I have 4 different views of an object, each with its corresponding K and M camera matrices (intrinsic and extrinsic parameters). I have 6 3D points which i marked on each of the 2D views (so 24 2d points). What i am trying to do to back-project…
Roulbacha
  • 457
  • 7
  • 20