Skip to content
This repository has been archived by the owner on Oct 9, 2021. It is now read-only.

Face processing is occurring multiple times. #29

Open
BeauNouvelle opened this issue Sep 24, 2018 · 1 comment
Open

Face processing is occurring multiple times. #29

BeauNouvelle opened this issue Sep 24, 2018 · 1 comment

Comments

@BeauNouvelle
Copy link
Owner

  1. When focusOnFaces is set.
  2. When layoutSubviews is called.

Face detection is already quite expensive on resources, and to double up on that just isn't acceptable, especially with the number of apps out there now using this library.

@K4stor
Copy link

K4stor commented Oct 12, 2020

Hello,

I checked the code, and why do you call setImageAndFocusOnFaces in layoutSubviews in the first place ?

Regasrds

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants