Narayan | 7 Jul 09:52 2012
Picon

Traffic Density Detection

Hi everybody, I'm completely new to OpenCV library. However, I've gone through plenty of books and
articles written about this library. I'm doing a project about detecting the number of vehicles i.e.
vehicle traffic using image processing or should I say using OpenCV but so far I can't get anywhere. All I
want is to determine the number of vehicles from the given video frame or for now an image. Can anybody
suggest me how or from where should I start doing what I want?
I really need to complete this project within 1 month or so as it affects my semester marks.

P.S.I'm familiar enough with C and C++ programming language but have no idea about other languages so do
suggest me directions on the basis of these languages...!

------------------------------------

Change settings: http://www.yahoogroups.com/mygroups, select
   Get Emails (get all posts)
   Daily Digest (one summary email per day)
   Read on the web (read posts on the web only)Or Unsubscribe by mailing OpenCV-unsubscribe <at> yahoogroups.com
navid mahmoudian | 6 Jul 23:45 2012
Picon

example for using solvePnPRansac



Dear All
Hi, I am trying to get an object pose from 3D-2D point correspondences using solvePnPRansac , but i don't know exactly how i should use this function in c++. is there any example code that could help me do my work. I couldn't find any useful code on the net.
thank you very much.
Best Regards
Navid


__._,_.___

Change settings: http://www.yahoogroups.com/mygroups, select
   Get Emails (get all posts)
   Daily Digest (one summary email per day)
   Read on the web (read posts on the web only)Or Unsubscribe by mailing OpenCV-unsubscribe <at> yahoogroups.com




Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___
Danish Satti | 6 Jul 22:39 2012
Picon

countNonZero always returns 0 for single row Ranges

Hi,

I have binary image "document" with 0,1 pixels. I am trying to count 1s in each row by using countNonZero()
but it is not returning current result. Here is my code

int sum = countNonZero(document(Range(i,i),Range::all()));

Where document is the image and i is the row. If I use same for 2 rows instead of 1 like:

int sum = countNonZero(document(Range(i,i+1),Range::all()));

it gives correct result. What am I doing wrong here. Any other short way to do the same without using extra loop?

------------------------------------

Change settings: http://www.yahoogroups.com/mygroups, select
   Get Emails (get all posts)
   Daily Digest (one summary email per day)
   Read on the web (read posts on the web only)Or Unsubscribe by mailing OpenCV-unsubscribe <at> yahoogroups.com
naomilover77 | 6 Jul 18:26 2012
Picon

OpenCV - Problems making build for Dev C++ using CMake

I chose MinGW as the compiler.

The error goes:

The CXX compiler identification is unknown
The C compiler identification is unknown
Check for working CXX compiler: g++.exe
CMake Error: your CXX compiler: "g++.exe" was not found.   Please set CMAKE_CXX_COMPILER to a valid
compiler path or name.
CMake Error: Internal CMake error, TryCompile configure of cmake failed
Check for working CXX compiler: g++.exe -- broken
CMake Error at C:/Program Files (x86)/CMake
2.8/share/cmake-2.8/Modules/CMakeTestCXXCompiler.cmake:45 (MESSAGE):
  The C++ compiler "g++.exe" is not able to compile a simple test program.

  It fails with the following output:

  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:61 (project)

CMake Error: your CXX compiler: "g++.exe" was not found.   Please set CMAKE_CXX_COMPILER to a valid
compiler path or name.
Configuring incomplete, errors occurred!

------------------------------------

Change settings: http://www.yahoogroups.com/mygroups, select
   Get Emails (get all posts)
   Daily Digest (one summary email per day)
   Read on the web (read posts on the web only)Or Unsubscribe by mailing OpenCV-unsubscribe <at> yahoogroups.com
Kabinad Teshager | 6 Jul 17:45 2012
Picon

Re: How to test a .xml classifier made with opencv_traincascade.exe



hi..
i am doing the same thing as u . but can u tell me which programm u used to create the classifier.? can u share the programe or the resource u use. this is the area where it is poorly documented or explained in opencv.
thanks

