Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

understanding the letter recognition sample of OpenCV

Hi all,

I try to understand the letter recognition sample of OpenCV and i'm stuck on this line

        int cls_label = responses.at<int>(i) - 'A';

Can somebody explain what this line means ?

Thank you !

understanding the letter recognition sample of OpenCV

Hi all,

I try to understand the letter recognition sample of OpenCV and i'm stuck on this line

        int cls_label = responses.at<int>(i) - 'A';

Can somebody explain what this line means ? more precisely what this 'A' is doing here ?

Thank you !

click to hide/show revision 3
No.3 Revision

understanding the letter recognition sample of OpenCV

Hi all,

I try to understand the letter recognition sample of OpenCV and i'm stuck on this line

        int cls_label = responses.at<int>(i) - 'A';

Can somebody explain what this line means ? more precisely what this 'A' is doing here ?

Thank you !