usual | 23 Jun 15:06 2012
Picon

HAAR iris detection

Hello,

I tried to build a classifier based on UBIRIS v1.
opencv_performance gives the following results:

                                      Hits |Missed| False
                            Total|  1808|   192|   772|

1) What can I deduce from the quality of the classifier ?

I tested it using this code:
   //-- Detect faces
   face_cascade.detectMultiScale( frame, faces, 1.1, 2, 
0|CV_HAAR_SCALE_IMAGE, Size(30, 30) );

   for( int i = 0; i < faces.size(); i++ )
   {
     // Face detected
     Mat faceROI = frame( faces[i] );
     std::vector<Rect> eyes;

     //-- In each face, detect eyes
     eyes_cascade.detectMultiScale( faceROI, eyes, 1.1, 2, 0 
|CV_HAAR_SCALE_IMAGE, Size(30, 30) );

     for( int j = 0; j < eyes.size(); j++ )
      {
         // Eye detected
        Mat eyeROI = frame( eyes[j] );
        std::vector<Rect> iris;
(Continue reading)

luigues33 | 22 Jun 19:23 2012
Picon

Problem building Qt libraries

Hi all,
I'm using VS C++ Express 2010x86, Windows 7 (32 bits). But, When I start Visual Studio command prompt, I'm
having the following error: 
Setting environment for using Microsoft Visual Studio 2010x64 cross tools.
ERROR: Cannot determine the location of the VS Common Tools folder.

This error prevents the built Qt libraries? In my system variables section, the value of VS100COMNTOOLS is
not blank (C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Tools\). How to solve this problem?

Thank you.

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

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
Roberto Spadim | 26 Jun 16:42 2012
Picon

cameras



hi guys, i don´t know if it´s a off topic, but.....
well i need a thermal camera, i know that flir is very good, but the prices are a bit high....
does anyone know good thermal cameras  with low cost?

i will measure persons (-20 to 60 Celsius) - that´s my priority for now...

for the second part i will measure industrial instalations (-20 to 300 Celsius) - i think this one will be expensive... but not problem...

--
Roberto Spadim
Spadim Technology / SPAEmpresarial


__._,_.___

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

__,_._,___
Nagi | 25 Jun 17:36 2012
Picon

Square detection

In the square detection program, the square is detected by segmentation or canny as shown in part of the code
below. What do they mean when they say "use Canny instead of zero threshold level. Canny helps to catch
squares with gradient shading". What is gradient shading? 

Thanks.

Nagi

// try several threshold levels
        for( l = 0; l < N; l++ )
        {
            // hack: use Canny instead of zero threshold level.
            // Canny helps to catch squares with gradient shading
            if( l == 0 )
            {
                // apply Canny. Take the upper threshold from slider
                // and set the lower to 0 (which forces edges merging)
                cvCanny( tgray, gray, 0, thresh, 5 );
                // dilate canny output to remove potential
                // holes between edge segments
                cvDilate( gray, gray, 0, 1 );
            }
            else
            {
                // apply threshold if l!=0:
                //     tgray(x,y) = gray(x,y) < (l+1)*255/N ? 255 : 0
                cvThreshold( tgray, gray, (l+1)*255/N, 255, CV_THRESH_BINARY );
            }

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

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
Samaa Mohammed | 22 Jun 17:39 2012
Picon

Help request, Errors I'm facing in my code,



hi every body..
I'm working in a project for hand gesture recognition and I'm facing these problems ..
I'm using visual studio 2010
I make sure of all my used libraries and include
Can you please let me know in case i am doing some mistake while compiling or any suggestions.
 Your help will be greatly appreciated.

error LNK2019: unresolved external symbol "class cv::Scalar_<double> __cdecl refineSegments(class cv::Mat const &,class cv::Mat const &,class cv::Mat &,class std::vector<class cv::Point_<int>,class std::allocator<class cv::Point_<int> &gt ; > &,class std::vector<class cv::Point_<int>,class std::allocator<class cv::Point_<int> > > &,class cv::Point_<int> &)" (?refineSegments <at> <at> YA?AV?$Scalar_ <at> N <at> cv <at> <at> ABVMat <at> 2 <at> 0AAV32 <at> AAV?$vector <at> V?$Point_ <at> H <at> cv <at> <at> V?$allocator <at> V?$Point_ <at> H <at> cv <at> <at> <at> std <at> <at> <at> std <at> <at> 2AAV?$Point_ <at> H <at> 2 <at> <at> Z) referenced in function "void __cdecl initialize_hand_data(struct data_for_tnc &,class cv::Mat const &)" (?initialize_hand_data <at> <at> YAXAAUdata_for_tnc <at> <at> ABVMat <at> cv <at> <at> <at> Z)
1>HandGesture.obj : error LNK2019: unresolved external symbol _simple_tnc referenced in function "void __cdecl estimateHand(class cv::Mat &)" (?estimateHand <at> <at> YAXAAVMat <at> cv <at> <at> <at> Z)

HandGesture.exe : fatal error LNK1120: 2 unresolved externals

Regards...



__._,_.___

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

__,_._,___
jkitten33 | 22 Jun 20:42 2012
Picon

Correct way to "resize" an image Mat w/o altering aspect ratio

I have an image Mat of arbitrary size and need to end up with a Mat of size WxH.  The resulting image can be scaled
proportionally, but any new space (resulting from WxH being a different aspect ratio than the original
Mat) should be zeros (or ones, or whatever).

eg: Take a 100x100 image and make it "fit" onto a 640x480 image.  Resize the source to 480x480, then
(somehow?) "blit" it onto a blank 640x480 canvas Mat.

I'm messing around with getting a ptr to the data and stepping through, but, one, I'm having a bit of trouble,
and, two, I'm not entirely sure this is the best method.

How would you recommend I go about doing this?  Thanks much 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
Emraan | 24 Jun 19:30 2012
Picon

Hand detection in opencv Android

Hi, I'm new in opencv. Want to detect hand in Android device.Any help will be highly appreciated.

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

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
we_aretorches | 26 Jun 04:24 2012
Picon

Lenovo EasyCamera Displays No Images

Hello there,

I am relatively new to OpenCV and have been having a persistent problem with my in-built webcam on Lenovo
IdeaPad when I try using the video capture with OpenCV. I have been trying to run sample codes, but every
time, the same problem occurs where the first time I run the code, a blank black screen is the main output in
the window, and the second time, there is simply no data in the window. Anything not involving the webcam
runs perfectly.

Has anyone else experienced this problem? I know the Lenovo EasyCamera is not in the list of supported
cameras in the Willow Garage Wiki, but that page seems to need updating, and I have read of OpenCV running on
older models of Lenovos. Once again, I am using a Lenovo IdeaPad with an in-built Lenovo EasyCamera and
OpenCV 2.2.

Thanks for any help you can offer!

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

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
friendx97 | 25 Jun 09:33 2012
Picon

A few questions about OpenCV 1.x & OpenCV 2.x

Hi everyone, I am a new hand in learning OpenCV and wanna ask some questions:

1.Is that OpenCV 1.x all coded by C, and OpenCV 2.x all by C++ ? What's the difference between them?

2.If I wanna know the corresponding functions in CV1.x and CV2.x, how can I find them ? If there is a CV2.x
function AAA(), then I wanna know if there is a function doing the same things in CV1.x.

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

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
luigues33 | 24 Jun 23:16 2012
Picon

Tortoise (Checkout failed)

Hi,
I'm using TortoiseSVN to download the repository (http://code.opencv.org/svn/opencv/trunk/. But,
checkout failed. 

Error: Unable to connect to repository at URL. 

What should I do to fix this error?

Thank you!

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

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
Seereen Noorwali | 23 Jun 04:03 2012
Picon

install openCV with ffmpeg



Hi 
I am working on MAC 10.6.8 , I am trying to work on avi videos with openCV 
I install openCV 2.4.0 using this tutorial 

and I install ffmpeg on different directory using prefix option 
I tried to install both of them in their default directory ,,, but I get problems !!! 

Now, I can run openCV code that open the images
but I could not open the videos with openCV 
I need to install openCV and invoked the ffmpeg functions ,,,,,  

I am not sure what I have to do ... but I need to run this code at least to make sure that my ope nCV is working with videos 
 

#include <stdio.h>

#include <opencv2/opencv.hpp>

#include <opencv2/highgui/highgui.hpp>

#include <opencv/ml.h>

#include <opencv/cxcore.h>

#include <opencv/cv.h>


int main (int argc, char * const argv[])

{

    cvNamedWindow( "Example2", CV_WINDOW_AUTOSIZE );

CvCapture* capture = cvCreateFileCapture( "/Users/seereen2004/Desktop/test.avi" );

IplImage* frame;

while(1) {

frame = cvQueryFrame( capture );

if( !frame ) break;

cvShowImage( "Example2", frame );

char c = cvWaitKey(33);

if( c == 27 ) break;

}

cvReleaseCapture( &capture );

cvDestroyWindow( "Example2" );

return 0;

}

I got this code from 

http://dasl.mem.drexel.edu/~noahKuntz/openCVTut1.html


when I run this code ... I get nothing .... the video does not display ! 


So my questions is ... how can I solve this problem .... how can I deal with videos from openCV ,,, and how can I install openCV in a way that invoked ffmpeg to deal with videos without any problems 


Thanks in Advance 

Seereen 



__._,_.___

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

__,_._,___

Gmane