charles69729798/new_nougat

Smart PDF to LaTeX converter with GUI

Python

0

0 commits

updated Jul 19, 2025

See the code

README

SmartNougat - PDF/DOCX to LaTeX Converter

πŸš€ μ™„μ „νžˆ μž‘λ™ν•˜λŠ” PDF/DOCX λ¬Έμ„œμ˜ μˆ˜μ‹μ„ LaTeX둜 λ³€ν™˜ν•˜λŠ” λ„κ΅¬μž…λ‹ˆλ‹€.

🎯 μ£Όμš” κΈ°λŠ₯

  • YOLO v8 μˆ˜μ‹ 감지: λ¬Έμ„œμ—μ„œ μˆ˜μ‹μ„ μžλ™μœΌλ‘œ 감지
  • Nougat LaTeX λ³€ν™˜: κ°μ§€λœ μˆ˜μ‹μ„ μ •ν™•ν•œ LaTeX μ½”λ“œλ‘œ λ³€ν™˜
  • 독립 μ‹€ν–‰ν˜• HTML: λͺ¨λ“  이미지와 MathJaxκ°€ λ‚΄μž₯된 μ™„μ „ν•œ HTML 파일 생성
  • GUI & CLI: μ‚¬μš©ν•˜κΈ° μ‰¬μš΄ κ·Έλž˜ν”½ μΈν„°νŽ˜μ΄μŠ€μ™€ λͺ…령쀄 도ꡬ
  • μ™„μ „ν•œ μ˜€ν”„λΌμΈ μž‘λ™: 인터넷 μ—°κ²° 없이도 λͺ¨λ“  κΈ°λŠ₯ μ‚¬μš© κ°€λŠ₯

Requirements

  • Windows 10/11 (64-bit)
  • 8GB RAM minimum
  • 5GB free disk space
  • Internet connection for first-time setup

Installation

Step 1: Download and Install

# Download from GitHub
https://github.com/charles69729798/new_nougat/archive/refs/heads/main.zip

# Extract and run
install.bat

Step 2: Model Setup

Option A: Automatic Download (if internet works)

download_models.bat

Option B: Manual Download (if automatic fails)

  1. Download all files from: https://huggingface.co/Norm/nougat-latex-base/tree/main
  2. Save to models folder
  3. Run:
setup_downloaded_models.bat

Step 3: Run SmartNougat

  • Desktop shortcut: SmartNougat
  • Or run: run_smartnougat.bat

File Structure

new_nougat/
β”œβ”€β”€ install.bat                    # Main installer
β”œβ”€β”€ download_models.bat            # Model downloader
β”œβ”€β”€ setup_downloaded_models.bat    # Offline model setup
β”œβ”€β”€ run_smartnougat.bat           # Run SmartNougat
β”œβ”€β”€ src/                          # Source code
β”œβ”€β”€ scripts/                      # Helper scripts
└── models/                       # AI models (created during setup)

Troubleshooting

Installation Issues

  • Run as Administrator
  • Check internet connection
  • Ensure 5GB free space

Model Download Issues

If automatic download fails:

  1. Manually download from Hugging Face
  2. Place files in models folder
  3. Run setup_downloaded_models.bat

Runtime Issues

  • Delete venv folder and reinstall
  • Check if all model files are present
  • Ensure enough RAM (4GB+ free)

Output Location

%USERPROFILE%\Documents\Nougat_result\

License

Uses open-source components. See individual licenses.

charles69729798/new_nougat

Smart PDF to LaTeX converter with GUI

Python

0

0 commits

updated Jul 19, 2025

See the code

README

SmartNougat - PDF/DOCX to LaTeX Converter

πŸš€ μ™„μ „νžˆ μž‘λ™ν•˜λŠ” PDF/DOCX λ¬Έμ„œμ˜ μˆ˜μ‹μ„ LaTeX둜 λ³€ν™˜ν•˜λŠ” λ„κ΅¬μž…λ‹ˆλ‹€.

🎯 μ£Όμš” κΈ°λŠ₯

  • YOLO v8 μˆ˜μ‹ 감지: λ¬Έμ„œμ—μ„œ μˆ˜μ‹μ„ μžλ™μœΌλ‘œ 감지
  • Nougat LaTeX λ³€ν™˜: κ°μ§€λœ μˆ˜μ‹μ„ μ •ν™•ν•œ LaTeX μ½”λ“œλ‘œ λ³€ν™˜
  • 독립 μ‹€ν–‰ν˜• HTML: λͺ¨λ“  이미지와 MathJaxκ°€ λ‚΄μž₯된 μ™„μ „ν•œ HTML 파일 생성
  • GUI & CLI: μ‚¬μš©ν•˜κΈ° μ‰¬μš΄ κ·Έλž˜ν”½ μΈν„°νŽ˜μ΄μŠ€μ™€ λͺ…령쀄 도ꡬ
  • μ™„μ „ν•œ μ˜€ν”„λΌμΈ μž‘λ™: 인터넷 μ—°κ²° 없이도 λͺ¨λ“  κΈ°λŠ₯ μ‚¬μš© κ°€λŠ₯

Requirements

  • Windows 10/11 (64-bit)
  • 8GB RAM minimum
  • 5GB free disk space
  • Internet connection for first-time setup

Installation

Step 1: Download and Install

# Download from GitHub
https://github.com/charles69729798/new_nougat/archive/refs/heads/main.zip

# Extract and run
install.bat

Step 2: Model Setup

Option A: Automatic Download (if internet works)

download_models.bat

Option B: Manual Download (if automatic fails)

  1. Download all files from: https://huggingface.co/Norm/nougat-latex-base/tree/main
  2. Save to models folder
  3. Run:
setup_downloaded_models.bat

Step 3: Run SmartNougat

  • Desktop shortcut: SmartNougat
  • Or run: run_smartnougat.bat

File Structure

new_nougat/
β”œβ”€β”€ install.bat                    # Main installer
β”œβ”€β”€ download_models.bat            # Model downloader
β”œβ”€β”€ setup_downloaded_models.bat    # Offline model setup
β”œβ”€β”€ run_smartnougat.bat           # Run SmartNougat
β”œβ”€β”€ src/                          # Source code
β”œβ”€β”€ scripts/                      # Helper scripts
└── models/                       # AI models (created during setup)

Troubleshooting

Installation Issues

  • Run as Administrator
  • Check internet connection
  • Ensure 5GB free space

Model Download Issues

If automatic download fails:

  1. Manually download from Hugging Face
  2. Place files in models folder
  3. Run setup_downloaded_models.bat

Runtime Issues

  • Delete venv folder and reinstall
  • Check if all model files are present
  • Ensure enough RAM (4GB+ free)

Output Location

%USERPROFILE%\Documents\Nougat_result\

License

Uses open-source components. See individual licenses.