edit readme about optimization conflicts with opencv

This commit is contained in:
SeungJu Lim 2025-02-02 21:05:39 +09:00
parent b6a578468d
commit 1bc79f2515
1 changed files with 5 additions and 0 deletions

View File

@ -12,6 +12,11 @@ This project is a code for Ebook snipping and PDF converting
## Installation
1. Clone this repository to your local machine.
## Warn
- Keep `optimize = 0` in the `.spec` file to avoid conflicts with OpenCV when using PyInstaller.
- Setting `optimize = 2` may cause runtime errors related to `numpy` and `opencv-python` due to compatibility issues with compiled C extensions.
- This ensures better stability, especially when working with image processing libraries like OpenCV and NumPy.
## Contributing
Feel free to contribute to this project by opening issues or pull requests. Any feedback or suggestions are welcome!