Ask Your Question

Revision history [back]

It seems that this enum was, for whatever reason, unnamed. Naming it as DetectorType solved my problem.

I really don't know why the enum wasn't originally named, but someone else had the same error. The link below leads to a Page Not Found, but someone else did ask the same question (and probably deleted the post after solving it).

https://stackoverflow.com/questions/52718292/error-c2039-detectortype-is-not-a-member-of-cvfastfeaturedetector

Thank you.