snorkelflow.rich_docs.HVLines
- class snorkelflow.rich_docs.HVLines(dfs_horz, dfs_vert)
Bases:
Serializable
Serializable wrapper for lists of horizontal and vertical lines in image.
- __init__(dfs_horz, dfs_vert)
Methods
__init__
(dfs_horz, dfs_vert)deserialize
(serialized)Deserialize instance to string.
Serialize instance to string.
- classmethod deserialize(serialized)
Deserialize instance to string.
- Return type:
Any
- serialize()
Serialize instance to string.
- Return type:
str