I think you'll have a hard time getting a definitive answer on your specific scenario until you implement yourself.
There's a bunch of different views on Python versus Java i.e. Python vs. Java performance (runtime speed) - Stack Overflow . If you take that thread at facevalue, Java is faster that Python.
It shouldn't be too difficult to convert your Python code across to Java to achieve the same thing.