Questions tagged [opencv]

OpenCV (Open Source Computer Vision) is a library for real time computer vision:* Human-Computer Interaction; Object Identification, * Face and Gesture Recognition; * Segmentation and Recognition; Motion Tracking, Motion Understanding; * Stereo and Multi-Camera Calibration and Depth ...

0
votes
0answers
6 views

Android - integrate with opencv native c++

I've been fighting to integrate opencv within my android studio project in order to use some native C++ calls (Mat/imread/imwrite).I've started with the answer here: Can OpenCV for Android leverage ...
0
votes
0answers
8 views

Merging multiple pose estimates from fiducial markers?

I'm using AprilTags to estimate the relative position of objects in a scene. I've got many tags in the scene, and have taken many photos of the tags from different angles. Each frame contains at least ...
-3
votes
1answer
22 views

How to scan each horizontal row of pixels in a binary image and get the width of each group of black or white pixels

Example image:So I want to go horizontal line by line and get the pixel width of and order of each continuous set of white or black pixels. The idea is the data from each line will be sent to a ...
0
votes
0answers
8 views

How to show 2 video source in 1 frame in tkinter?

I want to show 2 video source in 1 frame in tkinter but when i to run the code it only indicate that the webcam is on and the frame will not appear.I am very new to python programming so please can ...
-1
votes
0answers
12 views

Python CV write function is not writing to specified file

I am trying to write python code using openCV to do a binary transformation on images. To make it scalable, I want the code to grab the names of images from a folder and do a transformation, then ...
0
votes
0answers
7 views

SyntaxError for cv2.imshow

I want to use cv2.imshow in a while loop. this loop will break with an if condition. When I use cv2.imshow out of the loop it works properly but when I add it inside the loop, python return a syntax ...
1
vote
1answer
7 views

image watch in opencv debug

Dears,I use visual code editor for opencv app development, I wonder if there is some extension similar to Image Watch for OpenCV available. it can be handy for development.
0
votes
0answers
9 views

No implementation found for long org.opencv.core.Mat.n_Mat(int, int, int) error

I get this run time error when I try to run the code.I'm testing it to see what it returns so that I could compare 2 images in another app of minethe full error is as follows:"***No ...
0
votes
0answers
9 views

How to take a snapshot of libvlc player and convert it to Mat object

I am sorry if my question is not easy to understand, I am French and new to C++ programming...I have searched all the day a way to take regular snapshots / read the stream from a libvlc_media_player ...
0
votes
0answers
11 views

Keras combining video with other features in a neural net

We are working with a dataset of videos of people as our x and a list of scores as our y. Each video has a single specific score that we are trying to predict. We ultimately extact people's faces, ...
0
votes
0answers
27 views

ValueError: could not broadcast input array from shape (0,60,3) into shape (7,60,3)

I am a newbie to openCV. I am trying to implement image ROI by following this tutorial. Numpy version - 1.15.2 OpenCV Version - 3.4.3 Python - 3.4.3By Using below code i am trying to copy part of ...
0
votes
0answers
16 views

OpenCV putText without a GUI thread, or named window?

I would like to put a UTF8 text using a specific font on my cv::Mat and I don't want to use OpenCV's GUI elements (windows). I compiled OpenCV 3.4.3 against Qt 5.11.1 and it works fine. I understand ...
0
votes
0answers
17 views

Python OpenCV cv2 - Easy way to increase the brightness and contrast of an image by 100%

i want to change the both brightness and contrast of an existing image by 100%.decoded=Image.open(BytesIO(base64.b64decode(base64Data)))image=cv2.cvtColor(np.array(decoded), cv2.COLOR_BGR2RGB)...
0
votes
1answer
24 views

How can I compile opencv from source at Win 10

