I am trying to align the image using opencv, but got some errors when converting code from python to java. Anyone have ideas for that?
Reference: https://www.learnopencv.