Google Lens - Image Sources avatar
Google Lens - Image Sources
Try for free

No credit card required

View all Actors
Google Lens - Image Sources

Google Lens - Image Sources

useful-tools/google-lens-image-sources
Try for free

No credit card required

This actor allows you to find similar image sources via the Google Lens with some additional meta information like original image size on the source webpage.

This actor allows you to find similar image sources through the Google Lens. It is similar to Google Lens Actor, but this one can obtain up to 400 image sources (instead of original 60) with some additional meta information - like original image size on the webpage.

Input parameters

You can either use the user-friendly UI in Apify Console to set up your actor or input it directly via JSON. This Actor recognise these fields:

  • startUrls - URLs of images for which sources will be searched for (optional).
  • startKeyValueStoreId - ID od KeyValue store that includes images for which sources will be searched for (optional).

Example of input:

Finds similar image sources for two input images based on URL:

1{
2    "startUrls": [
3        {
4            "url": "https://thumbs.dreamstime.com/z/beagle-dog-isolated-white-background-purebred-103538194.jpg"
5        },
6        {
7            "url": "https://images.megapixl.com/4976/49769857.jpg"
8        }
9    ],
10    "startKeyValueStoreId": "Kgf654s..."
11}

Example of Output Dataset format

1[
2
3    {
4        "imageSourceUrl": "https://thumbs.dreamstime.com/z/beagle-dog-isolated-white-background-purebred-103538194.jpg",
5        "similarImages": [
6            {
7                "pageLink": "https://www.istockphoto...",
8                "domain": "istockphoto...",
9                "title": "Beagle Dog Isolated On White Background Stock Photo - Download Image Now - Beagle, Cut Out, Animal...",
10                "originalWidth": 1024,
11                "originalHeight": 720,
12                "date": "2017-11-10",
13                "thumbnailUrl": "https://encrypted-tbn0.gstatic.com/images?..."
14            },
15            ...
16        ]
17    },
18    {
19        "imageSourceUrl": "https://images.megapixl.com/4976/49769857.jpg",
20        "similarImages": [
21            {
22                "pageLink": "https://www.123rf...",
23                "domain": "123rf.com",
24                "title": "Gray Cat Sitting Isolated On White Background Stock Photo, Picture And Royalty Free Image. Image 42253965.",
25                "originalWidth": 1068,
26                "originalHeight": 1300,
27                "thumbnailUrl": "https://encrypted-tbn0.gstatic.com/images?..."
28            },
29            ...
30        ]
31    }
32]

Your feedback

We're always working on improving the performance of our actors. So if you've got any technical feedback on Storage Scraper, or simply found a bug, please create an issue on the Actor's Issues tab in Apify Console.

Developer
Maintained by Community
Actor metrics
  • 7 monthly users
  • 98.8% runs succeeded
  • Created in Jul 2023
  • Modified 7 months ago
Categories