From: Marco Romagnoli <romagnoli <at> mediasys.it>
To: opencv <at> yahoogr oups.com
Sent: Thursday, July 5, 2012 6:53 PM
Subject: [OpenCV] How to test a .xml classifier made with opencv_traincascade.exe

 
Hi:
  I made a pedestrian classifier with opencv_traincascade.exe and now I need to test it. I saved in the new format (without the parameter -baseFormatSave) so I cannot utilize opencv_performance.exe. What is there to replace opencv_performance.exe to test an xml created with opencv_traincascade.exe?
  Indeed,  I did save another instance of my classifier with  opencv_traincascade.exe with  -baseFormatSave BUT didn't work with opencv_performance.exe anyway. So again I ask what to do to test an xml classifier made with opencv_traincascade.exe.
  
Regards.
Marco Romagnoli




__._,_.___

Change settings: http://www.yahoogroups.com/mygroups, select
   Get Emails (get all posts)
   Daily Digest (one summary email per day)
   Read on the web (read posts on the web only)Or Unsubscribe by mailing OpenCV-unsubscribe <at> yahoogroups.com




Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___
naomilover77 | 6 Jul 16:15 2012
Picon

OpenCV with Dev C++

Hi there, I've tried, tried and tried, following this:

http://opencv.willowgarage.com/wiki/InstallGuide

And this:

http://docs.opencv.org/doc/tutorials/introduction/windows_install/windows_install.html

Doing and redoing each instruction carefully. I've tried Eclipse, Visual Studio 2010 and Dev C++, but..

I just can't seem to get OpenCV working!

Using MinGW on CMake: "The program can't start beause libgmp-10.dll is missing from your computer. Try
reinstalling the program to fix this problem.

---------------------------------------------------------------------
"The CXX compiler identification is unknown
The C compiler identification is unknown
Check for working CXX compiler: g++.exe
CMake Error: your CXX compiler: "g++.exe" was not found.   Please set CMAKE_CXX_COMPILER to a valid
compiler path or name.
CMake Error: Internal CMake error, TryCompile configure of cmake failed
Check for working CXX compiler: g++.exe -- broken
CMake Error at C:/Program Files (x86)/CMake
2.8/share/cmake-2.8/Modules/CMakeTestCXXCompiler.cmake:45 (MESSAGE):
  The C++ compiler "g++.exe" is not able to compile a simple test program.

  It fails with the following output:

  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:61 (project)

CMake Error: your CXX compiler: "g++.exe" was not found.   Please set CMAKE_CXX_COMPILER to a valid
compiler path or name.
Configuring incomplete, errors occurred!"
---------------------------------------------------------------------

Using Visual Studio 2010 on CMake has this error:

---------------------------------------------------------------------

Check for working CXX compiler using: Visual Studio 10 Win64
Check for working CXX compiler using: Visual Studio 10 Win64 -- broken
CMake Error at C:/Program Files (x86)/CMake
2.8/share/cmake-2.8/Modules/CMakeTestCXXCompiler.cmake:45 (MESSAGE):
  The C++ compiler "C:/Windows/System32/CL.EXE" is not able to compile a
  simple test program.

  It fails with the following output:

   Change Dir: C:/OpenCV/build/CMakeFiles/CMakeTmp

  Run Build Command:C:\PROGRA~2\MICROS~2.0\Common7\IDE\devenv.com
  CMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec2669306193

  Microsoft (R) Visual Studio Version 10.0.30319.1.

  Copyright (C) Microsoft Corp.  All rights reserved.

  The evaluation period for Visual Studio Trial ends in 28 days.

  1>------ Build started: Project: cmTryCompileExec2669306193, Configuration:
  Debug x64 ------

  1>Build started 7/6/2012 10:33:03 PM.

  1>InitializeBuildStatus:

  1> Creating
  "cmTryCompileExec2669306193.dir\Debug\cmTryCompileExec2669306193.unsuccessfulbuild"
  because "AlwaysCreate" was specified.

  1>ClCompile:

  1> Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8168 for
  80x86

  1> Copyright (C) Microsoft Corp 1984-1998.  All rights reserved.

  1> 

  1> cl ÿþ/

  1> 

  1>CL : Command line warning D4024: unrecognized source file type 'ÿþ/',
  object file assumed

  1> Microsoft (R) Incremental Linker Version 10.00.30319.01

  1> Copyright (C) Microsoft Corporation.  All rights reserved.

  1> 

  1> /out:.exe 

  1> &#152;_/ 

  1>LINK : fatal error LNK1181: cannot open input file '&#152;_/.obj'

  1>

  1>Build FAILED.

  1>

  1>Time Elapsed 00:00:00.25

  ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped
  ==========

  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:61 (project)

