Ask Your Question

Constantin's profile - activity

2020-09-10 13:19:09 -0500 received badge  Famous Question (source)
2018-12-13 05:28:21 -0500 received badge  Teacher (source)
2016-06-16 21:22:53 -0500 received badge  Famous Question (source)
2016-03-28 23:25:32 -0500 received badge  Nice Question (source)
2015-11-03 08:29:01 -0500 received badge  Notable Question (source)
2015-11-03 08:29:01 -0500 received badge  Popular Question (source)
2015-06-05 09:00:42 -0500 received badge  Famous Question (source)
2015-05-15 03:50:08 -0500 received badge  Notable Question (source)
2014-12-09 14:00:18 -0500 marked best answer Release Mode - "error C1083: Cannot open include file: 'opencv2/core/core.hpp': No such file or directory"

Hi! I want to use opencv with release mode in VS2012 but I get the mentioned error! I worked with debug mode and it was ok! can anyone help?

2014-11-19 10:49:27 -0500 received badge  Popular Question (source)
2014-10-17 06:34:35 -0500 received badge  Notable Question (source)
2014-05-28 12:27:39 -0500 received badge  Popular Question (source)
2014-05-20 05:57:53 -0500 received badge  Famous Question (source)
2014-02-05 05:39:40 -0500 commented question Cascade Training Error OpenCV 2.4.4 - Train dataset for temp stage can not filled. Branch training terminated. Cascade Classifier can't be trained. check the used training parameters

Hi, I added an answer. my mistake was the one I mentioned. It worked for me!

2014-01-15 11:08:56 -0500 commented question TrainCascade Error
2014-01-15 11:04:18 -0500 commented question TrainCascade Error

Your number of training examples are small, I think you should provide more training data. instead of 3 use 1000 or more. I had the same problem before I think that fixed in this way!

2014-01-15 04:30:18 -0500 commented question Haar-cascade training took very little time and no xml was produced

how many training data do you have?

2014-01-15 04:28:37 -0500 commented question TrainCascade Error

how many training data do you have?

2014-01-15 04:25:08 -0500 commented answer RuntimeError: module compiled against API version 9 but this version of numpy is 7

Thanks, I did it but it didn't work :)

2014-01-15 04:24:33 -0500 commented answer RuntimeError: module compiled against API version 9 but this version of numpy is 7

this is the solution and I coulden't accept it as a solution!

2014-01-15 04:23:06 -0500 answered a question RuntimeError: module compiled against API version 9 but this version of numpy is 7

The problem solved!

I just compile opencv from source with cmake. and then the problem vanished!

2014-01-08 09:09:17 -0500 asked a question RuntimeError: module compiled against API version 9 but this version of numpy is 7

Hi

I just installed the opencv. When I try to import the cv2 I get this error:

  RuntimeError: module compiled against API version 9 but this version of numpy is 7

Then I check the latest release of the numpy and it was 1.7. I installed this version, but the problem yet exist! how can I fix it.

I using python 2.7 on the Window 7(Ultimate)

2013-12-05 04:27:41 -0500 received badge  Notable Question (source)
2013-12-05 04:27:41 -0500 received badge  Popular Question (source)
2013-07-16 21:33:54 -0500 marked best answer Cascade Training Error OpenCV 2.4.4 - Train dataset for temp stage can not filled. Branch training terminated. Cascade Classifier can't be trained. check the used training parameters

Hi there! I used createsamples.exe to create my .vec file then I tried to use cascade training according to the OpenCV doc. But I came to this error:

PARAMETERS:

cascadeDirName: CassCade
vecFileName: Positive\ResistorP1.vec
bgFileName: Negative\NegSamples.txt
numPos: 150
numNeg: 150
numStages: 20
precalcValBufSize[Mb] : 1024
precalcIdxBufSize[Mb] : 1024
stageType: BOOST
featureType: LBP
sampleWidth: 24
sampleHeight: 24
boostType: GAB
minHitRate: 0.995
maxFalseAlarmRate: 0.5
weightTrimRate: 0.95
maxDepth: 1
maxWeakCount: 100

