Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8906321
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T02:37:25+00:00 2026-06-15T02:37:25+00:00

i am implementing sliding windows technique to develop photo OCR,i.e.,a rectangule of a specific

  • 0

i am implementing sliding windows technique to develop photo OCR,i.e.,a rectangule of a specific size is cut from the picture and checked if it contains text or not. Then again the rectangle is shifted by some pixels. But this sliding windows technique is taking a lot of time. For example to process a picture of 1366×768 it takes 6 hours with a step size of 2 and window size of 20×25. Is there any other technique which could be helpful or how to speed up the process?

i am coding in java.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T02:37:26+00:00Added an answer on June 15, 2026 at 2:37 am

    It is hard to give a specific recommendation without knowing any details of your algorithm/code. There are several potential performance improvements you could consider:

    1. Minimize disk I/O and cache misses. You stated that a rectangle is “cut from the picture”. If each “cut” is a separate read from disk, it is very inefficient and would contribute significantly to execution time. When you shift your window (by 2 pixels, it appears), most of the data in the new window is the same so try to avoid re-reading that data as much as possible.
    2. Decrease your window size or increase your step size. This obviously affects your result but depending on the size of the characters you are trying to OCR, it might be an option.
    3. If you are applying a convolution filter to do OCR, consider doing fast convolution via a 2D FFT of the image data.
    4. Multithread your application, if it isn’t already. While your problem is not embarrassingly parallel, it could be fairly easily multithreaded.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have the following HTML for buttons implementing sliding doors technique that look fine
I am implementing a sliding window for a trivial protocol. I was implementing the
I am currently working with sliding tabs. I am implementing the hover function to
Implementing slides.js on our site, I seem to have somehow caused the actual sliding
Dear all I am implementing ALESSANDRO CRUGNOLA custom sliding drawer. I want it to
I'm developing an Android app implementing the a tabhost, viewpager, and a top-side sliding
Implementing a custom Dependency Property on a Framework Element object causes my Visual Studio
Implementing the ScriptControlClass was extremely easy, unfortunately the side effects with the language implementation
implementing publishActivity in PHP using the REST API using this code: $activity = array(
Implementing a custom membership provider, there are certain properties such as MinRequiredPasswordLength that only

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.