寻找在数据库中搜索存储的照片与照片 [英] Looking for searching stored photos in database with photo

查看:104
本文介绍了寻找在数据库中搜索存储的照片与照片的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在那里,我正在寻找应用程序的例子可以从数据库中检索照片依赖于照片搜索,类似警察可疑应用程序



或我想要知道如何通过照片参数搜索照片

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

推荐答案

为你的照片指定一些参数,比如发色=黑色,脸形=圆形等存储文件位置每张照片旁边的参数作为数据库表中的记录。然后让用户通过指示这些参数的值来搜索照片。
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.


无法将数据库作为参数接受图像/照片,并匹配数据库中的图像/照片并返回那个图像或类似的图像。据我所知,数据库不提供任何类似的功能。如果你需要那么我想你需要写一些图像/模式识别程序。存在很多模式识别算法。

从数据库部分我们经常做的是在图像存在的表中创建标记类型字段。当图像上传到那里时,某些与该图像相关的关键字存储在那里。用户将根据该关键字搜索该图像。

示例:

您将Tiger图像上传到数据库。那么标签值可能是老虎,动物等。当用户搜索那个老虎图像时,他会在搜索框中输入老虎或动物关键词。根据该搜索关键字,您可以从数据库中检索该图像。
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.


这篇关于寻找在数据库中搜索存储的照片与照片的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