Model

initialize_model(model_name, num_points, …)

Initialize the vampire model.

build_models(img_info_df[, random_state])

Builds all models from the input info of image sets.

build_model(img_set_path, output_path, …)

Builds VAMPIRE model to one image set.

apply_models(img_info_df)

Applies all models from the input info of image sets.

apply_model(img_set_path, model_path, …)

Apply VAMPIRE model to one image set.

Implementation Details

_check_prohibited_char(text[, input_type])

Checks if path contains characters prohibited by the operating system.

_build_models_parse_df(img_info_df)

Checks if input DataFrame to build_models has the appropriate shape.

_build_models_parse_required_info(required_info)

Parse required columns of input DataFrame to build_models.

_apply_models_parse_df(img_info_df)

Checks if input DataFrame to apply_models has the appropriate shape.

_apply_models_parse_required_info(required_info)

Parse required columns of input DataFrame to apply_models.

_parse_filter_info(filter_info)

Parse optional column(s) of input DataFrame to build_models and apply_models.