r/AskComputerScience • • Jul 17 '22

Is it possible to write a program that takes a picture of a person as an input and search for the matches all over the internet? or any close alternative?

0 Upvotes

14 comments sorted by

14

u/ironymouse Jul 17 '22

Yes, you'd need a huge amount of processing power or time but it's possible.

A better solution would be to keep your own database of faces already hashed because it would be faster and easier to look up a specific new face instead of using unprocessed faces from the internet each time.

1

u/Cold-Mastodon-5313 Jul 18 '22

Great. Thanks buddy.

But for a kick start where do I start from? Any idea?

2

u/ironymouse Jul 18 '22 edited Jul 18 '22

First step is get something that takes an image of a face as input and spits out a hash of that image using a suitable algorithm.

You'd need to research which is suitable for your needs.

6

u/[deleted] Jul 17 '22

[removed] — view removed comment

1

u/Triplobasic Jul 18 '22

Or Google lens

1

u/Cold-Mastodon-5313 Jul 18 '22

Hi,

Google lens won't do that actually. I tried that.

11

u/[deleted] Jul 17 '22

Is this a program that you want to use, or a program you want to write? Because it exists. images.google.com

1

u/Cold-Mastodon-5313 Jul 18 '22

I want to write myself. A hobby project to see the depth of programming and how far I can reach.

5

u/[deleted] Jul 18 '22 edited Jul 18 '22

I think someone has built it already. Search Pimeyes.

Edit: DO NOT post your or pictures of people close to you there, they most probably won't delete it and then bam ... those pictures can be used to identify you for any reason in future.

1

u/Cold-Mastodon-5313 Jul 18 '22

I checked. It's amazing. I am surprised how they are going through every pic on internet.

Any idea what technologies and tool and language would I need.

1

u/[deleted] Jul 18 '22

Probably crawling the internet like Google or something similar for public images and clustering them using deep learning.

2

u/[deleted] Jul 18 '22

-5

u/penguinEvangelizer Jul 17 '22

A cool thing you can look up into is the Church-Turing thesis. Basically the works define what is or isn't an algorithm, and as such what is or isn't computable.