Extracting Text from Images (Part - 1)
Image တွေထဲက စာသားတွေကို Extract လုပ်မှာဖြစ်ပါတယ်။
OCR Optical character recognition or optical character reader (OCR) အနေနဲ့ကတော့ Tesseract OCR ကိုအသုံးပြု
သွားမှာဖြစ်ပါတယ်။
Tesseract OCR ကတော့ Printed Text တွေအတွက်ပဲ ဦးတည်ပြီးလုပ်ထားတာဖြစ်လို Hand-Written Text တွေကို Extract
လုပ်လိုတော့ အဆင်ပြေမှာမဟုတ်ပါ။
Hand-Written Text တွေအတွက်တော့ အခြားသေား OCR တစ်ခုခုကိုသုံးတာ ပိုအဆင်ပြေနိုင်မှာပါ။
ယခု Tutorial Serie မှာတော့ Tesseract OCR ကို VBA နှဲ ဘယ်လိုအသုံးပြုနိုင်မလဲဆိုတဲ့ နည်းလမ်းအချိုကိုမျှဝေပေးမှာဖြစ်ပါတယ်။
Part - 1
- Installing Tesseract OCR On Window Machine
- Running the very First Command
Excel VBA For All Telegram Channel -
https://t.me/EXCEL_VBA_FOR_ALL
File To Download -
https://drive.google.com/file/d/1Ss-EBrCZ0IWX-5_HVzmrjiOZSBDeonY4/view?usp=sharing
Tesseract OCR Main Repo -
https://github.com/tesseract-ocr/tesseract
Excel VBA For All
To solve the excel problems and much more .
Finding The Last One..(ဂွကျသော)
ရောင်းရင်းတို့အနေဖြင့် အောက်ပါ Excel Function တွေနဲ့ Familiar ဖြစ်ပါသလား။
မသိသေးဘူးဆိုလေ့လာကြည့်ပါ။
သိရင်လည်း ထပ်လေ့လာပါ။ တစ်ခုခုရမယ်တော့ထင်ပါတယ်။ (နောင်တ.....)
အဆင်ပြေပါစေဗျာ အားလုံး.....
=MATCH(lookup_value,lookup_array,match_type)
=VLOOKUP(lookup_value,table_array,col_index_num,range_lookup)
=INDEX(array,row_num,column_num)
=ROW(reference)
=MAX(number1,number2,...)
=AGGREGATE(function_num,options,array,k)
=ISTEXT(value)
=TYPE(value)
File to Download -
https://drive.google.com/file/d/1DrEcwD2O20lziDmYJXWpiBDhjLqOCoUG/view?usp=sharing
ဂွကျသော......... (Convert Row Data to Column Data)
သင့်အနေဖြင့် အောက်က Excel Functions & Features သိထားပြီးပြီလား။
Paste Special/Transpose
=INDIRECT(ref_text,A1)
=COUNTA(value1,value2,...)
=COLUMN(reference)
=TRANSPOSE(array)
သိပြီးသားဆိုပါက အစပိုင်း ၃ မိနစ်စာလောက်ကို ကြည့်ပြီး ဂွကျတဲ့ ပြဿနာကို ကြိုးစားဖြေရှင်းကြည့်ဖို့ တိုက်တွန်းပါတယ်။ သင့်အနေဖြင့် အခြားသောနည်းလမ်းရှိပါကလည်း Share ထားခဲ့ပါ။ မသိသေးဘူးဆိုပါက လေ့လာကြည့်ပါ။
တစ်ခုခုတော့ရလိမ့်မယ်လို့ ထင်ပါတယ်။
Exercise File -
https://drive.google.com/file/d/1E_sRPzMxoGUaS1qhhQOBs6KvDB3WZyVT/view?usp=sharing
All the best to you.
တူညီမှုများကိုရှာဖွေးပြီး၊ မတူညီသည်များကိုရွေးထုတ်ခြင်းအနုပညာ
အားလုံးပဲ မင်္ဂလာပါ။ အဆင်မပြေကြဘူးမလား။
All the best to you all.............
Using Web APIs (Ep - 2) - The End
ဇာတ်သိမ်းပိုင်းဖြစ်ပါတယ်ခင်ဗျာ။
ခင်ဗျားတို့အတွက် တစ်စုံတစ်ခုအကျိုးရှိတယ်ဆို Like & Share လုပ်ဖို့ မတွန့်တိုပါနဲ့။
လိုတာယူ ပိုတာချန်ထားခဲ့ပါ။
File To Download(Currency Exchange Rate) - https://drive.google.com/file/d/1RfV0nXYATHphwFiNgm0gu7X7UtNlzv67/view?usp=sharing
Official Website of Central Bank of Myanmar - https://forex.cbm.gov.mm/index.php/fxrate
Json Convetor For VBA - https://github.com/VBA-tools/VBA-JSON
HTTP response status codes - https://developer.mozilla.org/en-US/docs/Web/HTTP/Status
World Time Zone - https://gisgeography.com/world-time-zone-map/
World Data Info - https://www.worlddata.info/timezones/mmt-myanmar-time.php #:~:text=Myanmar%20Time%20is%20consistent%20with,an%20associated%20daylight%20saving%20time.
Using Web APIs (Ep - 1)
ခင်ဗျားတို့အတွက် တစ်ခုခုတော့ရမယ်လို့ မျှော်လင့်ပါတယ်။
Official Website of Central Bank of Myanmar -
https://forex.cbm.gov.mm/index.php/fxrate
Json Convetor For VBA -
https://github.com/VBA-tools/VBA-JSON
HTTP response status codes -
https://developer.mozilla.org/en-US/docs/Web/HTTP/Status
တောင်သူလယ်သမားနေ့ ရယ်ပါ။
Automate Certificate Generating
အကယ်၍ အသင်လူသား ယခုကဲ့သို့ Certificate ထုတ်နိုင်ပြီဆိုလျှင်ဖြင့်
အလားတူ နောက်ထပ် ....................စတာတွေလုပ်နိုင်မှာပါ။ လုပ်ချင်မှလည်းလုပ်နိုင်မှာပါ။
All in all, it depends on you.
Step1 - Loop through list of names and populate certificate template
Step2 - Create Word application and open certificate sample document
Step3 - Save certificate as PDF with player name as filename
Step4 - Close Word document and application
Step5 - Display completion message
Step6 - Check if folder exists and create if it doesn't
Episode 3.3(the end) - Applying the episode 2 technique to multiple workbooks
ယခင်အပိုင်းများကို မကြည့်ရသေးပါက-
Episode 1 - Protect Cells with formulas manually https://fb.watch/iVJekl2TAZ/
Episode 2 - Protect Cells with formulas by writing VBA Code https://fb.watch/iVJg-M1WOR/
Episode 3.1 - Applying the episode 2 technique to multiple workbooks https://fb.watch/iVJidIS5ot/
Episode 3.2 - Applying the episode 2 technique to multiple workbooks https://fb.watch/iVJkGPFZg2/
Episode 3.2 - Applying the episode 2 technique to multiple workbooks
နောက်တစ်ပိုင်းဆိုပြီးပါပြီ...
statements
method
function
Each loop
Returning a value
A report
Episode 3.1 - Applying the episode 2 technique to multiple workbooks
ဒီတစ်ခါကတေ့ မှန်းချက်နဲ့ နှမ်းထွက်ကိုက်ချက်။
ပထမက ဒီ Topic ကို အပိုင်း (၃) ပိုင်းခွဲပြီး အပြီးလုပ်မယ်လိုရည်ရွယ်ထားတာပါ။
ခုတော့ လက်တွေမှာ ထင်ထားတာထက်ပို ရှည်သွားပါတယ်။ ဒါ့ကြောင့် Episode 4 ထပ်လုပ်ရမလိုတောင်ဖြစ်လာပါတယ်။ ဒါပေမဲ့ ကျွန်တော်ကတော့ ကျွန်တော်ပဲဖြစ်တာကြောင့် ၀ိနည်းလွှတ်အောင်
Episode 3.1, Episode 3.2 ဆိုပြီး ဆက်ကိုင်သွားပါမယ်ခင်ဗျာ။
# Error handling
# The With statement
# Unprotect method
# Locked property
# SpecialCells method
# FormulaHidden property
# Protect method
# Function procedure
Episode 2 - Protect Cells with formulas by writing VBA Code
ခုဒုတိယပိုင်းမှာတော့ ယခင် Episode 1 က Manually Protect Fromula Cells လုပ်ခဲ့တာကို VBA Programming သုံးပြီးတော့ ဘယ်လို Efficient ဖြစ်အောင်၊ Time Saving ဖြစ်အောင် Step by step ဆွေးနွေးသွားမှာဖြစ်ပါတယ်။
တောင်းဆိုချက် - နောက်ထပ် သင်ခန်းစာအသစ်တွေတင်တိုင်းသိနိုင်အောင် Follow လုပ်ထားကြရန်၊
မိမိကိုယ်တိုင် (သို့မဟုတ်) တစ်ခြားသူအတွက် တစ်စုံတစ်ရာ အကျိုးရှိနိုင်မယ်လို့ ယူဆရပါက အပမ်းမကြီးဘူးဆိုလျှင်ဖြင့် Like & Share လုပ်ပေးကြပါရန်
မှတ်ချက်- လူတိုင်းအတွက်တော့ အကျိုးမရှိနိုင်ဘူးလေနော့။
ကျန်တာတော့ခင်ဗျားတို့သဘောပဲဗျာ။
Video ထဲမှာ Mistake တစ်ခုပါသွားပါတယ်။ argetSh.Cells.Locked = True က targetSh.Cells.Locked = True ဖြစ်ရမှာပါ။ t ကျန်သွားပါတယ်။
ကဲအားလုံးပဲ နေကောင်းကြပါရဲ့လားခင်ဗျာ။ ကျုပ်ကတော့ နေကောင်းပါတယ်။ ဒီတစ်ခါမှာတော့ formulas ရှိတဲ့ cell တွေကို ဘယ်လို protect လုပ်ရသလဲဆိတာနဲ့ပတ်သက်ပြီးဆွေးနွေးသွာမှာဖြစ်ပါတယ်။
အခုအကြောင်းအရာကို ဆွေးနွေးရာမှာ အနည်းငယ် ရှည်ကြာနိုင်သည့်အတွက်ကြောင့် အောက်ပါအတိုင်း အပိုင်းသုံးပိုင်းခွဲပြီး ဆွေနွေးသွားမှာဖြစ်ပါတယ်။
Episode 1 - Protect Cells with formulas manually
ပထမအပိုင်းမှာကတော့ အားလုံးတွက် အဆင်ပြေနိုင်မယ့်နည်းလမ်းဖြစ်တဲ့ formulas ပါတဲ့ cell တွေကို ဘယ်လို manually protect လုပ်ရမလဲဆိုတာကို ဆွေနွေးသွားပါမယ်။
Episode 2 - Protect Cells with formulas by writing VBA Code
ဒုတိယအပိုင်းမှာတော့ ယခင် အပိုင်း (၁) မှာ manual protect လုပ်ခဲ့တာကို အချိန်ကုန်သက်သာစေရန်နှင့် VBA Programming သုံးပြီးရေးသွားမှာဖြစ်လို့ Coding ပိုင်းကိုလေ့လာနိင်မှာဖြစ်ပါတယ်။
Episode 3 - Applying the episode 2 technique to multiple workbooks
နောက်ဆုံးအနေနဲ့ကတော့ ဒုတိယပိုင်းမှာ ရေးထားတဲ့ Program ကို အဆင့်မြှင့်ပြီး ရာချီရှိတဲ့ ဖိုင်တွေရဲ့ formula Cells တွေကို အချိန်တိုအတွင်း Automatically protect လုပ်သွားမှဖြစ်ပါတယ်။
ဒါ့ကြောင် ကိုရီးယားဇာတ်လမ်းတွဲလို့ ကြည့်ကောင်းလိမ့်မည်မဟုတ်ကြောင်းကိုလည်း ဒီနေရာမှာပဲ အာမခံလိုက်ပါတယ်။
အားလုံး ဒါပဲ။
Excel Function Bible - https://www.rondebruin.nl/efb/efb.htm
Click here to claim your Sponsored Listing.
Location
Category
Contact the school
Telephone
Website
Address
Yangon