• myhloli's avatar
    feat(language-detection): improve language detection accuracy for specific languages · 356cb1f2
    myhloli authored
    - Add separate models for Chinese/Japanese and English/French/German detection
    - Implement mode-based detection to use appropriate models for different languages
    - Update language detection process to use higher DPI for better accuracy
    - Modify model initialization and prediction logic to support new language-specific models
    356cb1f2
utils.py 3.02 KB