summaryrefslogtreecommitdiff
path: root/megapixels/commands/cv/face_vector.py
diff options
context:
space:
mode:
Diffstat (limited to 'megapixels/commands/cv/face_vector.py')
-rw-r--r--megapixels/commands/cv/face_vector.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/megapixels/commands/cv/face_vector.py b/megapixels/commands/cv/face_vector.py
index 203f73eb..cd816f9f 100644
--- a/megapixels/commands/cv/face_vector.py
+++ b/megapixels/commands/cv/face_vector.py
@@ -98,7 +98,7 @@ def cli(ctx, opt_fp_out, opt_dir_media, opt_data_store, opt_dataset, opt_size,
ds_file = df_record.loc[roi_index] # locate image meta
#ds_file = df_record.loc['index', image_index] # locate image meta
- fp_im = data_store.face_image(str(ds_file.subdir), str(ds_file.fn), str(ds_file.ext))
+ fp_im = data_store.face(str(ds_file.subdir), str(ds_file.fn), str(ds_file.ext))
im = cv.imread(fp_im)
# get bbox
x = df_img_group.x.values[0]