fzliu
/
sign-and-scan
copied
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Readme
Files and versions
190 lines
4.2 KiB
190 lines
4.2 KiB
name: 'sign-and-scan'
|
|
operators:
|
|
-
|
|
name: '_start_op'
|
|
function: '_start_op'
|
|
init_args:
|
|
inputs:
|
|
-
|
|
df: '_start_df'
|
|
name: 'doc_path'
|
|
col: 0
|
|
-
|
|
df: '_start_df'
|
|
name: 'out_path'
|
|
col: 1
|
|
-
|
|
df: '_start_df'
|
|
name: 'sig_path'
|
|
col: 2
|
|
-
|
|
df: '_start_df'
|
|
name: 'x_off'
|
|
col: 3
|
|
-
|
|
df: '_start_df'
|
|
name: 'y_off'
|
|
col: 4
|
|
outputs:
|
|
-
|
|
df: 'inputs'
|
|
iter_info:
|
|
type: map
|
|
-
|
|
name: 'compute_sig_feats'
|
|
function: 'fzliu/opencv-sift'
|
|
tag: 'main'
|
|
init_args:
|
|
contrast_thresh: '0.1'
|
|
inputs:
|
|
-
|
|
df: 'inputs'
|
|
name: 'sig_path'
|
|
col: 0
|
|
outputs:
|
|
-
|
|
df: 'sig_img_kps'
|
|
iter_info:
|
|
type: map
|
|
-
|
|
name: 'compute_signature_kps'
|
|
function: 'fzliu/opencv-sift'
|
|
tag: 'main'
|
|
init_args:
|
|
contrast_thresh: '0.1'
|
|
inputs:
|
|
-
|
|
df: 'inputs'
|
|
name: 'path'
|
|
col: 3
|
|
outputs:
|
|
-
|
|
df: 'sig_img_kps'
|
|
iter_info:
|
|
type: map
|
|
-
|
|
name: 'crop_signature_from_keypoints'
|
|
function: 'fzliu/crop-signature-from-keypoints'
|
|
tag: 'main'
|
|
init_args:
|
|
inputs:
|
|
-
|
|
df: 'inputs'
|
|
name: 'path'
|
|
col: 3
|
|
-
|
|
df: 'sig_img_kps'
|
|
name: 'feats'
|
|
col: 0
|
|
outputs:
|
|
-
|
|
df: 'sig_img_crop'
|
|
iter_info:
|
|
type: map
|
|
-
|
|
name: 'emulate_sign_and_scan'
|
|
function: 'fzliu/emulate-sign-and-scan'
|
|
tag: 'main'
|
|
init_args:
|
|
inputs:
|
|
-
|
|
df: 'inputs'
|
|
name: 'doc_path'
|
|
col: 0
|
|
-
|
|
df: 'inputs'
|
|
name: 'out_path'
|
|
col: 1
|
|
-
|
|
df: 'sig_img_crop'
|
|
name: ''
|
|
col: 0
|
|
-
|
|
df: 'inputs'
|
|
name: 'x_off'
|
|
col: 3
|
|
-
|
|
df: 'inputs'
|
|
name: 'y_off'
|
|
col: 4
|
|
|
|
outputs:
|
|
-
|
|
df: 'out_path'
|
|
iter_info:
|
|
type: map
|
|
-
|
|
name: '_end_op'
|
|
function: '_end_op'
|
|
init_args:
|
|
inputs:
|
|
-
|
|
df: 'out_path'
|
|
name: 'out_path'
|
|
col: 0
|
|
outputs:
|
|
-
|
|
df: '_end_df'
|
|
iter_info:
|
|
type: map
|
|
dataframes:
|
|
-
|
|
name: '_start_df'
|
|
columns:
|
|
-
|
|
name: 'doc_path'
|
|
vtype: 'str'
|
|
-
|
|
name: 'out_path'
|
|
vtype: 'str'
|
|
-
|
|
name: 'sig_path'
|
|
vtype: 'str'
|
|
-
|
|
name: 'x_off'
|
|
vtype: 'int'
|
|
-
|
|
name: 'y_off'
|
|
vtype: 'int'
|
|
-
|
|
name: 'inputs'
|
|
columns:
|
|
-
|
|
name: 'doc_path'
|
|
vtype: 'str'
|
|
-
|
|
name: 'out_path'
|
|
vtype: 'str'
|
|
-
|
|
name: 'sig_path'
|
|
vtype: 'str'
|
|
-
|
|
name: 'x_off'
|
|
vtype: 'int'
|
|
-
|
|
name: 'y_off'
|
|
vtype: 'int'
|
|
-
|
|
name: 'sig_img_kps'
|
|
columns:
|
|
-
|
|
name: 'kps'
|
|
vtype: 'list'
|
|
-
|
|
name: 'sig_img_crop'
|
|
columns:
|
|
-
|
|
name: 'sig_img'
|
|
vtype: 'towhee.types.Image'
|
|
-
|
|
name: 'out_path'
|
|
columns:
|
|
-
|
|
name: 'out_path'
|
|
vtype: 'str'
|
|
-
|
|
name: '_end_df'
|
|
columns:
|
|
-
|
|
name: 'out_path'
|
|
vtype: 'str'
|