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

Have we chosen a viable approach? Wood ring orientation recognition

Regards, I need input on how we approached the problem. We've started this from a very inexperienced standpoint so all suggestions will be heavily considered. What we need is wood rings orientation...

View Article


3D reconstruction of Rubik's cube. Did you try it?

The task seems elementary at first glance, but try and it turns out to be tricky. Meanwhile this is just a geometric puzzle and a perfect application for various OpenCV methods. Enjoy. I don't ask...

View Article


Cascade Classifier

I am using Cascade Classifier to detect objects in a video stream. I load the .xml classifier file that I have trained before. Then I use detectMultiCsale to perform the detection but the problem is...

View Article

How can i create a mask in OpenCV.js?

I can create a mask in OPENCV C++ using cv::Mat::zeros and Rect.But i cannot find these features on OPENCV.js.How can i create a mask on OPENCV.js? cv::Mat mask = cv::Mat::zeros(8, 8, CV_8U); // all 0...

View Article

Measuring cv::VideoCapture::read() execution time in milliseconds gives me...

Good evening ! I am trying to measure execution time (in milliseconds) of the function...

View Article


Can't get predict confidence

When I run the predict(src) function, it returns only a int, instead of a int and a double. using help() throws this: Help on built-in function predict: predict(...) method of...

View Article

Creating a color gradient area

Can you create a linear color gradient ([like the color gradients you can generate in CSS](https://css-tricks.com/guides/css-gradients/)) in OpenCV, where you have two or more color thresholds and...

View Article

Is there a way get original foreground object colors foreground substarction?

Hello guys.I am using BackgroundSubtractorMOG2() to extract foreground of video.I am wondering about "how to get original colors of the image and set it foreground".I can extract objects with original...

View Article


Track/Detect an object with a dynamic background

I'm trying to track a rat in a box from videos that have already been taken. I need the distance the rat has traveled and a heatmap of the box based on where the rat has been. The videos are...

View Article


How to solve cv2.VideoCapture(index) problem on Ubuntu 16.04 ?

If I start my computer with a cam like sj4000 setted as "PC camera" and then I run my python program to do live face recognition it takes the sj4000 as camera for whatever index i set from -1 to 9. In...

View Article

cap.release() gives error of gstreamer pipeline. What condition should be...

GStreamer-CRITICAL **: Trying to dispose element videoconvert0, but it is in READY instead of the NULL state. You need to explicitly set elements to the NULL state before dropping the final reference,...

View Article

Do we need to specify any parameters depending on the type of video source in...

Hi, I'm using python 2.7.12 OpenCV 3.3.1 I want to customize cv2.Videocapture() so that it can open any of the following type of URLs 1. RTSP URL from DVR of the format...

View Article

cap.get(cv2.CAP_PROP_FPS) gives 0.0 for Sricam IP camera. How to get...

cap.get(cv2.CAP_PROP_FPS) gives 0.0 for Sricam IP camera URL of the format rtsp://:/onvif1. But it works fine and gives 25.0 for DVR RTSP URL. rtsp://:/:/channel=

View Article


how to use linear discriminant analysis algorithm in opencv with c++

hi... sorry for asking a question with no source code.. But am very much confused with LDA .. how to use the functions in opencv .. Actually am trying to build a project for face recognition using LDA...

View Article

can i replace an object in an image with another object?

Hello. can i replace an object in an image with another object. also before replacing the object i want to adjust both sizes to be the same? if its possible then which algorithm is used for that?...

View Article


annotation tool for object detection

Is there some annotation tool that I can use for mark objects on images and then use this croped object images to train classifers?

View Article

Any image labeling tool for object detection?

I want to create my own training dataset for object detection in image. Does anyone know some good image labeling tools? p.s. Labelme is not suitable for my case as it is web-based and the data...

View Article


OpenCV face recognition.

I did the coding for face recognition using openCV but for all user id its showing one name "Ahmed" here is the code can u help me out for correction. ![image description](/upfiles/15185236303214538.png)

View Article

Alpha matting Python algorithm

Hi guys, Can somebody please point me to Python Alpha matting algorithm example… This C++ solution is way over my head for the time beign… :) [link...

View Article

Is there a way to read videos from internet?(Opencv.JS)

Hello guys.I am wondering about "How to read Videos frame by frame from internet (youtube,dailymotion...) using an url with OPENCV.js ?" I do some research on google and i find this topic...

View Article
Browsing all 41027 articles
Browse latest View live


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