I read this and this, and saw the videos, but looks I did not understand the required :(I need to compile opencv from source in order to be able to use CV-Rust at my application, what I did is:1- ...
-1
votes
0answers
33 views

Extract a non-straight rectangle (such as minAreaRect) as a separate straightened image so I can do further processing on the contents [on hold]

I want to to make the bar horizontal even if the original is completely vertical.I tried using this answer however the result is randomly vertical or horizontal and gets cut off at the ends if the ...
0
votes
1answer
18 views

How could I create an opencv matrix with separate rgb channel data

Suppose I have three char arrays r[1024], g[1024], b[1024] which contains the rgb data of one image. How could I create a cv::Mat with these channel data ?
0
votes
0answers
25 views

Person Eye Gaze Detection: Identify where the user is looking at on a board

I am working on a project where there is board and camera on top of it. The objective is to identify students who are looking at the board and also identify the location of their sight (on the board). ...
0
votes
0answers
10 views

Is it possible to use the Realm database in an iOS Swift app with openCv?

I have an app in Swift 4 using openCV shape recognition and I want to now store all the shapes in a database. With all the confusion with bridging headers, wrappers and so forth in order to get openCV ...
1
vote
1answer
27 views

OpenCV image numbers identification

Sorry for bad english. I want to make condition, that image with 12 in left corner=image with 12 in right corner and !=image with 21.I need a fast way to determine this, cause there are many pics ...
0
votes
0answers
8 views

How do I get Python3 openCV on Android using buildozer?

I see that opencv works in python2, but on python3 it appears unsupported.
1
vote
0answers
15 views

Trying to detect faces using OpenCv's inbuilt face detector

Face Detection using OpenCV's inbuilt face detector. What does the code between the asterisks mean?A caffe model is being used here.# loop over the detectionsfor i in range(0, **detections....
0
votes
0answers
16 views

How to Isolate connected and fused characters from a text image using opencv

I have been developing an ocr system. I was able to segment out lines and words from the images fairly easily, but Iam completely stuck with character segmentation.How do i extract characters from ...
0
votes
1answer
15 views

How make pyqt called two method by clicking one button

How to called two method when i'm clicking one button in PyQtself.trainPreproBtn.clicked.connect(self.preproClicked, self.thresClicked)@pyqtSlot()def preproClicked(self):gray=cv2.cvtColor(...
0
votes
0answers
13 views

jar exception with opencv

i have problem with java while using opencv , everything Works fine but when i Create a jar file and execute it , i got Error .C:\User\Asus>java -jar "virus.jar" .Exception in thread "main" ...
0
votes
0answers
10 views

Realtime Face Detection and Tracking using multiple cameras

I want tracking face Ovations in realtime with a few cameras and attach my face movement to 3D model. My goal is Tracked Face in the any corner where people are watching.Which library is better (...
0
votes
0answers
8 views

OpenCV error with Streamlink: Assertion failed (size.width>0 && size.height>0) [duplicate]

I'm trying to get Streamlink working with OpenCV, unfortunately it seems Streamlink can't put the input into the frame. I get the assertion failed error from OpenCV. When I print cap.read() it says ...
0
votes
0answers
14 views

I have installed correctly opencv_contrib but qt creator doesn't find xfeatures2d directory

I am using OpenCV with C++ on Ubuntu 16.01 I have to use SURF.I have already installed opencv_contrib correctly (i followed this link) but when i try to write the path:#include "xfeatures2d/...
0
votes
0answers
19 views

python: opencv comparing histograms wird results

I'm using builtin opencv function to open image, remove background, crop image, and then calculate histogram of file, to compare it with histogram of different file. To compare histograms I'm using ...
-1
votes
0answers
26 views

trying to correctly recognize lowercase letters in images of captchas using openCV python

I am working on a machine learning project for school, where I have to make a neural network to break a captcha system. I have a huge dataset of labeled captcha images. Each captcha consists of 4 ...
2
votes
0answers
15 views

How to properly use UMats in ML models (Python OpenCV)?

I'm trying to create a GPU-powered BOVW model that uses KAZE descriptors and an SVM model to classify objects. But I'm getting an error that I can't get around, and I did not find anything in the ...

153050per page
angop.ao, elkhabar.com, noa.al, afghanpaper.com, bbc.com, time.com, cdc.gov, nih.gov, xnxx.com, github.com,