Questions tagged as 'opencv'

1
answer

How to track letters and cut them?

I have this image below. As you can see, they are together. In this case, it is a "7", "h" and "a". Is it possible to crawl the image to find them and then cut them where exactly you found them? I'm using the OpenCV, OCR, and Tesseract...
asked by 07.08.2017 / 10:49
1
answer

Basic image editing using OpenCV

Hello, I'm learning how to use the features that OpenCV offers for image processing, and the following question came up: How do I edit only a predetermined area of an image? To make it easier for me to understand, I'm going to use the...
asked by 27.05.2014 / 23:43
3
answers

OpenCV haartraining - Out of memory

I have 30 positive images and 60 negative images. When I tried to run haartraining with 4GB of memory and Quadcore processor, I get this error message: OpenCV ERROR: Insufficient memory (Out of memory) in function cvAlloc, cxalloc.cpp(111) T...
asked by 20.11.2014 / 12:39
1
answer

QT + OpenCV on Mac OS 10.10.3 com error: symbol (s) not found for architecture x86_64

I recently installed Qt Creator and OpenCv. I was able to quietly compile the separate QT and OpenCv. But I can not compile them together. My .pro file looks like this: #------------------------------------------------- # # Project crea...
asked by 27.06.2015 / 19:27
1
answer

How to train two objects of different sizes for recognition in OpenCv

Hello, I'm using OpenCv version 2.4.11 to train the recognition of vehicle license plates for parking software. The problem is when training to identify the car plate, truck, truck where the boards used by them are of the same dimensions the cas...
asked by 06.05.2015 / 17:26
1
answer

How to connect DVR camera in Java? [closed]

I have a question, I have searched the internet but I do not think anything consistent: how to connect to a DVR camera (not IP camera) using Java? I already use OpenCV and can connect to IP camera. Is it possible to connect OpenCV with DVR?...
asked by 04.12.2014 / 14:45
2
answers

Error parsing image in half using Python

I'm trying to split an image in half using the code below, but I'm having a return error. Code: import cv2 import numpy as np # Read the image img = cv2.imread("IMD015.png") width = img.shape # Cut the image in half width_cutoff = width /...
asked by 15.11.2018 / 19:25
1
answer

How to save a video captured by webcam without showing it using OpenCV in python?

I'm starting to learn Computer Vision. I'm using the OpenCV module for Python 3. Reading tutorials, I discovered the following script: import cv2 cap = cv2.VideoCapture(0) fourcc = cv2.VideoWriter_fourcc(*'DIVX') out = cv2.VideoWriter('outpu...
asked by 15.01.2017 / 17:24
1
answer

Calibration of stereo camera through the chessboard in openCV

I'm trying to calibrate a stereo camera using openCV, but the findChessboardCorners function is always returning False, I believe it's due to the high distortion of the image. Any suggestions for preprocessing to make the function accurate? C...
asked by 06.11.2018 / 18:22
1
answer

Array always receiving the same value [Loop in two arrays simultaneously]

My program traverses an image and assigns the color values R, G, B to variables that were compared to matrices containing the R, G, B colors of asphalt and earth called auxAsfalto and auxTerra . The question is: when I run the i...
asked by 02.01.2019 / 13:44