Configuring incomplete, errors occurred!

---------------------------------------------------------------------

I'm getting stressed out...I've been trying every day for a week now to get this working, straining by
bandwidth to download everything needed and stuff, but I still can't get it to work.

Can anybody help me out? My preferred platform is Dev C++, by the way.
I'm using a Windows 7 Ultimate 64 bit OS under Intel Core i5-2430m, an Nvidia GT 540m, and a 4 GB DDR3 RAM.

------------------------------------

Change settings: http://www.yahoogroups.com/mygroups, select
   Get Emails (get all posts)
   Daily Digest (one summary email per day)
   Read on the web (read posts on the web only)Or Unsubscribe by mailing OpenCV-unsubscribe <at> yahoogroups.com
francesco | 6 Jul 14:22 2012
Picon

Shape of person in people detection example


Hello,

I have tested the peopledetect.cpp example of OpenCV, and it works well. It correctly draws bounding box
(rectangle) around each person.

The problem is that I would like to get some more exact information about the shape of the detected person. Is
there a way to modify the peopledetect example in order to get such information? Or do you have any other suggestion?

I don't really need the exact shape of the person, but more precise information about the position of the
person within the given rectangle.

Thank you a lot in advance.

------------------------------------

Change settings: http://www.yahoogroups.com/mygroups, select
   Get Emails (get all posts)
   Daily Digest (one summary email per day)
   Read on the web (read posts on the web only)Or Unsubscribe by mailing OpenCV-unsubscribe <at> yahoogroups.com
OLAOYE OLAYINKA | 6 Jul 14:21 2012
Picon

project



please am a final year student of LAUTECH,am working on facetracking using opencv, have been having issue on how to build opencv 2.2 on microsoft visual studio 2010.please guy i need your help my defence is coming in a month time.thanks  


__._,_.___

Change settings: http://www.yahoogroups.com/mygroups, select
   Get Emails (get all posts)
   Daily Digest (one summary email per day)
   Read on the web (read posts on the web only)Or Unsubscribe by mailing OpenCV-unsubscribe <at> yahoogroups.com




Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___
tasne89 | 8 Jul 20:27 2012
Picon

adjust rect dimension!


I wanna adjust the dimension of a Rect to be within the image, so I use something like this,

if ((rec.br().x) >= width) rec.br().x= width-1;

but I am getting error on this statement: rec.br().x= width-1;
Actually, I don't know why!

error C2106: '=' : left operand must be l-value

Moreover, when I used other temporary variable Point P;
 I noticed a statement like rec.br()=P; has no effect on dimension of the rectangle.

thx

------------------------------------

Change settings: http://www.yahoogroups.com/mygroups, select
   Get Emails (get all posts)
   Daily Digest (one summary email per day)
   Read on the web (read posts on the web only)Or Unsubscribe by mailing OpenCV-unsubscribe <at> yahoogroups.com
pattern | 6 Jul 18:16 2012
Picon

draw an open contour!

hi 

I have an open contour and wanna draw it using drawContours() function but this function draw it as a closed
contour. Is there a way that makes the function draws it as closed contour.
thx

------------------------------------

Change settings: http://www.yahoogroups.com/mygroups, select
   Get Emails (get all posts)
   Daily Digest (one summary email per day)
   Read on the web (read posts on the web only)Or Unsubscribe by mailing OpenCV-unsubscribe <at> yahoogroups.com
pattern | 6 Jul 17:30 2012
Picon

draw an open contour!

hi 

I have an open contour and wanna draw it using drawContours() function but this function draw it as a closed
contour. Is there a way that makes the function draws it as closed contour.
thx

------------------------------------

Change settings: http://www.yahoogroups.com/mygroups, select
   Get Emails (get all posts)
   Daily Digest (one summary email per day)
   Read on the web (read posts on the web only)Or Unsubscribe by mailing OpenCV-unsubscribe <at> yahoogroups.com

Gmane