It may appear that including the following script in the repository is not compatible with the GPL license of it. https://github.com/opencv/opencv/blob/ad2f5ccc66d70e3611122ae26002d93e0b0c4de4/doc/pattern_tools/svgfig.py