c++ - OpenCV IOS Swift 2 :How to implement the CvVideoCameraDelegate protocol process Video Frames -


okay i've been using opencv , want use ios swift 2.0... implemented , tested few functions/examples, worked fine! application in thought have live camera object detection. using cascade classifier this, thing have trouble setting cvvideocameradelegate protocol viewcontroller; i'm trying use tutrial/example set up.... i'm having trouble trying set in swift.... can please advise correct way set up?

the tutorial referencing how in objective-c. doing in swift little trickier. need set objective-c class camera's delegate, , swift code have communicate cvvideocamera object via objective-c class , possibly other helper objective-c classes. please see question/answer: video processing opencv in ios swift project


Comments

Popular posts from this blog

ios - RestKit 0.20 — CoreData: error: Failed to call designated initializer on NSManagedObject class (again) -

laravel - PDOException in Connector.php line 55: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) -

java - Digest auth with Spring Security using javaconfig -