B4J Question Need Advice

tufanv

Expert
Licensed User
Longtime User
Hello,

I never used b4j to create ui software. I want to achieve stg like this , is it possible please advice ..

The software will take screenshot every 5 seconds (not the screenshot of my own software ), stg like an OCR will read the contents of the screenshot and save the data to a file. Is this possible ?

Thanks
 

inakigarm

Well-Known Member
Licensed User
Longtime User
Hello,

I want to achieve stg like this , is it possible please advice ..

Sorry, don't understand the question...

B4J is very powerfull, easilly you can code to take a snapshot of a node every 5 seconds (with a timer) and display in a http connection (http server)
 
Upvote 0

tufanv

Expert
Licensed User
Longtime User
Sorry, don't understand the question...

B4J is very powerfull, easilly you can code to take a snapshot of a node every 5 seconds (with a timer) and display in a http connection (http server)
I dont want to display in a http connection. Lets say there is a website that lists bike prices. The website is open in a browser. App captures the computers screen , read bike prices from the image with a ocr and save it to a file.
 
Upvote 0

tufanv

Expert
Licensed User
Longtime User
Thanks for the answers =) html code is not readable much , thats why i need the screenshot. Last Question : Must i use node.screenshot or any other way ?
 
Upvote 0

tufanv

Expert
Licensed User
Longtime User
Thanks for the answers =) html code is not readable much , thats why i need the screenshot. Last Question : Must i use node.screenshot or any other way ?
By the way online api will probably have a limit so is there a local solution for the ocr without online apis ?
 
Upvote 0

inakigarm

Well-Known Member
Licensed User
Longtime User
The amount is not harcoded at html code so it's not possible to get this prices scrapping the web; saving to png and passing and online OCR works

Maybe you can use Tesseract OCR (offline) with jShell library (http://stackoverflow.com/questions/26251599/can-i-test-tesseract-ocr-in-windows-command-line)
 
Upvote 0

Roycefer

Well-Known Member
Licensed User
Longtime User
The jAWTRobot library allows you to take screenshots of arbitrary rectangles on any of the system's screens even if your app has no UI or is not in focus or is minimized.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…