Skip to content

Kevinwenya/opensr

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Open Sketch Recognize

This is another opensse demo, supported by opensse.

Demo - SketchRecognizeDemo

Try via web

See more search results, click demo videos.

demo video

Database

Sketch database comes from Mathias Eitz's paper How Do Humans Sketch Objects? ACM Transactions on Graphics (Proc. SIGGRAPH 2012).

How to use

First, you need config opensse, and include you opensse path to SketchRecognizeDemo.pro file.

include(/Users/zdd/Projects/opensse/opensse.pri)

And then, You need config params.json file depend on you path. All data are shared on my Dropbox.

{
    "searcher":
    {
        "indexfile": "/Users/zdd/Projects/opensr/data/sketchs_index_file",
        "filelist": "/Users/zdd/Projects/opensr/data/sketchs_filelist",
        "vocabulary": "/Users/zdd/Projects/opensr/data/vocabulary",
        "rootdir": "",
        "results_num": "1",
        "views_num": "1"
    }
}

Last, read your json file:

boost::property_tree::read_json("/Users/zdd/Projects/opensr/data/params.json", params); 

Thanks

License

Code is under the Apache License, Version 2.0.

Donations

I accept tips through Alipay. Scan below qr code to donate:

Alipay.

Contact me

If you have any question or idea, please email to me.

Releases

No releases published

Packages

No packages published

Languages

  • C++ 87.5%
  • QMake 5.6%
  • Prolog 3.5%
  • Shell 3.4%