optimize OCR text detection in image in python

I currently am writing a program in python that takes an image that has a lot of text, extracts this to a .txt file, then compares the found words with a list of words in another file and creates some coordinates(according to the pixels) of the words found in the image, if an image is found a red square is drawn in the image. So far I have dealt with the coordinates part properly, the squares are drawn around the words and the coordinates given match very accurately.
My problem is the word detection: several words that are indeed in the image are NOT found by the ocr, I think the problem is because they are not written in the same line but rather they are inside several white spaces so the sentences are “cut” : example Journal Voucher -> Journal and several words later we find the Voucher word.
I did a test on the OneNote text detection function and I see that the results are very good, so I am convinced it is possible to get better results detecting the text.
I would appreciate any help improving the text detection( another library?, a different approach?) I have run out of idea on how to improve the text detection but it is imperative that I improve it otherwise the coordinates are not getting detected either.
this is the part of my code that handles the image:

from PIL import Image, ImageEnhance, ImageFilter, ImageOps
import pytesseract


pytesseract.pytesseract.tesseract_cmd = r'C:UsersxxxAppDataLocalProgramsTesseract-OCRtesseract.exe'
image_path = r'C:UsersxxxPicturesxxx.png'
image = Image.open(image_path)

#grayscale
image = image.convert('L')
#enhance contrast
image = ImageEnhance.Contrast(image).enhance(2)
#Sharpen the image
image = image.filter(ImageFilter.SHARPEN)
#reduce noise
image = image.filter(ImageFilter.MedianFilter(size=3))
#save the preprocessed image 
preprocessed_image_path = r'C:Usersxxxxxxpreprocessed_image.png'
image.save(preprocessed_image_path)
print(f"Preprocessed image saved to {preprocessed_image_path}")

#OCR 
custom_config = r'--oem 3 --psm 3'
ocr_text = pytesseract.image_to_string(image, config=custom_config)

#Save OCR text to a .txt file
txt_output_path = r'C:UsersxxxDocumentsocr_output.txt'
with open(txt_output_path, 'w', encoding='utf-8') as file:
    file.write(ocr_text)

print(f"OCR text saved to {txt_output_path}")

this is a small part of the image i am working with , the original image is much much larger but the format remains similar.
small image

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật