Well.... I had to work really hard to make it work.
Ru:
Добавлено и изменено:
- Полностью обновлены методы взаимодействия с апи (ввиду перехода Lens на новый эндпоинт)
- Добавлен вывод угла в градусах.
- Внезапно гугл научился сразу на одном изображении определять несколько языков. https://github.com/bropines/chrome-lens-py/issues/15
- Немного рефакторинга.
- Переписанный с помощью GEMINI 2.5 readme. Так же это солнышко помогало мне в адаптации нового апи.
- Увы, увеличена задержка ответа. К сожалению, бутылочное горлышко на стороне LENS
К следующему апдейту будут добавлены:
- Скачивание переведенной картинки(если мне не будет лень)
- Раздельное отображение языков разных сегментов (в основном для ваших проектов)
- Может что-то еще выдумаю...
En:
Added and changed:
- The API interaction methods have been completely updated (due to the transition of Lens to a new endpoint)
- Added angle output in degrees.
- Suddenly, Google has learned to identify multiple languages in one image at once. https://github.com/bropines/chrome-lens-py/issues/15
- A bit of refactoring.
- Rewritten using GEMINI 2.5 readme. This sunshine also helped me in adapting the new API.
- Unfortunately, the response delay has been increased. Unfortunately, the bottleneck is on the LENS side.
The following will be added to the next update:
- Download the translated image (if I'm not too lazy)
- Separate display of languages of different segments (mainly for your projects)
- Maybe I'll invent something else...