Ask Your Question

Revision history [back]

Use computeNMChannels with the ERFILTER_NM_IHSGRAD option

Hello

I am trying to use the function computeNMChannels with the ERFILTER_NM_IHSGRAD option instead of the ERFILTER_NM_RGBLGrad default one in a python script. The following line throws an error: channels = cv2.text.computeNMChannels(img, cv2.text.ERFILTER_NM_IHSGRAD)
--> SystemError: error return without exception set

Can any one help me? How can Ii use this option?

click to hide/show revision 2
No.2 Revision

updated 2016-11-29 09:15:11 -0600

berak gravatar image

Use computeNMChannels with the ERFILTER_NM_IHSGRAD option

Hello

I am trying to use the function computeNMChannels with the ERFILTER_NM_IHSGRAD option instead of the ERFILTER_NM_RGBLGrad default one in a python script. The following line throws an error:

channels = cv2.text.computeNMChannels(img, cv2.text.ERFILTER_NM_IHSGRAD) 
--> SystemError: error return without exception set

set

Can any one help me? How can Ii use this option?

click to hide/show revision 3
retagged

updated 2016-11-29 09:15:36 -0600

berak gravatar image

Use computeNMChannels with the ERFILTER_NM_IHSGRAD option

Hello

I am trying to use the function computeNMChannels with the ERFILTER_NM_IHSGRAD option instead of the ERFILTER_NM_RGBLGrad default one in a python script. The following line throws an error:

channels = cv2.text.computeNMChannels(img, cv2.text.ERFILTER_NM_IHSGRAD)  
--> SystemError: error return without exception set

Can any one help me? How can Ii use this option?