Page MenuHomePhabricator

Investigate speedup of face detection
Closed, ResolvedPublic1 Estimated Story Points

Description

On profiling article navigation, number one CPU use is face detection. Even though this is on a background thread, it could have user-facing performance implications. This operation should be offloaded to the GPU and set to lower quality of detection to determine if it has a measurable performance improvement.

Event Timeline

Testing Criteria:

  1. Visit the "Barack Obama" article on English Wikipedia
  2. Verify that the image at the top of the article shows Barack Obama's face centered in the frame.
  3. Repeat with other articles that contain images of people looking directly at the camera.

I'm testing on iOS 9.3.1 and Wikipedia 5.0.6 (906.1). Tested with articles Barack Obama, Donald Trump, Hillary Clinton, and Bernie Sanders. All of them show faces centered in the frame, so this is fixed.