An open API service indexing awesome lists of open source software.

https://github.com/osint-mindset/lingolens

Search in Google Lens in lingo! Multi language search of image with export in HTML report
https://github.com/osint-mindset/lingolens

geoint google-lens osint osint-tool reverse-image-search

Last synced: 3 months ago
JSON representation

Search in Google Lens in lingo! Multi language search of image with export in HTML report

Awesome Lists containing this project

README

          

# lingolens

Search in Google Lens in lingo!

Tired of irrelevant results of reverse image search? Yeah, search results can be VERY different because of your language environment!

Lingolens allows:
- search images in Google Lens with specific languages and countries, excluding known results
- generate one simple HTML report with all the results
- provide you a possibility to compare the target image with the result images
- a pretty user interface is supported!

The full list of supported languages and countries is [here](https://developers.google.com/custom-search/docs/xml_results_appendices?hl=en#interfaceLanguages).

## User interface

## Report example

Check example of search results: [report.html](report.html).

## Installation

Requests and bs4 are required for the CLI version of the tool. Streamlit is required for User Interface.

```sh
pip3 install -r requirements.txt
```

## Usage

### As a browser-based tool

```sh
streamlit run web_search.py
```

By default, Streamlit create a local application http://localhost:8501/. You can try to deploy it on cloud infrastructure, but Google will very quickly ask script for captcha.

Then just choose the appropriate languages (mandatory) and countries (optional) and upload your image.
To download the report click the button "Download report"

### As CLI tool

```sh
./lingolens.py example.jpg

Searching for example.jpg...
Searching in RU language...
Found 60 results
Searching in EN language...
Found 60 results
Skipped 1 already known images
Searching in PL language...
Found 60 results
Skipped 1 already known images
```
You will get the report file in the same folder.

Before you should specify languages in the file `langs.txt` in the following format:
```
ru
en
pl
```

## TODO

- [x] Customization of language list for a search (simple config file)
- [x] Language filter in a report
- [ ] Standalone exe-file for Windows
- [ ] Checkbox for switching to thumbnails instead of full images
- [ ] Validation of lang-country combinations

## Credits

Thanks to BLACK for inspiration and support!

Designed and developed for solving tasks on [OSINT investigation forum](https://t.me/+GMxoDCvLO0k0MWRi).