Closed Bug 1791113 Opened 2 years ago Closed 2 years ago

[foxfooding] misread text from image

Categories

(Core :: DOM: Core & HTML, defect)

Desktop
macOS
defect

Tracking

()

RESOLVED WONTFIX

People

(Reporter: pdehaan, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [foxfooding])

Attachments

(1 file)

Attached image issue-53.png

Firefox Version: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:106.0) Gecko/20100101 Firefox/106.0
Window Size (inner width and height): 1024x658
GitHub Username: @greenbrown

Steps to Reproduce

  1. enable about:config
    dom.text-recognition.enabled set to true
  2. search for poster with different font in an image
  3. copy text from image

Expected Behavior

misread some words

Actual Behavior

it should capture the word correctly

Attachment


Link to the original attachment

Not sure of the locale (or relevance), but that dialog might be Indonesian: https://pontoon.mozilla.org/id/all-projects/all-resources/?search=teks+disalin&status=translated&string=247283

Not sure what original site the reporter was looking at (Google Search results?); but I found the poster in a few places by searching "Burtons a delightful font duo". For example https://elements.envato.com/burtons-J8PW63 or https://www.fontspring.com/fonts/angga-mahardika/burtons
I'm still not sure what the second word in the header is.

Downloaded that font sample image and opened it in macOS Preview.app and was able to copy the text out and Preview seems to think the text is "Type Valies,", which I don't think is right either.

Uploaded image to https://www.imagetotext.info/ and it extracted:

Type Valves
PRESENT
BURTONS
"A Delightful Fort Dua"
TRD
BDG
MRK

Blocks: 1782574
Component: Foxfooding → DOM: Core & HTML
Product: Firefox → Core
Version: Firefox 106 → unspecified
See Also: → 1791127

I'm not sure there is anything actionable on this, as it's calling out the macOS text recognition APIs, which are fallible. The locale is used for the image based on the locale for the DOM element, so there can be some variation, and only a subset of locales are used with proper lexical support. Otherwise basic Latin scripts are used.

https://support.mozilla.org/en-US/kb/text-recognition

Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: