First time here? Check out the FAQ!
answered 2015-12-14 05:25:18 -0600
Mat lines = new Mat();
should be
MatOfFloat4 lines = new MatOfFloat4();