I am looking for a way to pack a binary image like the following one:
to something like:
in OpenCV, I know that there are many algorithms for rectangle packing but I am looking for the most efficient packing method for segments
I am looking for a way to pack a binary image like the following one:
to something like:
in OpenCV, I know that there are many algorithms for rectangle packing but I am looking for the most efficient packing method for segments