Implementation of computer vision algorithms in Java