New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 762172 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Sep 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android , Mac
Pri: 3
Type: Bug

Blocking:
issue 659138



Sign in to add a comment

Extend TextDetector API to retrieve detectedText corner points

Project Member Reported by mcasas@chromium.org, Sep 5 2017

Issue description

Blocking: 659138
Components: Blink>ImageCapture
Labels: ShapeDetection OS-Android
Status: Available (was: avila)
Can i take this issue? thanks.
Owner: junwei...@intel.com
Status: Assigned (was: Available)
junwei.fu@: please go ahead, I assigned the bug to you.
As a possibly unnecessary reminder, please add Layout tests
and unittests where appropriate :-)
Project Member

Comment 4 by bugdroid1@chromium.org, Sep 15 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/86bc62c9debaf42c81cf69c48b58420fa3dfd04e

commit 86bc62c9debaf42c81cf69c48b58420fa3dfd04e
Author: junweifu <junwei.fu@intel.com>
Date: Fri Sep 15 02:16:51 2017

ShapeDetection: Extend DetectedText API to retrieve texts corner points

Add |cornerPoints| attribute in DetectedText.idl that is 4 corner points
in clockwise direction starting with top-left and is not necessarily a
rectangle due to possible perspective distortions.

The |cornerPoints| associated code is copy-pasted from the QR/barcode
detection parts.

BUG= 762172 

Cq-Include-Trybots: master.tryserver.chromium.mac:mac_optional_gpu_tests_rel
Change-Id: Ic3872e637f04bc1d337398531afef8c7f0dfd4b3
Reviewed-on: https://chromium-review.googlesource.com/658564
Reviewed-by: Oliver Chang <ochang@chromium.org>
Reviewed-by: Reilly Grant <reillyg@chromium.org>
Reviewed-by: Miguel Casas <mcasas@chromium.org>
Commit-Queue: Junwei Fu <junwei.fu@intel.com>
Cr-Commit-Position: refs/heads/master@{#502133}
[modify] https://crrev.com/86bc62c9debaf42c81cf69c48b58420fa3dfd04e/services/shape_detection/android/java/src/org/chromium/shape_detection/TextDetectionImpl.java
[modify] https://crrev.com/86bc62c9debaf42c81cf69c48b58420fa3dfd04e/services/shape_detection/android/javatests/src/org/chromium/shape_detection/TextDetectionImplTest.java
[modify] https://crrev.com/86bc62c9debaf42c81cf69c48b58420fa3dfd04e/services/shape_detection/public/interfaces/textdetection.mojom
[modify] https://crrev.com/86bc62c9debaf42c81cf69c48b58420fa3dfd04e/services/shape_detection/text_detection_impl_mac.mm
[modify] https://crrev.com/86bc62c9debaf42c81cf69c48b58420fa3dfd04e/third_party/WebKit/LayoutTests/shapedetection/detection-HTMLImageElement.html
[modify] https://crrev.com/86bc62c9debaf42c81cf69c48b58420fa3dfd04e/third_party/WebKit/LayoutTests/shapedetection/resources/mock-textdetection.js
[modify] https://crrev.com/86bc62c9debaf42c81cf69c48b58420fa3dfd04e/third_party/WebKit/LayoutTests/webexposed/global-interface-listing-expected.txt
[modify] https://crrev.com/86bc62c9debaf42c81cf69c48b58420fa3dfd04e/third_party/WebKit/Source/modules/shapedetection/DetectedText.cpp
[modify] https://crrev.com/86bc62c9debaf42c81cf69c48b58420fa3dfd04e/third_party/WebKit/Source/modules/shapedetection/DetectedText.h
[modify] https://crrev.com/86bc62c9debaf42c81cf69c48b58420fa3dfd04e/third_party/WebKit/Source/modules/shapedetection/DetectedText.idl
[modify] https://crrev.com/86bc62c9debaf42c81cf69c48b58420fa3dfd04e/third_party/WebKit/Source/modules/shapedetection/TextDetector.cpp

Comment 5 by junwei...@intel.com, Sep 15 2017

Status: Fixed (was: Assigned)

Sign in to add a comment