opencv edge example
more samples
working samples