Downloads · 30 days
0
budaya-lab/Jawi-layout-YOLO-v1
Jawi-layout-YOLO-v1 is a machine learning model from budaya-lab. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
An YOLO-based model for detecting different regions in historical newspapers written in Malay in the Jawi script.
Downloads · 30 days
0
Access
Public
Updated Dec 10, 2025
Repo size
24.9 MB
Likes
0
Public
Click a slice to open those files.
.pt24.9 MB · 100%
From the Hugging Face model README
An YOLO-based model for detecting different regions in historical newspapers written in Malay in the Jawi script.
Note: You must scale down the size of the image for higher accuracy. Ideally the image sizes should scaled down be around 400 × 600 to 900 x 1100 for both models. Images too large (ie above 2000x2000) will produce erroneous results.
A helper function for image scaling would be as follows:
def scale_down_image(image, scale_factor=1/4):
resized_img = image.resize((int(image.width * scale_factor), int(image.height * scale_factor)))
return resized_img
Classes are as follows:
calligraphy
footer
header
image
row
text