Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Friday, August 14, 2015 9:11:20 AM(UTC)

NathanM  
Guest

Groups: Guests
Posts: 3,040

Was thanked: 1 time(s) in 1 post(s)

Attached is a project that uses the callback filter to capture frames and then OCR it in a separate thread. Each time you click capture it will save a screenshot in the UI thread and spawn a new thread to OCR the frame you captured.

I used LEADTOOLS v19 visual studios 2013 dotnet 3.5 Win32 for the is project.

This project only allows mpg files to be played, but that can be easily modified.

To use:
1. Select a video
2. Click snapshot & OCR
3. observe the bin/debug/images folder for output
File Attachment(s):
NetCallbackOcr.zip (983kb) downloaded 175 time(s).
 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Friday, January 4, 2019 5:57:39 PM(UTC)
Josh Clark

Groups: Registered, Tech Support, Administrators
Posts: 33

Was thanked: 4 time(s) in 4 post(s)

I have updated this project to use our version 20 toolkit and .NET framework 4.0 using Visual Studio 2017. I have also allowed the open file dialog to allow other video formats as input such as .avi and .mp4 (previously the open file dialog only allowed .mpg files). This project now builds to C:\LEADTOOLS 20\Bin\Dotnet4\x64 (Win32 for 32 bit) and outputs to C:\temp\images.

You can download the updated project here:
File Attachment(s):
NetCallbackOcr.zip (13kb) downloaded 50 time(s).
Josh Clark
Developer Support Engineer
LEAD Technologies, Inc.

LEAD Logo
 
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2019, Yet Another Forum.NET
This page was generated in 0.130 seconds.