Canny edge detection on iOS

Does anyone have an example of Canny edge detection on iOS?

I’ve been trying to get it going for a couple of days and just keep hitting walls. None of the examples I can find are iOS friendly and I’m keep going backwards

  • I tried it in ofxOpenCV which doesn’t seem to have a smooth - but also seems limited longer term for what I want to do. Gave up on this quite early.
  • I’ve tried using ofxCv but it keeps crashing
  • I’m back to trying to standard openCV method… not getting anywhere fast.

Anyone have a snippet of code to do this? - preferably either on standard openCV or ofxCv but within iOS.


not exactly openCV/ofxCV based solution but maybe Bard Larson’s GPUImage will suit your needs: