Ask Your Question
1

Mergevec.cpp possible alternative

asked 2012-08-02 08:41:53 -0500

Bia6969 gravatar image

Hi everyone!! As i was unable to get mergevec.cpp to compile, i've thought of instead of trying to merge two .vec, why not put together a .txt with the contains of two .txt

For example: i have two folders A and B, and after object-marking them i got two .txt, a.txt and b.txt // Why not creating an output.txt? The thing is, it works when creating the sample, but when i try to train them, it gives out the error: OpenCV Error: Assertion failed (tempNode->left) in write (...)

Please, any tip at all would be welcome :) Thanks.

edit retag flag offensive close merge delete

Comments

It works if when i run the traincascade with the featureType as LBP and I DON'T specify the nstages. If i try to say i want 30 nstages, it blows ;)

Bia6969 gravatar imageBia6969 ( 2012-08-02 09:08:24 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
2

answered 2014-11-11 21:29:48 -0500

wulfebw gravatar image

updated 2014-11-11 21:30:36 -0500

I ran into this issue while training a classifier and made a utility that combines .vec files: https://github.com/wulfebw/mergevec

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

Stats

Asked: 2012-08-02 08:41:53 -0500

Seen: 499 times

Last updated: Aug 02 '12