Ru:
Добавлено и изменено:
- **Асинхронный API**: Библиотека теперь полностью асинхронна для повышения производительности и эффективности. При использовании программного API необходимо использовать `async` и `await`. https://github.com/bropines/chrome-lens-py/issues/8
- **Rate Limiting**: Добавлена возможность управления частотой запросов с помощью параметра `rate_limit_rpm` для CLI и API, а также через конфигурационный файл.
- **Поддержка PIL Image и NumPy массивов**: Теперь API принимает на вход объекты `PIL.Image.Image` и массивы `numpy.ndarray` в дополнение к путям к файлам и URL. Это позволяет интегрировать библиотеку с Pillow, OpenCV и другими библиотеками обработки изображений. https://github.com/bropines/chrome-lens-py/issues/9
En:
Added and changed:
- **Asynchronous API**: The library is now fully asynchronous for improved performance and efficiency. When using the programmatic API, `async` and `await` must be used. https://github.com/bropines/chrome-lens-py/issues/8
- **Rate Limiting**: Added the ability to control request frequency using the `rate_limit_rpm` parameter for CLI and API, and through the configuration file.
- **PIL Image and NumPy array support**: The API now accepts `PIL.Image.Image` objects and `numpy.ndarray` arrays as input, in addition to file paths and URLs. This enables integration with Pillow, OpenCV, and other image processing libraries. https://github.com/bropines/chrome-lens-py/issues/9