Implement optical character recognition (OCR) on Win 10 |
|||
Issue descriptionUsing Windows.Media.Ocr[1] COM interface with Windows Runtime C++ Template Library (WRL)[2] that is a template library that provides a low-level way to use Windows Runtime components. [1] https://docs.microsoft.com/en-us/uwp/api/windows.media.ocr [2] https://msdn.microsoft.com/en-us/library/hh438466.aspx
,
Dec 28 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/361e08a9b3a70514069bf4fd8d4e1b4d9270733e commit 361e08a9b3a70514069bf4fd8d4e1b4d9270733e Author: junweifu <junwei.fu@intel.com> Date: Thu Dec 28 00:35:17 2017 ShapeDetection: Recognize text asynchronously on windows 10 Create Windows bitmap from detected SkBitmap that is Rgba8/Bgra8 color type. Recognize text asynchronously with the created Windows bitmap, and pause incoming method call to prevent the Detect function from being called before the AsyncOperation completes. Add unittest to test the result of recognizing text. BUG= 790931 Cq-Include-Trybots: master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win10_chromium_x64_rel_ng Change-Id: I03156d7f9bdde009072811f28c1e029d1df4d378 Reviewed-on: https://chromium-review.googlesource.com/833529 Reviewed-by: Yuzhu Shen <yzshen@chromium.org> Reviewed-by: Greg Thompson <grt@chromium.org> Reviewed-by: Miguel Casas <mcasas@chromium.org> Reviewed-by: Reilly Grant <reillyg@chromium.org> Commit-Queue: Junwei Fu <junwei.fu@intel.com> Cr-Commit-Position: refs/heads/master@{#526256} [modify] https://crrev.com/361e08a9b3a70514069bf4fd8d4e1b4d9270733e/services/shape_detection/BUILD.gn [modify] https://crrev.com/361e08a9b3a70514069bf4fd8d4e1b4d9270733e/services/shape_detection/detection_utils_win.cc [modify] https://crrev.com/361e08a9b3a70514069bf4fd8d4e1b4d9270733e/services/shape_detection/detection_utils_win.h [modify] https://crrev.com/361e08a9b3a70514069bf4fd8d4e1b4d9270733e/services/shape_detection/face_detection_impl_win.cc [modify] https://crrev.com/361e08a9b3a70514069bf4fd8d4e1b4d9270733e/services/shape_detection/text_detection_impl_win.cc [modify] https://crrev.com/361e08a9b3a70514069bf4fd8d4e1b4d9270733e/services/shape_detection/text_detection_impl_win.h [modify] https://crrev.com/361e08a9b3a70514069bf4fd8d4e1b4d9270733e/services/shape_detection/text_detection_impl_win_unittest.cc [add] https://crrev.com/361e08a9b3a70514069bf4fd8d4e1b4d9270733e/services/test/data/text_detection.png
,
Jan 5 2018
,
Mar 1 2018
|
|||
►
Sign in to add a comment |
|||
Comment 1 by bugdroid1@chromium.org
, Dec 14 2017