kalyfornia_kr3x | 14 Jun 20:32 2012
Picon

cv2.HOGDescriptor.compute() crashes python



My code is:

import cv2
import numpy as np

moto = cv2.imread('I:\\UFPI\\IC\\TRAIN\\0.jpg',0)
hog = cv2.HOGDescriptor()
desc = hog.compute(moto)

Python crashes in 'desc = hog.compute(moto)'. The message is 'This application has requested the Runtime to terminate it in an unusual way.'

Is this a OpenCV's bug?


__._,_.___

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

__,_._,___
thibaut_marclor | 15 Jun 11:17 2012
Picon

Simple linking problem when compiling samples, , but no way out :(



Hi,

On a fresh install of opencv 2.4.1 (ubuntu 12.04 x64) I cannot compile examples

fatal error: opencv2/imgproc/imgproc_c.h: No such file or directory

... and the same kind of message for all examples.

I've build opencv in ~/opencv/release, and here is the beginning of my opencv.pc file

# Package Information for pkg-config

prefix=/home/tibo
exec_prefix=${prefix}/opencv/release
libdir=
includedir_old=${prefix}/opencv/include/opencv
includedir_new=${prefix}/opencv/modules

(the rest of the file is unchanged)

I already manage to fix the missing lib pro blem by setting the environment variable to find opencv.pc (~/opencv/release/unix-install)

I think this has something to do with the paths where "opencv2" includes are:

~/opencv/include/opencv/ -> [cv.h cv.hpp cvaux.h ... highgui.h ml.h]
~/opencv/include/opencv2/ -> ONLY opencv.hpp

the other "includes" are in each
~/opencv/modules/impgproc/include/opencv2/imgproc/ -> [imgproc.hpp imgproc_c.h types_c.h]

how can I fix it ?

Thank you for your help


__._,_.___

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

__,_._,___
amine_kacete | 15 Jun 10:37 2012
Picon

Haartraining for pedestrians, high false detection, how to reduce it ?

Hi everyone,
  I am currently working on pedestrian detection (based only on the head + face), using the haartraining,
but I am constrained by the problem of false positives, I built an XML 18-story solid enough to filter examples,
if there's someone who has already encountered such a problem, I'm interested to know really what routines
or points of controls that must be added to eliminate the false detection ..
thanks
Amine.

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

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
m_u_ogoro | 15 Jun 10:27 2012
Picon

Python bindings and OpenNI support

Hi all,
I'm trying to write a simple python script that captures RGB frames from the kinect camera and saves them
back to disk. I've successfully compiled the version 2.4.1 with OpenNI support enabled. The OpenNI
version is the current unstable one. For accessing the camera, I'm following the tutorial at
http://docs.opencv.org/doc/user_guide/ug_highgui.html . The problem is that all the enums defined
there are not present in the bindings (that is, neither in the cv module, nor in the cv2). For example, the
enums for selecting the type of frame to retrieve (OPENNI_DEPTH_MAP, OPENNI_BGR_IMAGE) miss from the
bindings. How could I access to them through the python bindings? Should I need any particular flag during
cmake configuration?

Thank you very much for any hint,
Daniele

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

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
Vishal | 15 Jun 09:51 2012
Picon

Compilation problem in OpenCV program- OpenCV-2.4.1 library path

On compiling my first OpenCV-2.4.1 prog

/home/anoop/OpenCV/OpenCV-2.4.1/build# g++ -I/usr/local/include/opencv -L/usr/local/lib
-lcxcore -lcv -lhighgui -lcvaux -lml test_cv.c -o test_cv

getting following error

/usr/bin/ld: cannot find -lcxcore
/usr/bin/ld: cannot find -lcv
/usr/bin/ld: cannot find -lhighgui
/usr/bin/ld: cannot find -lcvaux
/usr/bin/ld: cannot find -lml
collect2: ld returned 1 exit status

How to find the location of installed OpenCV library path?

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

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
Picon

Accesing elements in 3 channel Matrix

Hi all
I am relatively new to Opencv. I dont know how to implement the following matlab statements in Opencv.

1.Mat([ones(1,3),1:end,end*ones(1,3)],[ones(1,3),1:end,end*ones(1,3)])
2.C1(1:2, 1:2, i, j) = tmp;- I dont know how to access elements in i and jth channel.

Can someone please help me out.

Thanks 
Pag

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

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
Rekha jayaprakash | 14 Jun 20:22 2012
Picon

Error message in Xcode



Hello all,

I'm getting the below pasted error message when i tried to build a sample program in Opencv using Xcode IDE... can anyone point out the problem...


Ld build/Debug/re normal x86_64

cd /Users/rekhajayaprakash/Desktop/re

setenv MACOSX_DEPLOYMENT_TARGET 10.6

/Developer/usr/bin/g++-4.2 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk -L/Users/rekhajayaprakash/Desktop/re/build/Debug -L/opt/local/lib -F/Users/rekhajayaprakash/Desktop/re/build/Debug -F/Library/Frameworks/OpenCV.framework -filelist /Users/rekhajayaprakash/Desktop/re/build/re.build/Debug/re.build/Objects-normal/x86_64/re.LinkFileList -mmacosx-version-min=10.6 -framework OpenCV -o /Users/rekhajayaprakash/Desktop/re/build/Debug/re


ld: framework not found OpenCV

collect2: ld returned 1 exit status

Command /Developer/usr/bin/g++-4.2 failed with exit code 1

thanks in advance..
--
Best Regards,
Ms. Rekha Jayaprakash





__._,_.___

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 | 14 Jun 19:31 2012
Picon

Executable does not run outside of Visual Studio

Hi, 

I have an c++ opencv program that runs without any problems when I compile it from Visual Studio 2010. It
basically reads avi videos and outputs a frame if there is a motion detection.
I created an executable so that I run it on a seperate machine. I included the dynamic libraries needed. When
I run the executable, it shows that it is finding the video by writing the path of the video in the output
window, but then it gives me an error saying:
OpenCV error: Bad Argument <Array should be CvMat or IplImage> in unknown function, file
..\..\..\ocv\opencv\modules\core\src\array.cpp, line 1237

This error does not show up when I run the program from Visual Studio. I don't know if I'm missing some dlls for
the .exe file. The dlls that I included are  
opencv_imgproc220d.dll
opencv_highgui220d.dll
opencv_features2d220d.dll
opencv_core220d.dll
opencv_calib3d220d.dll
msvcr100d.dll
msvcp100d.dll
kernel32.dll
shlwapi.dll

I appreciate any feedback.

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

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
sbemail | 14 Jun 15:46 2012

Implementation of dct in opencv

i"m trying to implement dct in a jpeg image. I have this code so far
unfortunately there's an error.

Mat hostImage = imread(argv[1], 1);
Mat output = cvCreateMat(hostImage.size().width, hostImage.size().height,
CV_8UC1);
cvDCT(&hostImage, &output, 0);
namedWindow("DCT Image", CV_WINDOW_AUTOSIZE);
cvMoveWindow("DCT Image", 60, 50);
imshow("DCT Image", output);
waitKey(0);
destroyWindow( "DCT Image" );
output.release();

 Can anyone give comments on how to solve this.

--
View this message in context: http://opencv-users.1802565.n2.nabble.com/Implementation-of-dct-in-opencv-tp7580407.html
Sent from the opencv-users mailing list archive at Nabble.com.

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

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
rekha | 14 Jun 18:54 2012
Picon

OpenCV 2.3.1 installation on Mac OSx 10.6.8



Hello all,

I'm new to Mac OSx and i'm trying to work on OpenCV with Xcode 3.2.6 IDE. I tried many ways to configure opencv with xcode but still im not able to make it work. Please help me out in configuring Opencv with xcode. I googled it and tried various methods still it is popping out lot of error messages. can anyone give me clear steps to install and configure and make the program work....

your help is greatly appreciated !!! Thanks in advance.

Best,
Rekha 


__._,_.___

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

__,_._,___
yuhanz2003 | 14 Jun 22:23 2012

OpenCV installation with SURF feature support on Ubuntu

Hi all,

I just installed OpenCV-2.4, and compiled and run my code,
but reached an error saying: "OpenCV-2.4.0/modules/legacy/src/features2d.cpp:77: error: (-213)
OpenCV was built without SURF support in function cvExtractSURF".

The code was working previously with OpenCV-2.2 on Windows.

Looks like I need to rebuild OpenCV with SURF. so, what are the parameters that I will need to enable in order
to make SURF feature work?

Thank you.

Yuhan

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

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