I have a startup project and it is about files. I tried to create an algorithm but I couldn't. I want to create an algorithm along with a database for these purposes
I have many file in my database (file or a relation to file doesn't matter) and when another file comes I want to compare that file with all of my files and if it has more than for example 80 % similarity I don't let that to save in my database else with that condition that it has less than 80 % similarity with all files I want to save it in my database.