Skip classification of images with css filters in dark mode.
CSS filters such as invert, greyscale etc. are not available in DarkModeImageClassifier where the extraction of features happens. So we end up extracting the features on the original image which is not what is seen on the user's screen. Until we have a way to take the css filters into consideration while extracting the features, it's safer to just skip the feature extraction altogether when such filters do exist. Bug: 1007925 Change-Id: I1b082a628709178e64aed488bb4656dd7044386a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1824051Reviewed-by:Stephen Chenney <schenney@chromium.org> Reviewed-by:
Aran Gilman <gilmanmh@google.com> Reviewed-by:
Prashant Nevase <prashant.n@samsung.com> Commit-Queue: Varun Chowdhary Paturi <v.paturi@samsung.com> Cr-Commit-Position: refs/heads/master@{#702739}
Showing
Please register or sign in to comment