• greensea's avatar
    Fix a segment fault issue in cascade classfier · 52c727f0
    greensea authored
    work_var_count and sample_count are both 32bit integer, if the product of work_var_count and sample_count is bigger than 2^31, the compiler will treat (work_var_count*sample_count) as a negative number. Force work_var_count as an unsigned 64bit integer to avoid this issue.
    52c727f0
Name
Last commit
Last update
..
annotation Loading commit data...
createsamples Loading commit data...
traincascade Loading commit data...
CMakeLists.txt Loading commit data...