Extended the detected lines to infinit. Failed attempts shows the kalman
filter in Java is not available and jni part is useless in this
situation.