===== TRAINING 0-stage =====
<BEGIN
POS count : consumed   150 : 150
Train dataset for temp stage can not be filled. Branch training terminated.
Cascade classifier can't be trained. Check the used training parameters.

I use this command for cascade training:

opencv_traincascaded.exe -data CassCade -vec Positive\ResistorP1.vec -bg N
egative\NegSamples.txt -numPos 150 -numNeg 150 -numStage 30 -featureType LBP -pr
ecalcValBufSize 1024 -precalcIdxBufSize 1024

my .vec size 2.25MB and number of positive samples created by opencv_createsamples.exe is 2000 and number of negative samples is mor than 600 .jpg files.I don't know what's wrong with it ! Thanks in advance! :)

2013-06-26 02:50:53 -0500 asked a question cascade classifier - can not open '.xml' file

I want to make an augmented reality app. so first of all i trained a cascade classifier for this marker!

image description

I used cascade training on this image and after 2 days! it finished!! so according to the face detection tutorial I followed the steps but when I want to load the "cascade.xml" file it can not open it and exit the program.

specifically in this code:

CascadeClassifier ARMarker;
if(ARMarker.load("cascade.xml"))
{
    cout<<"can not open the file."<<endl;
    exit(1);
}

is there any help!?

Thanks in advance! :)

2013-06-26 02:48:34 -0500 asked a question cascade classifier

Hi there! I want to make an augmented reality app. so first of all i trained a cascade classifier for this marker!

image description

I used cascade training on this image and after 2 days! it finished!! so according to the face detection tutorial I followed the steps but when I want to load the "cascade.xml" file it can not open it and exit the program.

specifically in this code:

CascadeClassifier ARMarker;
if(ARMarker.load("cascade.xml"))
{
    cout<<"can not open the file."<<endl;
    exit(1);
}

is there any help!?

Thanks in advance! :)

2013-04-19 11:11:53 -0500 commented answer Release Mode - "error C1083: Cannot open include file: 'opencv2/core/core.hpp': No such file or directory"

how should I set that I'm using x32 bit system!? all dlls that corresponds to the release mode is in lib directory. and they correctly added to the path variable!(as I did for debug mode)

2013-04-18 11:37:03 -0500 commented answer Error-: The procedure entry point getTIckCount64 could not located in Dynamic Library KERNEL32.dll?

Thanks, but i read that article. I am looking for something different.

2013-04-18 10:00:27 -0500 asked a question Error-: The procedure entry point getTIckCount64 could not located in Dynamic Library KERNEL32.dll?

When I run opencv 2.4.4 I get this error in the run-time. all the configuration set to use opencv in debug mode. OS: winXP

2013-04-18 08:18:37 -0500 commented answer Release Mode - "error C1083: Cannot open include file: 'opencv2/core/core.hpp': No such file or directory"

How should I check it? I make a property sheet for the Release mode and added it to the Property Manager under Release part, my settings are : C:\OpenCV 2.4\opencv\build\include C:\OpenCV 2.4\opencv\build\include\opencv C:\OpenCV 2.4\opencv\build\include\opencv2 --- Linker->Additional Libraries: C:\OpenCV 2.4\opencv\build\x86\vc11\lib -- opencv_core244.lib -- Linker -> Input -> additional dependencies: opencv_highgui244.lib opencv_calib3d244.lib opencv_contrib244.lib opencv_features2d244.lib opencv_flann244.lib opencv_imgproc244.lib opencv_legacy244.lib opencv_ml244.lib opencv_nonfree244.lib opencv_objdetect244.lib opencv_photo244.lib opencv_stitching244.lib opencv_ts244.lib opencv_video244.lib opencv_videostap244.lib

---- So i totally confused!

2013-04-17 01:20:31 -0500 received badge  Student (source)
2013-04-16 13:00:01 -0500 commented answer Release Mode - "error C1083: Cannot open include file: 'opencv2/core/core.hpp': No such file or directory"

Yes I knew and I did that! I got the same error! it's funny all the things are the same as debug mode but just need to remove a 'd' from the .lib files then it should works! but it didn't!