- pyproject.toml: add [tool.ruff] config suppressing E402/W293 globally, F841/E741/E702 in tests, E741 in scripts - inventory.py: split semicolon import (E702) - recipes.py: fix logger -> log (F821 undefined name) - shopping.py: rename l -> lnk in list comprehension (E741) - format_conversion.py: noqa F841 on CUDA flag (used as future hook) - backfill_keywords.py: rename done -> _done (F841) - ingest_purplecarrot.py: drop == True comparison (E712) - Auto-fix: I001 import sorting, F401 unused imports across all files
13 lines
499 B
Python
13 lines
499 B
Python
# app/services/image_preprocessing/__init__.py
|
|
"""
|
|
Image preprocessing services for Kiwi.
|
|
Contains functions for image enhancement, format conversion, and perspective correction.
|
|
"""
|
|
|
|
from app.services.image_preprocessing.enhancement import correct_perspective, enhance_image
|
|
from app.services.image_preprocessing.format_conversion import (
|
|
convert_to_standard_format,
|
|
extract_metadata,
|
|
)
|
|
|
|
__all__ = ["convert_to_standard_format", "extract_metadata", "enhance_image", "correct_perspective"]
|