I needed --remove-background so I re-implemented this feature myself.
https://github.com/ocrmypdf/OCRmyPDF
This feature requires Leptonica, an image processing and analysis library. You have to build it from source, which is why it was removed from OCRmyPDF.
