Re: some questions

Henning müller <[email protected]> Fri, 13 May 2011 08:46:22 +0200
Newsgroups gmane.comp.gnu.gift.general
Message-ID <[email protected]>
Dear Zhigao,

GIFT is more a research project (that actually stopped several years 
ago) than a product, so there is indeed very little documentation.
I am not sure whether a detailed documentation exists, but there is 
really not too much that is needed.

All you need is the command for indexing a collection 
(gift-add-collection.pl) and the command for starting the server (gift). 
There are some old papers describing the techniques and also the 
communication protocol that you could have a look at.

The interfaces are also fairly straightforward to set up.

Cheers, Henning

On 5/12/11 4:05 PM, zhigao pu wrote:
> Hi Henning and all,
>
> I just built the major portion of gift-0.1.14 under Fedora 12 after many
> modifications in some of the source codes, though they are all minor
> compiling issues. I wonder whether this gift-0.1.14 is the best version
> we can get.
>
> I by now have not been able to know whether the gift built by me works
> or not. But I can not find a detailed documentation in the GIFT web
> site. Why is it so? I also can not built the doc portion of gift, and
> got the following errors.
>
> Can you please tell me where I can find detailed documentation for using
> GIFT, and also the PHP interface for integration PHP with GIFT? This is
> important for me.
>
> Thank you very much.
>
> Zhigao
>
> below is the error from building gift doc:
>
> make[1]: [system-doc] Error 1 (ignored)
> test "/usr/bin/doxygen" && /usr/bin/doxygen
> Warning: Tag `MAX_DOT_GRAPH_WIDTH' at line 122 of file Doxyfile has
> become obsolete.
> To avoid this warning please update your configuration file using
> "doxygen -u"
> Warning: Tag `MAX_DOT_GRAPH_HEIGHT' at line 123 of file Doxyfile has
> become obsolete.
> To avoid this warning please update your configuration file using
> "doxygen -u"
> Warning: Tag `CGI_NAME' at line 128 of file Doxyfile has become obsolete.
> To avoid this warning please update your configuration file using
> "doxygen -u"
> Warning: Tag `CGI_URL' at line 129 of file Doxyfile has become obsolete.
> To avoid this warning please update your configuration file using
> "doxygen -u"
> Warning: Tag `DOC_URL' at line 130 of file Doxyfile has become obsolete.
> To avoid this warning please update your configuration file using
> "doxygen -u"
> Warning: Tag `DOC_ABSPATH' at line 131 of file Doxyfile has become obsolete.
> To avoid this warning please update your configuration file using
> "doxygen -u"
> Warning: Tag `BIN_ABSPATH' at line 132 of file Doxyfile has become obsolete.
> To avoid this warning please update your configuration file using
> "doxygen -u"
> Warning: Tag `EXT_DOC_PATHS' at line 133 of file Doxyfile has become
> obsolete.
> To avoid this warning please update your configuration file using
> "doxygen -u"
> Error: tag HTML_HEADER: header file `HTML/DoxygenHeader.html' does not exist
> make[1]: [system-doc] Error 1 (ignored)
> test "/usr/bin/sgml2latex" && /usr/bin/sgml2latex --output=dvi
> configuring-and-hacking-the-gift.sgml
> Processing file configuring-and-hacking-the-gift.sgml
> /usr/bin/nsgmls:<OSFD>0:1:60:E: cannot open
> "/usr/share/sgml/dtd/linuxdoc.dtd" (No such file or directory)
> /usr/bin/nsgmls:<OSFD>0:1:60:E: DTD did not contain element declaration
> for document type name
> /usr/bin/nsgmls:<OSFD>0:3:10:E: element "ARTICLE" undefined
> /usr/bin/nsgmls:<OSFD>0:3:10:E: element "LINUXDOC" undefined
> /usr/bin/nsgmls:<OSFD>0:4:12:E: element "TITLE" undefined
> /usr/bin/nsgmls:<OSFD>0:5:13:E: element "AUTHOR" undefined
> /usr/bin/nsgmls:<OSFD>0:6:11:E: element "DATE" undefined
> /usr/bin/nsgmls:<OSFD>0:7:15:E: element "ABSTRACT" undefined
> /usr/bin/nsgmls:<OSFD>0:16:8:E: element "TOC" undefined
> /usr/bin/nsgmls:<OSFD>0:17:9:E: element "SECT" undefined
> /usr/bin/nsgmls:<OSFD>0:18:14:E: element "HEADING" undefined
> /usr/bin/nsgmls:<OSFD>0:19:8:E: element "P" undefined
> /usr/bin/nsgmls:<OSFD>0:19:12:E: element "EM" undefined
> /usr/bin/nsgmls:<OSFD>0:21:37:E: element "TT" undefined
> /usr/bin/nsgmls:<OSFD>0:24:8:E: element "P" undefined
> /usr/bin/nsgmls:<OSFD>0:29:9:E: element "SECT" undefined
> /usr/bin/nsgmls:<OSFD>0:30:14:E: element "HEADING" undefined
> ...
> ...
> # /usr/bin/nsgmls:<OSFD>0:1:60:E: cannot open
> "/usr/share/sgml/dtd/linuxdoc.dtd" (No such file or directory)
> bash: syntax error near unexpected token `('
> # /usr/bin/nsgmls:<OSFD>0:1:60:E: DTD did not contain element
> declaration for document type name
> bash: OSFD: No such file or directory
> # /usr/bin/nsgmls:<OSFD>0:3:10:E: element "ARTICLE" undefined
> bash: OSFD: No such file or directory
> # /usr/bin/nsgmls:<OSFD>0:3:10:E: element "LINUXDOC" undefined
> bash: OSFD: No such file or directory
> # /usr/bin/nsgmls:<OSFD>0:4:12:E: element "TITLE" undefined
> bash: OSFD: No such file or directory
> # /usr/bin/nsgmls:<OSFD>0:5:13:E: element "AUTHOR" undefined
> bash: OSFD: No such file or directory
> # /usr/bin/nsgmls:<OSFD>0:6:11:E: element "DATE" undefined
> bash: OSFD: No such file or directory
> # /usr/bin/nsgmls:<OSFD>0:7:15:E: element "ABSTRACT" undefined
> bash: OSFD: No such file or directory
> # /usr/bin/nsgmls:<OSFD>0:16:8:E: element "TOC" undefined
> bash: OSFD: No such file or directory
> ...
> ...
>
>
>
>  > Date: Thu, 12 May 2011 09:12:57 +0200
>  > From: [email protected]
>  > To: [email protected]; [email protected]
>  > Subject: Re: [help-GIFT] some questions
>  >
>  > Hi,
>  >
>  > using GIFT in a commercial project should be fine. If you modify it
>  > these modifications should be made available under GNU license as well.
>  > These are basically the constraints of the GNU license.
>  >
>  > The quality of GIFT depends very much on the images. GIFT uses global
>  > features and features in fixed regions, this means that if you compare
>  > tissue it should be fine, whereas for objects it might not work this
>  > well. You would need to check the performance for your types of images,
>  > I think.
>  >
>  > There are PHP interfaces, so the integration should be very easy.
>  >
>  > GIFT scales all images to 256x256 before it extracts features, so image
>  > size is not important. For up to 150'000 images there should also be no
>  > speed or size problem.
>  >
>  > Cheers, Henning
>  >
>  > On 5/11/11 11:55 AM, zhigao pu wrote:
>  > > Hi all,
>  > >
>  > > I am new to GIFT. I am thinking about using GIFT to build a visual
>  > > search engine for my commercial shopping web site. I would like to ask
>  > > the following questions:
>  > >
>  > > 1. Since GIFT is covered by GNU public license. Using it to provide
>  > > visual search for my commercial web site is allowable and do not
> need to
>  > > pay any royalty fees. Is this correct?
>  > >
>  > >
>  > > 2. My visual search is mainly on fashion products like clothes, shoes,
>  > > bags etc. Is GIFT a good candidate for doing this kind of visual
> search?
>  > > What's the recognition rate level for this kind of search?
>  > >
>  > >
>  > > 3. My site is built using PHP + mysql. Is that possible to integrate
>  > > GIFT with PHP? How to do it? any documentations?
>  > >
>  > >
>  > > 4. Is there any limitations for the size of the indexes of the images?
>  > > or say, can i make GIFT to be scalable?
>  > >
>  > >
>  > > Thanks a lot
>  > >
>  > > Zhigao
>  > >
>  > >
>  > >
>  > > _______________________________________________
>  > > help-GIFT mailing list
>  > > [email protected]
>  > > https://lists.gnu.org/mailman/listinfo/help-gift
>  >
>  > _______________________________________________
>  > help-GIFT mailing list
>  > [email protected]
>  > https://lists.gnu.org/mailman/listinfo/help-gift