Quantcast
Channel: OpenCV Q&A Forum - RSS feed
Browsing all 41027 articles
Browse latest View live

HSV v RGB with inRange

I used a colour picker and worked out equivalent range values in HSV and RGB for my special yellow. Scalar yellowHsvMin = new Scalar(50, 35, 40); Scalar yellowHsvMax = new Scalar(55, 91, 71); Scalar...

View Article


What is wrong in this Opencv Face Recognition code?

import cv2 import numpy as np . face_cascade = cv2.CascadeClassifier('Desktop\haarcascade_frontalface_default.xml') eye_cascade = cv2.CascadeClassifier('Desktop\haarcascade_eye.xml') cap =...

View Article


Would I be able to use this software for full body tracking in VR?

would full body tracking be possible with OpenCV in different VR titles, such as VRchat, and other full body compatible titles? If so, how would this work and is there a tutorial in video format?

View Article

Speed up DFT by specifying ROI in frequency domain

*Note: This question is also asked at [Stack Overflow](https://stackoverflow.com/questions/50521283/how-to-accelerate-dft-by-specifying-region-of-interest-in-frequency-domain) a couple of days later...

View Article

Segmentation fault while using createTrackBar in OpenCV-Python

I am using OpenCV 4.1.1. When I try to run the trackbar tutorial code, I get the segmentation fault (core dumped) error. It seems that the crash occurs when the trackbar is created in an existing...

View Article


Two camera feeds in OpenCV4Android

Seems like a straight forward question, but couldn't find an answer (yet). How can I read 2 camera streams on Android (front and rear) and analyse them individually. I can create 2 listeners and bind...

View Article

How to take high resolution photos using OpenCV

Hi guys, I have a question to ask your opinion. I would like to capture a high-resolution image from an integrated camera. It's a surface book pro and offers a much higher still image resolution (8 MP)...

View Article

C++ ORB Feature Matching with FLANN Lsh Error

I am trying to match Orb features using FLANN matcher and LSH, and it gives me this error: OpenCV: terminate handler is called! The last OpenCV error is: OpenCV(4.1.0) Error: Unsupported format or...

View Article


OpenCV GPU implementation On Yolo

I am working on an object detection Project using Yolo v3 and I wanna to use my GPU (Geforce 1050) to accelerate my computation, but I found that at the moment OpenCV dnn module supports only Intel...

View Article


How to calculate Optical Flow magnitude?

I'm trying to see how big different two given video frames are. My goal is to calculate a single value showing how fast objects inside those frames are moving. I can calculate Optical Flow matrix...

View Article

Avoid retraining a model when executing a program?

I've started using OpenCV for some image processing projects and I'm wondering if there's a way to save time when it comes to processing test images against a database of faces. **Issue**: 10 pictures...

View Article

Adding VideoCapture API

Is there any documentation on how to go about adding a new API (new camera type) to VideoCapture?

View Article

opencv4.1.1 dnn readNetFromTensorflow error

I have defined a keras model(.h5), and coverted to tensorflow (.pb). And it works on tensorflow : pb_path = r'*.pb' with tf.gfile.FastGFile(pb_path, 'rb') as f: graph_def = tf.GraphDef()...

View Article


Is OpenVINO be able to use under QT?

Hi,guys. does any one kown Is OpenVINO be able to use under QT? this may be a strange question,but any comments will be appreciate!

View Article

why does my image appear cropped when displayed using cv2.imgshow() using python

import numpy as np import cv2 img=cv2.imread("vn.jpeg",0) cv2.imshow('image',img) cv2.waitKey(0)

View Article


error at building opencv4.1.0 with opencv-contrib-4.1.0

hello, guys, i'm meeting a problem at building opencv4.1.0 with opencv-contrib-4.1.0. i dont know how to solve this problem. the error output in console is the following ![image...

View Article

Problem about compiled In Opencv 4

Hi guys, I am using Opencv and have a question to ask your opinion. I am using the OpenCV for Android NDK, and I just use the libopencv_java4.so. It seems that it is not compiled with NEON (correct me...

View Article


How to create "libjpegd.lib"?

I want to complie a VS project, but an error say "can not find libjpegd.lib", so I built the OpenCV 3.4.5 source code with CMake, but I only get an "libjpeg-turbod.lib" on 3rdparty folder. How can I...

View Article

OpenCV keeps bundling into my iOS swift framework

Im have created a framework for iOS that uses openCV. No matter what I have tried I cannot get my framework to compile without bundling in all the openCV stuff it needs. I want to be able to compile my...

View Article

stereoCalibrate VGA CCD camera pair

Hi, I'm using OpenCV to calibrate a stereo pair, which are mounted on a manufactured base. The cameras are designed to be parallel. stereoCalibrate returns 0.136682 and average reprojection error...

View Article
Browsing all 41027 articles
Browse latest View live


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