Live data from Hacker News

Show HN: Copyfish – Extract text from images, videos or PDF

addons.mozilla.org

11–20 of 93 posts

Re: Show HN: Copyfish – Extract text from images, videos or PDF

#12
post #4
post #3

This is cool! Wondering what you're using for OCR?

For developers: Copyfish is published under the GPL open-source license. As OCR software, it uses the free OCR API from https://ocr.space/

So, to answer the question mentioned above, the document storing the text is sent to an off-site server (https://ocr.space/) which does the OCR and returns the results.

Re: Show HN: Copyfish – Extract text from images, videos or PDF

#13
Hmm, I've seen a few apps and extensions like this before. I think Project Naptha was a heavily advertised one that did the same thing a few years back.

But how's the accuracy here? Cause when I used previous plugins for this functionality, I often found they'd return gibberish if the text was even slightly ambiguous looking in image form.

How does it compare to the other plugins doing the same thing here?

Re: Show HN: Copyfish – Extract text from images, videos or PDF

#14
post #8
post #2

On my phone so I don't have a chance to give it a shot, but what I find has been most irritating in the past about ocr is the accuracy. If your extension has better accuracy you might call that out.

I saw the heading on HN and thought "I wonder if it works with Chinese". I saw the first example screenshot on the page was a Chinese movie and thought "Great, it does" I saw the enlarged version of the screenshot and the Chinese subtitles contain multiple mistakes: "Nice try, but maybe not so great after all for the use case I'd personally be interested in".

Well, at least this confirms that the screenshots are not manipulated ;)

The tricky part for the OCR in this example is the diverse background, as the Chinese characters are directly inside the movie.

Your comment is interesting, as the original motivation for creating the Copyfish extension was to help me watch Chinese movies. So I can confirm that for this purpose, it works fine. Of course, once in a while it gets some characters wrong but it works ok with many movies.

Here is a screencast of Copyfish doing subtitle OCR:

https://www.youtube.com/watch?v=YNGkGWj8lA4

Re: Show HN: Copyfish – Extract text from images, videos or PDF

#15
post #13

Hmm, I've seen a few apps and extensions like this before. I think Project Naptha was a heavily advertised one that did the same thing a few years back. But how's the accuracy here? Cause when I used previous plugins for this functionality, I often found they'd return gibberish if the text was even slightly ambiguous looking in image form. How does it compare to the other plugins doing the same thing here?

The text on the linked page actually compares this to Project Naptha:

> For extension gurus: You might have heard of Project Naptha, a great addon that applies state-of-the-art computer vision algorithms on every image you see while browsing the web. Copyfish solves the same problem, but it takes a different user interface approach. It does not try to alter the website. Instead, it lets you mark the text in the image that you want to extract. As a result Copyfish works with every website, even videos and PDF documents.

Re: Show HN: Copyfish – Extract text from images, videos or PDF

#16
post #12
post #4

Earlier quoted context omitted.

For developers: Copyfish is published under the GPL open-source license. As OCR software, it uses the free OCR API from https://ocr.space/

So, to answer the question mentioned above, the document storing the text is sent to an off-site server ( https://ocr.space/ ) which does the OCR and returns the results.

And what lib is using ocr.space for OCR?

Re: Show HN: Copyfish – Extract text from images, videos or PDF

#17
post #14
post #8

Earlier quoted context omitted.

I saw the heading on HN and thought "I wonder if it works with Chinese". I saw the first example screenshot on the page was a Chinese movie and thought "Great, it does" I saw the enlarged version of the screenshot and the Chinese subtitles contain multiple mistakes: "Nice try, but maybe not so great after all for the use case I'd personally be interested in".

Well, at least this confirms that the screenshots are not manipulated ;) The tricky part for the OCR in this example is the diverse background, as the Chinese characters are directly inside the movie. Your comment is interesting, as the original motivation for creating the Copyfish extension was to help me watch Chinese movies. So I can confirm that for this purpose, it works fine. Of course, once in a while it gets…

> as the Chinese characters are directly inside the movie.

Yep, same with TV shows, and soft-copies of transcripts are difficult to come by, hence my interest in something like this.

I just watched the video. When used on a video does it keep a history of all OCRed text?

Finally, you might also like to try posting this on http://www.chinese-forums.com If it mostly works well for TV and films, I'm sure there will be quite a few people there who are interested in it.

Re: Show HN: Copyfish – Extract text from images, videos or PDF

#18
post #12

Earlier quoted context omitted.

So, to answer the question mentioned above, the document storing the text is sent to an off-site server ( https://ocr.space/ ) which does the OCR and returns the results.

And what lib is using ocr.space for OCR?

I suspect they're using Tesseract as they've written a gui for it ( https://ocr.space/blog/p/free-ocr-windows.html ) but there's no way to find more.
Post reply on HN