15,891,788 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by M@153 (Top 8 by date)
M@153
7-Oct-22 8:36am
View
Hii...I just saw what mistake I was doing, and fixed it by saving that ROI image and then calling the filename as suggested by you. Thank you for your valuable suggestion.
M@153
7-Oct-22 4:32am
View
Yeah...But I want only the cropped part (ROI3) as an input path for my ocr and it comes in the form of NumPy data. How to update the code to take it as input path?
M@153
23-Sep-22 7:34am
View
Sir, Thank you so much for ur valuable time and I tried ur code.
The output was- CR No 0.996245605687589.
But I want the CR number, i.e- 211022203481161 only, not the text. Kindly suggest the changes.
M@153
23-Sep-22 6:30am
View
I just need to extract the Cr no only, i.e 211022203481161, from the list. What changes need to be done in code?
M@153
23-Sep-22 6:01am
View
I have analysed the result- it always comes in nested list format given below-
[([[212, 26], [314, 26], [314, 50], [212, 50]],
'SCB MEDICAL',
0.998906268787747),
([[36, 56], [84, 56], [84, 80], [36, 80]], '6ein8', 0.19502338570146513),
([[303, 99], [335, 99], [335, 119], [303, 119]], 'OPD', 0.9985000298670181),
([[23, 119], [59, 119], [59, 135], [23, 135]], 'CR No', 0.996245605687589),
([[55, 105], [182, 105], [182, 134], [55, 134]],
'211022203481161',
0.9774761960967909),
([[373, 129], [395, 129], [395, 141], [373, 141]], 'Sal', 0.3229167512055152),
([[401, 123], [461, 123], [461, 141], [401, 141]],
'29 years/M',
0.760099694251474)]
So my concern is how to filter this list to get the CR No.
M@153
12-Sep-22 0:04am
View
It worked....Thank you for the solution.
M@153
9-Sep-22 6:44am
View
The first list- [[524.0, 793.0], [794.0, 793.0], [794.0, 830.0], [524.0, 830.0]].
These are the coordinates I want to extract.
M@153
9-Sep-22 5:41am
View
@Richard MacCutchan Hi, thank you for the solution, But I want to get the coordinates of the text-'Chief Complaints'. Kindly suggest any solution.
Show More