fixed a bug in the non-max-suppression filter procedure
fixed a typo error in the default min_Probability param of CreateERFilterNM2
fixed a bug in the calculation of the number of inflexion points feature
better classifiers performance by training them with a new dataset of "manually" selected regions
better parameter settings for the ERFilter sample
removed trailing whitespaces
removed unnecessary commented block
removed blank line at EOF
fixed compilation issues with new Ptr
fixed rebase conflicts
changed default parameters in CreateERFiltersNM{1,2} functions. They are not needed now in the sample example.
restored original behaviour or release functions for (Buffer and Texture)
removed detail:: prefix int video_reader

it conflicts with cv::detail
Merge pull request #1403 from lluisgomez:scene_text_detection_NM_fix
Merge pull request #1408 from jet47:new-ptr-fixes