Porting benchmark-foreground-extract.py to python3 - with patch
To be applied to the master branch. 0001-Port-benchmark-foreground-extract.py-to-python-3.patch
Testing this requires downloading files from various places, so I am attaching a directory structure with three files for performing a single test, since each test requires these three different files, in this structure. Open this in your home directory.
I am not completely sure what the results are supposed to be, but I verified that this produces the same output (printouts and files) as the python2 version.
I hope I fixed the build files correctly, because I don't know how to verify them myself.
CC @Jehan