Blame view

README.md 719 Bytes
5867e020   Peng Xu   update README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Image Library and Process System

### Prerequisites

- Scrapy, see more details on [this page](http://doc.scrapy.org/en/0.22/index.html)
- MongoDB, see more details on [this page](http://docs.mongodb.org/manual/)
- pymongo, see more details on [this page](http://api.mongodb.org/python/current/)

### Usage

#### Do Operations on Images

enter `python main.py` in command line

#### Crawl Images

change the allowed domain in `./crawler/crawler/spider/ImgCralwer.py` and then enter`scapy crawl img` in command line.

### Storage

#### Database

All the image infomation is stored into MongoDB at the default ip and port, namely `localhost:27017`.

#### Images

All the image are downloaded into **Images** directory.