Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Multilingual text rendering problem

Đang mở
#9 2 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
42/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
python

Hướng nghiên cứu

Start by reproducing the Chinese prompt in the original Hugging Face Space and comparing it with the MLX implementation. Inspect the text-conditioning and image-generation path for the script encoding or rendering behavior, using the provided prompt and images as the expected comparison. The issue does not identify specific files or tests, so first locate the relevant entry points; done means Chinese text renders correctly without breaking the existing English results.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

I'm testing Lens turbo using MLX, and it can basically reproduce the example images. However, when testing text rendering, I found that only a few Chinese characters are rendered correctly, (English characters render correctly). But the model can understand Chinese prompts.

To rule out any issues with my code implementation, I tested the original code on Spaces https://huggingface.co/spaces/multimodalart/lens , and the same problem occurred.

However, I've seen some example images of correctly rendered Chinese characters in the paper.

prompt: A charming flower shop storefront window with hand-painted white script lettering on the glass reading "每日鲜花" in flowing connected cursive with decorative swashes, roses and peonies arranged in buckets visible through the lettering, morning sunlight catching the painted letters

Image
Ngôn ngữ chính
Python
Star
2
Fork
0
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của microsoft/Lens

Tất cả issue của microsoft/Lens

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.