Skip to content

Commit 0039470

Browse files
committed
correct spelling
1 parent 6250e78 commit 0039470

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

edge_impulse_linux/image.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def classifier(self, videoDeviceId = 0):
8181
res = self.classify(features)
8282
yield res, cropped
8383

84-
# This expects images in RGB format (not BGR), DEPRECATED, use get_features_from_image_auto_studio_setings
84+
# This expects images in RGB format (not BGR), DEPRECATED, use get_features_from_image_auto_studio_settings
8585
def get_features_from_image(self, img, crop_direction_x='center', crop_direction_y='center'):
8686
features = []
8787

@@ -142,7 +142,7 @@ def get_features_from_image(self, img, crop_direction_x='center', crop_direction
142142

143143
return features, cropped
144144

145-
def get_features_from_image_auto_studio_setings(self, img):
145+
def get_features_from_image_auto_studio_settings(self, img):
146146
if self.resizeMode == '':
147147
raise Exception(
148148
'Runner has not initialized, please call init() first')

examples/image/classify-image.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def main(argv):
5656
# features, cropped = runner.get_features_from_image(img)
5757

5858
# this mode uses the same settings used in studio to crop and resize the input
59-
features, cropped = runner.get_features_from_image_auto_studio_setings(img)
59+
features, cropped = runner.get_features_from_image_auto_studio_settings(img)
6060

6161
res = runner.classify(features)
6262

0 commit comments

Comments
 (0)