Ask Your Question
1

How to create "trained_classifierNM1.xml"?

asked 2017-11-21 08:48:54 -0600

AlexChan gravatar image

updated 2017-11-21 08:49:28 -0600

For text detection, the cpp_file( opencv_contrib/module/text/example/textdetection.cpp) loads "trained_classifierNM1.xml" and "trained_classifierNM2.xml" to create 2 classifer. Does any body know which training set was used to create them?

As far as I know, "trained_classifierNM1.xml" was created by boost with some features, and "trained_classifierNM2.xml" was created by SVM.

The opencv_contrib link: link text The text detection paper link :link text

thanks in advance!

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2017-11-21 09:01:51 -0600

berak gravatar image

updated 2017-11-21 20:06:10 -0600

they were trained with the code from here (this also has (sample) images)

to use it with recent opencv3, you probably need to checkout this pr

edit flag offensive delete link more

Comments

thanks! It takes me a long time to find the code, thanks a lot!

AlexChan gravatar imageAlexChan ( 2017-11-21 19:15:32 -0600 )edit

@AlexChan, no reason of closing down topics that are accepting a correct answer. It is useful to keep them open for possible follow up questions of either you or others.

StevenPuttemans gravatar imageStevenPuttemans ( 2017-11-22 04:55:49 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2017-11-21 08:48:54 -0600

Seen: 1,021 times

Last updated: Nov 21 '17