【正文】
用戶均可以分享整個圖庫里的所有圖片,并通過收藏按鈕可以在自己的圖集中看到所喜歡的圖片。涉及圖片搜索的功能有按關(guān)鍵字搜索,按色系搜索,按大小搜索等。 關(guān)鍵詞: Python Django 圖片搜索 Bootstrap 圖像處理 2 Abstract: Based on the user needs to find the picture of a website. The site can do a series of queries for users to find their interesting pictures. Uploading pictures in the gallery, users can share all the pictures of the entire library, and the collection of a button can be concentrated in the Figure see the favorite pictures. It is convenient for users to collect pictures they like. In addition, bine with Django, which is a web framework of Python, can take an easy work to build the platform. Owing to the features of django, such as safety, good portability, I can write it easily. The website has a series of functions, such as login, register, upload, watch my albums, have fun and others. The functions of search involving search by keywords, by colors or by size. For the user, can collect favorite pictures, and download of it. Upload of each user can be shared. Furthermore, the entire page is simple and elegant. I use an open source package named bootstrap, the style of it is simple and graceful, showing pictures better. Key Words: Python Django search bootstrap image processing 3 目錄 第一章 系統(tǒng)概述 ................................................. 5 總體概述 ......................................................................................................... 5 開發(fā)背景 ......................................................................................................... 6 開發(fā)目的 ......................................................................................................... 7 第二章 系統(tǒng)分析 ................................................... 8 技術(shù)可行性分析 .............................................................................................. 8 開發(fā)技術(shù)綜 述 .................................................................................................................... 8 MySQL 數(shù)據(jù)庫的選用 .....................................................................................................12 技術(shù)可行性綜述 ..............................................................................................................13 時間可行性 ................................................................................................... 13 系統(tǒng)需求分析 ................................................................................................ 13 系統(tǒng)開發(fā)運行環(huán)境 ..........................................................................................................13 系統(tǒng)功能概述 ..................................................................................................................13 系統(tǒng)數(shù)據(jù)流圖 ..................................................................................................................14 系統(tǒng)總體結(jié)構(gòu)分析結(jié)論 .................................................................................. 15 第三章 系統(tǒng)設(shè)計 .................................................. 16 數(shù)據(jù)庫設(shè)計 ................................................................................................... 16 數(shù)據(jù)模型( ER 圖) ........................................................................................................16 數(shù)據(jù)庫表及關(guān)系建立 ......................................................................................................17 詳細(xì)數(shù)據(jù)庫結(jié)構(gòu)設(shè)計 ......................................................................................................18 系統(tǒng)概要設(shè)計 ................................................................................................ 20 功能模塊設(shè)計 ..................................................................................................................20 系統(tǒng)界面設(shè)計 ..................................................................................................................22 第四章 系統(tǒng)的詳細(xì)設(shè)計與實現(xiàn) ....................................... 23 系統(tǒng)框架實現(xiàn) ................................................................................................ 23 Model 層 ............................................................................................................................24 Template 層 ........................................................................................................................26 View層的實現(xiàn) ..................................................................................................................32 系統(tǒng)功能模塊實現(xiàn) ......................................................................................... 33 用戶模塊 ...........................................................................................................................33 搜索模塊 ...........................................................................................................................36 隨便看看模塊 ..................................................................................................................37 系統(tǒng)設(shè)計與實現(xiàn)總結(jié) ..................................................................................... 37 測試概述 ....................................................................................................... 38 軟件測試的目的 ..............................................................................................................38 測試環(huán)境 ...........................................................................................................................38 系統(tǒng)測試 ....................................................................................................... 38 4 結(jié) 論 .......................................................... 40 致 謝 .......................................................... 41 參考文獻 ........................................................ 42 5 當(dāng)今世界,互聯(lián)網(wǎng)技術(shù)快速發(fā)展,人們對互聯(lián)網(wǎng)的要求越來越多,衍生出了一系列適應(yīng)人們需求的網(wǎng)站??v觀網(wǎng)絡(luò)上,形形色色的圖片數(shù)不勝數(shù),如何分享它們,如何更快速地查找到自己所需要的圖片是一個很龐大的問題。因而 網(wǎng)站日益成為企事業(yè)單位信息化建設(shè)中不 可避免的重要組成部分,越來越多的收到人們的重視。 而且學(xué)習(xí) python可以掌握一門腳本語言并結(jié)合 Django這個 python的 web框架,搭建的平臺簡單安全,可移植性好。 但 PHP 自身也存在缺點。數(shù)據(jù)庫、應(yīng)