Example #1
0
 def extractor(self, R, G, B):
     return oh_bithash_str(
         opponent_histogram(R, G, B))
Example #2
0
 def extractor(self, R, G, B):
     return oh_base64(
         opponent_histogram(R, G, B))
Example #3
0
VirtualEnv TESSAR Praxon loaded in 1.258sec from /Users/fish/Praxa/TESSAR
from pylire.process.opponent_histogram import opponent_histogram
opponent_histogram(
opponent_histogram()
)
# OUT: Traceback (most recent call last):
# OUT:   File "<input>", line 2, in <module>
# OUT: TypeError: opponent_histogram() takes exactly 1 argument (0 given)
opponent_histogram
# OUT: <function opponent_histogram at 0x1118da668>
opponent_histogram.__module__
# OUT: 'pylire.process.opponent_histogram'
from pylire.process.opponent_histogram import opponent_histogram_key_vector
opponent_histogram_key_vector.__module__
# OUT: 'process.ext.opponent_histogram'
opponent_histogram_key_vector
# OUT: <built-in function opponent_histogram_key_vector>
import scipy
scipy.ndimage.sobel
# OUT: <function sobel at 0x1112361b8>
import skimage
import skimage.filter
skimage.filter.vsobel
# OUT: <function vsobel at 0x112372e60>
skimage.filter.vsibel
# OUT: Traceback (most recent call last):
# OUT:   File "<input>", line 1, in <module>
# OUT: AttributeError: 'module' object has no attribute 'vsibel'
skimage.filter.vsobel
# OUT: <function vsobel at 0x112372e60>
skimage.filter.canny