开源图像检索项目PicSearch is now an open source project

Brief introduction

PicSearch is an image search engine based on Convolutional Neural Network (CNN) feature. It's a very simple demo and it just showes the performance of CNN for image retrieval. The demo site can access todemo.

点击查看演示视频

Download the code and dataset

The PicSearch is running on Caltech256 image dataset, which contains 29780 images with 256 categories. Before running the project, you must download the following code and dataset:

  1. PicSearch code.
  2. The features extract by CNN on Caltech256 256feat2048Norml.mat.
  3. The thumbnails of Caltech256. The thumbnails are just for showing the search result, you can replace it by the original image dataset.

Note: to test it on other dataset, you must extract the features first. You can use CNN-for-Image-Retrievalto extract features on other dataset.

How to run the code

The code is written by Python, and the web server is cherrypy, so It's very easy to understand the code and to run the code. The structure of PicSearch is as follows:

├── 256feat2048Norml.mat
├── bootstrap
├── favicon.ico
├── searchEnginePython.py
├── service-server.conf
├── service.conf
├── style.css
└── thumbnails

To run the code successfully, You are suggested to following the below steps:

  • set the setting in service.conf:
[global]
server.socket_host = "127.0.0.1"
server.socket_port = 8080
server.thread_pool = 10
tools.sessions.on = True

[/]
tools.staticdir.root = "I:\PicSearch"

[/]
tools.staticdir.on = True
tools.staticdir.dir = ''

Changes the path of tools.staticdir.root to your path.

  • run the server:
python searchEnginePython.py

Then open your browse and put the site: 127.0.0.1.

That's all. Enjoy yourself! If you have problem, you can open an issue on CNN-Web-Demo-for-Image-Retrieval.

from: http://yongyuan.name/blog/picsearch-is-now-an-open-source-project.html
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值