Skip to content

Commit

Permalink
Update featureTester.py
Browse files Browse the repository at this point in the history
  • Loading branch information
sashkarimi authored Dec 11, 2016
1 parent e8d9634 commit 7ea210b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion feature_extraction/featureTester.py
Original file line number Diff line number Diff line change
@@ -33,8 +33,11 @@ def edgeCallback(img, imagename):
features = colorHist.getFeatures(img)

elif procedure == 'textures':
def textureCallback(img, imagename, contours):
cv2.drawContours(img, contours, -1, (0, 255, 0), 3)
cv2.imwrite( imagename + '.png', img)
textures = TextureExtractor()
features = textures.getFeatures(img)
features = textures.getFeatures(img) #imagename, textureCallbacl

elif procedure == 'green':
def greenCallback(img, imagename):

0 comments on commit 7ea210b

Please sign in to comment.