Ask Your Question

ShawnShawnShawn's profile - activity

2016-04-22 07:07:19 -0600 commented question Are there any details or procedures which should be pay attention to for stopping and restarting the training process?

I am facing with a new problem....using traincascade tool.

2016-04-22 07:04:37 -0600 commented question Are there any details or procedures which should be pay attention to for stopping and restarting the training process?

I asked my friend help me figure out how to use the source code which was solved, he simply used vs2012 and create a project using the source code to build an exe -_-||.

2016-04-22 07:01:27 -0600 asked a question traincascade stuck on 7-stage ending with POS count

image description

My traincascade process stuck on 7-stage and nothing was changing.

I'm using positive samples with 2429 exact faces( 19×19) and negative samples with 4548 non-faces 19×19 (both dataset from web for face detection). I didn't create additional samples with opencv_createsamples, just used 2429 positives to create vector file with exact 2429 samples. I have used the full path for description file both of positives and negatives.

Here is my training parameters:(numPos=2429×0.85=2064, numNeg≈0.5×numPos=4000) opencv_traincascade -data data -vec positives.vec -bg negative.txt -numPos 2064 -numNeg 4000 -numStages 15 -precalcValBufSize 1024 -precalcValBufSize 1024 -featureType LBP -w 19 -h 19 -minHitRate 0.995 -maxFalseAlarmRate 0.5

2016-04-22 06:41:24 -0600 received badge  Enthusiast
2016-04-20 05:38:27 -0600 commented question Are there any details or procedures which should be pay attention to for stopping and restarting the training process?

as you mention in the book, keep in mind that we should always use the absolute path. Are there any differences in command lines between window prompt and cygwin prompt? In cygwin, I type these that errors thrown: Requested object was not found: opencv_annotation -images /cygdrive/f/PHOTO/ME -annotations /cygdrive/f/PHOTO/ME/annotation.txt

2016-04-20 05:30:54 -0600 commented question Are there any details or procedures which should be pay attention to for stopping and restarting the training process?

Should I copy all the folders containing the source code of the book to the D:\opencv\sources where I installed my opencv, and then use CMake to compile?

2016-04-20 05:27:35 -0600 commented question Are there any details or procedures which should be pay attention to for stopping and restarting the training process?

yeah, I have got the ebook and decided to follow the steps. But I unfortunately got stuck with using your source code like object_annotation, I got confused with the below "Start by running the CMAKE script inside the GitHub folder of the specific project. After running CMAKE, the software will be accessible through an executable. The same approach applies for every piece of software in this chapter . Running the CMAKE interface is quite straightforward" how can I correctly use cmake with your source code? it seems like installation_tutorials of the book only contains how to install opencv3. Can I have your email so I can contact you more convenienly?

2016-04-14 12:08:28 -0600 commented question Are there any details or procedures which should be pay attention to for stopping and restarting the training process?

btw, assume that I am using the traincascade tool and I want to stop it and then restart it( maybe add/minus some samples or tone some parameters or just make a pause), what matters or procedures should I pay attention to in different cases?

2016-04-14 11:59:51 -0600 commented question Are there any details or procedures which should be pay attention to for stopping and restarting the training process?

This guidance link from other source is quite good as well http://www.computer-vision-software.c...

2016-04-14 11:58:05 -0600 commented question Are there any details or procedures which should be pay attention to for stopping and restarting the training process?

what does it mean that "so if you could link me to it, I might be adding it to the OpenCV training interface also."

2016-04-14 11:54:32 -0600 commented question Are there any details or procedures which should be pay attention to for stopping and restarting the training process?

Thanks for your quick reply. Actually I just began haar training yesterday using opencv_haartraining.

The reason why I use this tool is that tons of detailed tutorials and discussion online had used this tool with haar, and then I supposed maybe it'd be better for me to completely follow the steps as they taught, which turns out to be a bad choice.

Yesterday I started my training, in the meantime I searched some information on OpenCV forum and by accident found many suggestions on training you posted, not until then did I realize that actually I should use the opencv_trainingcascade tool + LBP for the first try! I hope more green hands can reach this link from Steven before they start to train! link text

2016-04-14 11:33:34 -0600 received badge  Editor (source)
2016-04-13 22:52:40 -0600 asked a question Are there any details or procedures which should be pay attention to for stopping and restarting the training process?

I was trying to do a haar training, the process and related parameters are shown below, and the process seems to be in an infinite loop. I did some research and found that maybe I should stop the process, add more negative samples, and then restart. (Actually I had nearly 1000 negative images whose size, generally 300×224 plus, are hundred times than 19×19( model dimension selected), so I supposed I had enough negative samples which should be much more than 5000 -numNeg selected, but a lot of answers from network said insufficient neg samples causes loop, which confused me). It would be appreciated that you add some suggestions on how to improve my training!

image description image description image description image description

2016-04-13 12:04:43 -0600 received badge  Supporter (source)
2016-01-08 00:23:42 -0600 asked a question Download the video and photos from opencv-python tutorial?

where can I download the video and photos from opencv-python tutorial?

2016-01-03 01:59:00 -0600 asked a question How to measure object's distance using monocular vision based on OpenCV-Python?

Hi, I'm new for OpenCV, I'd like to measure object's distance using monocular vision based on OpenCV-Python. Please give me some details on how to work it out. If you can offer any methods, theory, codes and sources etc, that would be appreciated!!!