Skip to content

Primitives generation from CCs with geometry

Bryan Amador requested to merge line-prims-bryan into line-prims

The new primitives generation is consistent with the previous code. In file generate_data.py the new function get_label_map_geometric_primitives() is being called instead of the one base on pylena. You can test primitives generation using the old ./generate-data script. If you want to visualize the polygons, skeleton, and the final image with primitives: go to modules/generate_data/src/extract_lines.py and in function get_label_map_geometric_primitives() use get_new_components(image, visualize=True).

Merge request reports