Ask Your Question

Jose's profile - activity

2017-04-22 14:50:29 -0600 received badge  Famous Question (source)
2016-07-20 08:53:44 -0600 received badge  Notable Question (source)
2016-04-29 06:01:24 -0600 received badge  Popular Question (source)
2015-12-01 11:13:13 -0600 received badge  Student (source)
2015-08-28 13:26:56 -0600 commented answer Detection and counting cars - OpenCV and C ++

Ok, thanks for all your help, I will read the information and hope to achieve understand the methods you're saying. Thanks for everything and I hope to count on your support in future doubts

2015-08-28 10:54:09 -0600 commented answer Detection and counting cars - OpenCV and C ++

I am using a 640 x 480 window, use the reference coodenades of

rect (0,0,640,480)

but does not count anything. and also tried other values, but I manage to identify the correct coordinates varoles

2015-08-28 10:22:00 -0600 commented answer Detection and counting cars - OpenCV and C ++

OK, but how do you know which are the coordinates you want to use. that I can do to identify areas to work.

before drawing a rectangle like this: cvRectangle (imgactual, Point (640, 400), Point (480-150, 600-150), CV_RGB (255, 0, 0), 3);

but these values will not work for me, it gives me error

2015-08-28 09:58:43 -0600 commented answer Detection and counting cars - OpenCV and C ++

yeah, that's what I need, a count of cars, but it gives me error

Error C4700: local variable 'y2' used uninitialized

Error C4700: local variable 'x2' used uninitialized

Error C4700: local variable 'y1' used uninitialized

Error C4700: the local variable x1 is used uninitialized

Error C4700: local variable 'Width1' used uninitialized

Error C4700: local variable 'height1' used uninitialized

Error C4700: local variable 'width2' used uninitialized

Error C4700: local variable 'height2' used uninitialized

I do not understand how to initialize, I tried with various values, when 0 not count

2015-08-28 09:14:26 -0600 commented answer Detection and counting cars - OpenCV and C ++

Excuse my ignorance. But how do I determine coordinates of the object?

because before it was used a "haardcascade" and to the classification and detection, but now with this background subtraction and do not know how

2015-08-28 08:36:39 -0600 commented answer Detection and counting cars - OpenCV and C ++

Thank you very much for your help. Beam I'll try my luck to do what I'm told. Thank you very much , I'm new to this type of programming and it is nice to find places like this and people like you willing to share their knowledge

2015-08-28 08:29:33 -0600 received badge  Supporter (source)
2015-08-27 17:16:06 -0600 asked a question Lectura de Texto con OpenCV y C++

hello, I could help, I am new to "terrseract-OCR" I need to create a software to detect and read the license plates of cars. I am implementing the OCR with a project in OpenCV and C ++ but when I try to read the text of the plates car I can not make me read this correctly, and tried with language packs "eng" and "spa" on occasion I read all the text and at other times I ignored the text. I could advise on an algorithm for leectura plate cars with OpenCV and C++

after reading I pretengo opencv enter this code to link to a video reading. but I need help in an algorithm that reads correctly car plates

   #include <opencv\cv.h>
   #include <baseapi.h>
   #include <leptonica\allheaders.h>

   using namespace cv;
   using namespace tesseract;

    int main()
{
char *outText;

TessBaseAPI *api = new TessBaseAPI();

// Inicializar tesseract para el lenguaje español
if (api->Init(NULL, "spa")) {
    fprintf(stderr, "Error al inicializar.\n");
    system("pause");
    exit(1);
}
// Abrir la imagen leptonica library
Pix *image = pixRead("C:\\Sin título.png");
api->SetImage(image);

// Obtener el texto de la imagen
outText = api->GetUTF8Text();
printf("Texto leido: %s", outText);

// Liberar memoria
api->End();
//delete[] outText;
pixDestroy(&image);
system("pause");
return 0;
    }
2015-08-27 15:22:59 -0600 commented question Detection and counting cars - OpenCV and C ++

No how to draw rectangles on each object that moves. only static rectangles are drawn. Please could guide me. I like to draw rectangles on cars, or do to count the number of cars passing

2015-08-27 15:20:38 -0600 commented question Detection and counting cars - OpenCV and C ++

I need to count the number of cars passing

2015-08-27 15:10:48 -0600 commented question Detection and counting cars - OpenCV and C ++

I have to count the cars passing on the street, at first through a haardcascade to detect cars and based on that count, but the XML was not very accurate and had the same car several times, but now I'm using subtraction background and the need to count the number of cars, I read that the background subtraction method and other methods I can set an accountant, but I'm new to this type of programming and do not understand how to do this. I know how to make substración and draw a rectangle over the area you want to tell, but I do not understand how to count

2015-08-27 13:36:46 -0600 asked a question Detection and Counting the Cars - OpenCV, C++

Hi, I'm working on software for vehicle control, I am using OpenCV and C ++ to create the software. for detection of the cars I am using a classifier haarcascade .XML and detects vehicles.

now my problem is in the count, I failed even stable algorithm that accounts cars passing through the streets. you could guide me in this part. please....

Investigating found another way to detect cars in OpenCV and C ++, as are the methods of substraction but equally do not understand how to establish an ROI to detect contarlo..o car and so on. I can create the rectangle over the image but do not understand how to establish a counter in the area

could lead me please

2015-08-27 13:29:52 -0600 asked a question Detection and counting cars - OpenCV and C ++

Hi, I'm working on software for vehicle control, I am using OpenCV and C ++ to create the software. for detection of the cars I am using a classifier haarcascade .XML and detects vehicles.

now my problem is in the count, I failed even stable algorithm that accounts cars passing through the streets. you could guide me in this part. please....

Investigating found another way to detect cars in OpenCV and C ++, as are the methods of substraction but equally do not understand how to establish an ROI to detect contarlo..o car and so on. I can create the rectangle over the image but do not understand how to establish a counter in the area

could lead me please

image description

2015-08-27 13:05:31 -0600 received badge  Editor (source)
2015-08-27 13:04:54 -0600 asked a question Opencv y c++ - Detección de Carros

Hi, I'm working on software for vehicle control, I am using OpenCV and C ++ to create the software. for detection of the cars I am using a classifier haarcascade .XML and detects vehicles.

now my problem is in the count, I failed even stable algorithm that accounts cars passing through the streets. you could guide me in this part. please....

Investigation found another way to detect cars in OpenCV and C ++, as are the methods of theft of funds but equally do not understand how to establish an ROI to detect contarlo..o car and so on. I can create the rectangle over the image but do not understand how to establish a counter in the area

could lead me please

2015-08-27 12:16:52 -0600 asked a question Contador de Vehiculos con OpenCV y C++

Buenas, estoy trabajando en un software para el control vehicular, estoy empleando Opencv y C++ para la creación del software. para la detección de los carros estoy utilizando un clasificador haarcascade .XML y detecta los vehículos.

ahora mi problema esta en el conteo, no he logrado aun estable un algoritmo que contabilice los carros que transitan por las calles . me podrías guiar en esta parte. por favor....

Investigado encontré otra forma para la detección del carros en Opencv y C++, como lo son los métodos de sustracción de fondos pero de igual forma no comprendo como establecer una ROI para detectar el carro y contarlo..o cosas así. puedo crear el rectángulo sobre la imagen pero no comprendo como establecer un contador en esa zona

por favor podrían guiarme.