Bug
Importing the backend module (import api.main) can crash Python in certain environments.
This happens because:
file_manipulator.py imports commonforms at import-time
commonforms pulls heavy dependencies (ultralytics → cv2 → numpy)
- These dependencies may fail due to missing native libraries or incompatible environments
As a result, the API fails to start even if template functionality is never used.
Steps to Reproduce
- Clone the repository
- Set up a minimal Python environment without full CV dependencies
- Run: