Replies: 6 comments 1 reply
-
I haven't tried using this with OpenCV, but in principle it should be possible. Inference speed will depend a lot on the hardware you run it on. On my 4-year old Intel laptop it takes about 1s end-to-end for a typical image. If using the Rust library you can run just the text detection, which will be quicker (~200ms) and then run recognition only if something is seen. |
Beta Was this translation helpful? Give feedback.
-
On my 4-year old Intel laptop it takes about 1s end-to-end for a typical image
That's quite impressive :)
If using the Rust library you can run just the text detection step more quickly (~200ms) and then run recognition only if something is seen.
Sorry I didn't quite understand, are you saying don't run it as a software, but instead use it as a library and incorporate it into my opencv code?
…On Wednesday, May 8th, 2024 at 11:56 PM, Robert Knight ***@***.***> wrote:
I haven't tried using this with OpenCV, but in principle it should be possible. Inference speed will depend a lot on the hardware you run it on. On my 4-year old Intel laptop it takes about 1s end-to-end for a typical image. If using the Rust library you can run just the text detection step more quickly (~200ms) and then run recognition only if something is seen.
—
Reply to this email directly, [view it on GitHub](#67 (comment)), or [unsubscribe](https://github.com/notifications/unsubscribe-auth/AG7P2BXZXT72REQMTLH7KKLZBIVJZAVCNFSM6AAAAABHM7VKPCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBQGYZTQOJTGE).
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
You can do either. The command-line tool has the advantage you can call it from any tool which can run a program. The library gives you more flexibility to eg. run only detection, or process a batch of images at once etc. |
Beta Was this translation helpful? Give feedback.
-
@robertknight Hey mate, so what is meant by "run only detection"? What else does the program do? |
Beta Was this translation helpful? Give feedback.
-
If you run the |
Beta Was this translation helpful? Give feedback.
-
So I decided to try. And started with modifying example. It ended up with the same code, but
I do not know why, but results(e.g. text position) is never absolutely the same as with example approach. It always differ by a few pixels. About text recognition. It recgnizes existing text as good as example version does. But when recognizing unexisting text(this happened to me for both example and opencv), model generates different results |
Beta Was this translation helpful? Give feedback.
-
can this work with opencv, the idea is that have a camera and in real time it can detect words by in real time covnerting words into text?
Beta Was this translation helpful? Give feedback.
All reactions