annotate
annotate
Manual / batch annotation of captcha files.
Functions
| Name | Description |
|---|---|
| annotate | Annotate captcha files by appending _<label> to the filename. |
annotate
annotate.annotate(files, labels=None, path=None, rm_old=False, prompt=None)Annotate captcha files by appending _<label> to the filename.
Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| files | Union[PathLike, Sequence[PathLike]] | required | |
| labels | Optional[Sequence[str]] | for each file to obtain the label interactively. | None |
| path | Optional[PathLike] | None |
|
| rm_old | bool | False |
|
| prompt | Optional[Callable[[Path], str]] | Defaults to interactive input(). |
None |