First time here? Check out the FAQ!
answered 2016-10-07 14:47:17 -0600
you seem to use code from opencv2.4, but use opencv3, the api has changed somewhat over the years.
please have a look at the opencv3 FAST tutorial for the correct version.