Doesn't compile but it's the halfway converted OpenCV stuff