Ask Your Question

Revision history [back]

Face recognition performance for iPhone 4 versus iPhone 5s

Hello.

I'm working on porting a face detection/recognition program using OpenCV code to iOS and Mac OS X. The exact same program, fed the exact same data, works on the order of 10 times faster on a brand-new iPhone 5s than it does on my old iPhone 4 (less than a second versus several seconds to identify someone). I suspect the dramatic difference in performance may be due to hardware improvements: the iPhone 4 has a 32-bit, 1-core processor running at 800 MHz and 512 MB RAM, while the iPhone 5s has a 2-core, 64-bit processor running at 1.3 GHz and 1 GB RAM, not to mention a lot of cache memory. Other people around here find a performance boost this dramatic hard to explain by hardware improvements alone. The performance of the software on other platforms tested, (Windows, Android, and Mac OS X) has been speedy. Does anyone out there what might be causing such a radical difference in performance? The only alternative ideas I have to Moore's law being responsible are 1) I did something to the software of the iPhone 4 which screwed it up and 2) the hardware of the iPhone 4 is deteriorating even faster than I thought and somehow affecting performance. Thanks in advance for any help anyone can provide.

Aaron Solomon Adelman