Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Gen2 text detection + text recognition demo #26

Merged
merged 24 commits into from
Jan 25, 2021
Merged

Conversation

VanDavv
Copy link
Contributor

@VanDavv VanDavv commented Dec 30, 2020

No description provided.

@VanDavv VanDavv changed the title Add text detection + text recognition demo Add Gen2 text detection + text recognition demo Dec 30, 2020
alex-luxonis and others added 22 commits January 14, 2021 11:18
- as `frame` was not reset, and the main loop runs non-blocking with `tryGet`,
it was pushing lots of repeated 'recognition' inference requests.

The inference time on device with current blobs:
- detection:   64ms
- recognition: 76ms
- sometimes it happens that a character may be repeated,
those need to be filtered out (based on previous char not blank)
It still worked somewhat previously, as the Blue plane was taken as input
Still the processing is not optimal, the detection network should be blocked
while a batch of recognition is running, and it isn't (would cause significant queuing)
link recognition NN to ImageManip
to allow running in parallel with detection (or on 2 threads -TODO),
as we are limited currently to 13 shaves.
From Rares
failed after latest updates
(parallelized, as blob was recompiled for 6 shaves)
@Luxonis-Brandon Luxonis-Brandon marked this pull request as ready for review January 25, 2021 18:49
@Luxonis-Brandon Luxonis-Brandon merged commit 9dbb2c1 into master Jan 25, 2021
@SzabolcsGergely SzabolcsGergely deleted the gen2_ocr branch February 19, 2021 12:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants