Click here to Skip to main content
15,887,175 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi there , i'm looking for example of application can retrieve photo from database depend on search by photo , similar like police suspect applications

or i want to know how to search for photo by photo parameter
Posted

Assign some parameters to your photos, say hair color = black, face shape = round etc. store the file location of each photo along side its parameters as a record in your database table. then let users search the photos by indicating the values for these parameters.
 
Share this answer
 
It is not possible to database where you accept image/photo as argument and matches your image/photo from the database and return that image or similar images. As per I know database not provide any function like that. If you need to then i guess some kind of image/pattern recognition program you need to write. There are so many pattern recognition algorithm exists.
From database part what often we do that is create a tag type field in the table where image exists. Some kind of keywords related to that image store there when image is uploaded there. User will search that image based on that keywords.
Example:
You upload an Tiger image to your database. then tag value might be tiger, animal etc. When user search that tiger image then he will enter either tiger or animal keyword in search box. Based on that search keyword you retrieve that image from your database.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900