I'm trying to make an iOS app that can detect Aruco markers. So, I downloaded opencv2.framework for iOS, but I realized that Aruco is not included in that. Following this page, I compiled manually adding opencv_contrib (https://github.com/opencv/opencv_contrib.git
) module folder into the opencv module folder. This process worked fine and in Xcode I can access Aruco functions. But I also get this strange error:
functional-style cast xcode error
I've tried debugging and runtime v is passed as a double variable. The explicit cast (double)v
is not valid too. How can I fix this?