Commit 5867e020fe4cf9cf63bb00ef6ec5d610e1ad7d70
1 parent
1b2988df
Exists in
master
update README
Showing
1 changed file
with
27 additions
and
0 deletions
Show diff stats
README.md
| ... | ... | @@ -0,0 +1,27 @@ |
| 1 | +# Image Library and Process System | |
| 2 | + | |
| 3 | +### Prerequisites | |
| 4 | + | |
| 5 | +- Scrapy, see more details on [this page](http://doc.scrapy.org/en/0.22/index.html) | |
| 6 | +- MongoDB, see more details on [this page](http://docs.mongodb.org/manual/) | |
| 7 | +- pymongo, see more details on [this page](http://api.mongodb.org/python/current/) | |
| 8 | + | |
| 9 | +### Usage | |
| 10 | + | |
| 11 | +#### Do Operations on Images | |
| 12 | + | |
| 13 | +enter `python main.py` in command line | |
| 14 | + | |
| 15 | +#### Crawl Images | |
| 16 | + | |
| 17 | +change the allowed domain in `./crawler/crawler/spider/ImgCralwer.py` and then enter`scapy crawl img` in command line. | |
| 18 | + | |
| 19 | +### Storage | |
| 20 | + | |
| 21 | +#### Database | |
| 22 | + | |
| 23 | +All the image infomation is stored into MongoDB at the default ip and port, namely `localhost:27017`. | |
| 24 | + | |
| 25 | +#### Images | |
| 26 | + | |
| 27 | +All the image are downloaded into **Images** directory. | ... | ... |