简体   繁体   中英

OpenCV on iOS: binary size, load time, speed etc.

I used to use OpenCV a lot, and cross-complied it on an iPhone 4. It was slow. Is it improved now? Any optimization for iOS, like NEON support? How many MB will my final binary increase? And is there any noticeable slowing down in app loading?

I plan to use some algorithms not available in CoreImage and GPUImage.

OpenCV now provides a pre-compiled framework for iOS (updated for iOS 7 and ARM64 recently), so you don't need to cross-compile anymore.

I can't answer you for the binary size increase. For the performance part, OpenCV functions now support GCD multithreading for speed up. I don't think that OpenCV binaries do actually include NEON optimization, but there is a recent book about using OpenCV on iOS that includes a few examples of how to do it yourself.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM