Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(249)

Issue 2455973007: FaceDetection: add support for <video> input (Closed)

Created:
4 years, 1 month ago by mcasas
Modified:
4 years, 1 month ago
Reviewers:
haraken, xianglu
CC:
chromium-reviews, blink-reviews, haraken
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

FaceDetection: add support for <video> input This CL adds support for <video> as input to detect(). Following canvas approach, what is done is to snap the current video frame and use for the detection process. - Some code is refactored in FaceDetector.cpp since, from a c++ perspective, an ImageBitmap and an HTMLVideoElement behave similarly. - some LayoutTests code is refactored since, from the JS/DOM perspective, an HMTLImageElement and an HTMLVideoElement behave similarly. BUG=659138 TEST=LayoutTests. Committed: https://crrev.com/18e8e2880dea2fa45b5edf85a418c12f53547f01 Cr-Commit-Position: refs/heads/master@{#429016}

Patch Set 1 : #

Total comments: 6

Patch Set 2 : xianglu@ comments #

Total comments: 4

Patch Set 3 : xianglu@s comments #

Messages

Total messages: 22 (12 generated)
mcasas
xianglu@ PTAL
4 years, 1 month ago (2016-10-29 00:11:47 UTC) #4
xianglu
https://codereview.chromium.org/2455973007/diff/20001/third_party/WebKit/LayoutTests/http/tests/shapedetection/shapedetection-cross-origin.html File third_party/WebKit/LayoutTests/http/tests/shapedetection/shapedetection-cross-origin.html (right): https://codereview.chromium.org/2455973007/diff/20001/third_party/WebKit/LayoutTests/http/tests/shapedetection/shapedetection-cross-origin.html#newcode62 third_party/WebKit/LayoutTests/http/tests/shapedetection/shapedetection-cross-origin.html:62: promise_test(function(t) { Consider creating ImageBitmap here and testing in ...
4 years, 1 month ago (2016-10-29 01:33:39 UTC) #5
mcasas
ptal https://codereview.chromium.org/2455973007/diff/20001/third_party/WebKit/LayoutTests/http/tests/shapedetection/shapedetection-cross-origin.html File third_party/WebKit/LayoutTests/http/tests/shapedetection/shapedetection-cross-origin.html (right): https://codereview.chromium.org/2455973007/diff/20001/third_party/WebKit/LayoutTests/http/tests/shapedetection/shapedetection-cross-origin.html#newcode62 third_party/WebKit/LayoutTests/http/tests/shapedetection/shapedetection-cross-origin.html:62: promise_test(function(t) { On 2016/10/29 01:33:39, xianglu wrote: > ...
4 years, 1 month ago (2016-10-31 16:36:51 UTC) #6
xianglu
lgtm with two minor comments. https://codereview.chromium.org/2455973007/diff/40001/third_party/WebKit/LayoutTests/http/tests/shapedetection/shapedetection-cross-origin.html File third_party/WebKit/LayoutTests/http/tests/shapedetection/shapedetection-cross-origin.html (right): https://codereview.chromium.org/2455973007/diff/40001/third_party/WebKit/LayoutTests/http/tests/shapedetection/shapedetection-cross-origin.html#newcode46 third_party/WebKit/LayoutTests/http/tests/shapedetection/shapedetection-cross-origin.html:46: image.onerror = () => ...
4 years, 1 month ago (2016-10-31 23:07:52 UTC) #7
mcasas
haraken@ RS plz modules/shapedetection https://codereview.chromium.org/2455973007/diff/40001/third_party/WebKit/LayoutTests/http/tests/shapedetection/shapedetection-cross-origin.html File third_party/WebKit/LayoutTests/http/tests/shapedetection/shapedetection-cross-origin.html (right): https://codereview.chromium.org/2455973007/diff/40001/third_party/WebKit/LayoutTests/http/tests/shapedetection/shapedetection-cross-origin.html#newcode46 third_party/WebKit/LayoutTests/http/tests/shapedetection/shapedetection-cross-origin.html:46: image.onerror = () => {}; ...
4 years, 1 month ago (2016-11-01 01:10:58 UTC) #9
haraken
Implementation-wise LGTM (Elliott might have some thoughts but he is ooo.)
4 years, 1 month ago (2016-11-01 04:08:57 UTC) #14
mcasas
On 2016/11/01 04:08:57, haraken wrote: > Implementation-wise LGTM > > (Elliott might have some thoughts ...
4 years, 1 month ago (2016-11-01 16:25:46 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2455973007/60001
4 years, 1 month ago (2016-11-01 16:26:09 UTC) #18
commit-bot: I haz the power
Failed to apply the patch. On branch working_branch Your branch is up-to-date with 'origin/refs/pending/heads/master'. nothing ...
4 years, 1 month ago (2016-11-01 16:33:16 UTC) #20
commit-bot: I haz the power
4 years, 1 month ago (2016-11-01 17:22:16 UTC) #22
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/18e8e2880dea2fa45b5edf85a418c12f53547f01
Cr-Commit-Position: refs/heads/master@{#429016}

Powered by Google App Engine
This is Rietveld 408576698