Forum Moderators: coopster

Message Too Old, No Replies

Content based search

         

hsceeus

11:16 am on Mar 20, 2006 (gmt 0)

10+ Year Member



Can anyone know how to did content based search.. i want to search a content that consist of images... Can anyone give me some idea... thanks

omoutop

11:30 am on Mar 20, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



If the image names are stored in a database, use the LIKE syntax to your query (WHERE image_name LIKE '%".$search_string."%').

Similar process when image names are stored in a text file.

If you wanna search a folder of images (and generally any filename) have a look here...
[phpbuilder.com...]

hsceeus

11:39 am on Mar 20, 2006 (gmt 0)

10+ Year Member



i don't want to did the search engine just based on the text based to did the search image.. what i want is search using image based...

for example, i have a picture which inside consist of car, house, cat and sun. When i did the search for car, the search engine will search for the picture that have car inside that particular image.

i hope u can give me some idea about this.. thanks

omoutop

12:06 pm on Mar 20, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



hm, tricky one.....

one way is to catalog your images in a db and add keywords in each image...perform search in keywords, return image as result

another way is to rename images according to keywords (green_car_infront_of_blue_house.jpg)

Cant think of a better way for what u ask

hsceeus

5:33 am on Mar 21, 2006 (gmt 0)

10+ Year Member



is there any method that i can used to search based on the every pixel in the content image?

omoutop

7:03 am on Mar 21, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



So you wanna perform a "search by pixel"?

If such a method exists it must be part of an A.I. :)
The programm "reads" every pixel and when it finds a pattern that match the search criteria it shows the image. Of course the pattern/image detected is free of any size/color/background restrictions.

I dont think it can be done at the moment.... then again i have seen some java detection scripts (but for the 3 basic shapes only - triangle, square, circle - and in a 2 color image).