Skip to content
Discussion options

You must be logged in to vote

actually i dont have that in hand.

but i have worked before in similar project that i used to preprocess the image (text).

Preprocessing:
Depending on the layout of the Chinese text (vertical or horizontal), you might need to perform additional preprocessing steps, such as rotating the image if the text is vertical. OpenCV provides functions to perform image rotations.

Rotate the image clockwise by 90 degrees

rotated_image = cv2.rotate(image, cv2.ROTATE_90_CLOCKWISE)

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by SWHL
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #10695 on May 25, 2024 04:42.