Skip to content

Commit

Permalink
rm debug out
Browse files Browse the repository at this point in the history
  • Loading branch information
aoirint committed Jul 21, 2019
1 parent ad2bb83 commit 2ab78ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion SSBUCharaClassifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def __init__(self, feature_json):

def __call__(self, img, k=3):
# img isinstance of np.ndarray
print(img.shape)
# print(img.shape)
assert len(img.shape) == 2 # gray
assert img.shape[1] == 110 and img.shape[0] == 110
h0 = hog(img)
Expand Down
2 changes: 1 addition & 1 deletion SSBUFrameAnalyzer.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ def predict_chara(img):
names, dists = cc(img, k=3)
min_dist = dists[0]

print(names, dists)
# print(names, dists)
thresh_dist = 10.

name = names[0] if min_dist < thresh_dist else None
Expand Down

0 comments on commit 2ab78ad

Please sign in to comment.