国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看

合肥生活安徽新聞合肥交通合肥房產(chǎn)生活服務(wù)合肥教育合肥招聘合肥旅游文化藝術(shù)合肥美食合肥地圖合肥社保合肥醫(yī)院企業(yè)服務(wù)合肥法律

代寫INFS2044、代做Python設(shè)計(jì)編程
代寫INFS2044、代做Python設(shè)計(jì)編程

時(shí)間:2024-12-19  來(lái)源:合肥網(wǎng)hfw.cc  作者:hfw.cc 我要糾錯(cuò)



INFS2044 Assignment 2 Case Study 
 
In this assignment, you will be developing a system for finding images based on the objects 
present in the images. The system will ingest images, detect objects in the images, and 
retrieve images based on labels associated with objects and by similarity with an example 
image. 
 
Use Cases 
 
The system supports the following use cases: 
 
• UC1 Ingest Image: User provides an image, and System stores the image, identifies 
objects in the image, and records the object types detected in the image in an index. 
 
• UC2 Retrieve Objects by Description: User specifies a list of object types, and the 
system returns the images in its index that match those listed. The system shall 
support two matching modes: 
 
o ALL: an image matches if and only if an object of each specified type is 
present in the image 
o SOME: an image matches if an object of at least one specified type is present 
in the image 
 
• UC3 Retrieve Similar Images: User provides an image, and the system retrieves the 
top K most similar images in order of descending similarity. The provided image may 
or may not already be in the system. The similarity between two images is 
determined based on the cosine similarity measure between the object types 
present in each image. The integer K (K>1) specifies the maximum number of images 
to retrieve. 
 
• UC4 List Images: System shows each image and the object types associated with 
each image in the index. 
 
 
 Example Commands 
 
The following are example commands that the command line frontend of the system shall 
implement: 
 
UC1: 
 
$ python image_search.py add example_images/image1.jpg 
Detected objects chair,dining table,potted plant 
 
$ python image_search.py add example_images/image2.jpg 
Detected objects car,person,truck 
 
$ python image_search.py add example_images/image3.jpg 
Detected objects chair,person 
 
$ python image_search.py add example_images/image4.jpg 
Detected objects car 
 
$ python image_search.py add example_images/image5.jpg 
Detected objects car,person,traffic light 
 
$ python image_search.py add example_images/image6.jpg 
Detected objects chair,couch 
 
UC2: 
 
$ python image_search.py search --all car person 
example_images/image2.jpg: car,person,truck 
example_images/image5.jpg: car,person,traffic light 
2 matches found. 
 
$ python image_search.py search --some car person 
example_images/image2.jpg: car,person,truck 
example_images/image3.jpg: chair,person 
example_images/image4.jpg: car 
example_images/image5.jpg: car,person,traffic light 
4 matches found. 
 
UC3: 
 
$ python image_search.py similar --k 999 example_images/image3.jpg 
1.0000 example_images/image3.jpg 
0.5000 example_images/image6.jpg 
0.4082 example_images/image1.jpg 
0.4082 example_images/image2.jpg 
0.4082 example_images/image5.jpg 
0.0000 example_images/image4.jpg 
 
$ python image_search.py similar --k 3 example_images/image3.jpg 
1.0000 example_images/image3.jpg 
0.5000 example_images/image6.jpg 0.4082 example_images/image1.jpg 
 
$ python image_search.py similar example_images/image7.jpg 
0.5774 example_images/image1.jpg 
 
UC4: 
 
$ python image_search.py list 
example_images/image1.jpg: chair,dining table,potted plant 
example_images/image2.jpg: car,person,truck 
example_images/image3.jpg: chair,person 
example_images/image4.jpg: car 
example_images/image5.jpg: car,person,traffic light 
example_images/image6.jpg: chair,couch 
6 images found. 
 
Other requirements 
 
Input File Format 
 
The system shall be able to read and process images in JPEG format. 
 
For UC2, you can assume that all labels are entered in lowercase, and labels containing 
spaces are appropriately surrounded by quotes. 
 
Output Format 
 
The output of the system shall conform to the format of the example outputs given above. 
 
Unless indicated otherwise, the output of the system does not need to be sorted. 
 
For UC3, the output shall be sorted in descending order of similarity. That is, the most 
similar matching image and its similarity shall be listed first, followed by the next similar 
image, etc. 
 
For UC4, the output shall be sorted in ascending alphabetical order. 
 
Internal Storage 
 
You are free to choose either a file-based storage mechanism or an SQLite-based database 
for the implementation of the Index Access component. 
 
The index shall store the file path to the image, not the image data itself. 
 
Object detection 
 The supplied code for object detection can detect ~** object types. 
 
Future variations 
 
• Other object detection models (including external cloud-based systems) could be 
implemented. 
• Additional object types could be introduced. 
• Additional query types could be introduced. 
• Other similarity metrics could be implemented. 
• Other indexing technologies could be leveraged. 
• Other output formats (for the same information) could be introduced. 
 
These variations are not in scope for your implementation in this assignment, but your 
design must be able to accommodate these extensions largely without modifying the code 
that you have produced. 
 
Decomposition 
 
You must use the following component decomposition as the basis for your implementation 
design: 
 
The responsibilities of the elements are as follows: 
 
Elements Responsibilities 
Console App Front-end, interact with the user 
Image Search Manager Orchestrates the use case processes 
Object Detection Engine Detect objects in an image 
Matching Engine Finds matching images given the object types 
Index Access Stores and accesses the indexed images 
Image Access Read images from the file system 
 
You may introduce additional components in the architecture, provided that you justify why 
these additional components are required. 
 
 Scope & Constraints 
 
Your implementation must respect the boundaries defined by the decomposition and 
include classes for each of the elements in this decomposition. 
 
The implementation must: 
• run using Python 3.10 or higher, and 
• use only the Python 3.10 standard libraries and the packages listed in the 
requirements.txt files supplied with this case study, and 
• not rely on any platform-specific features, and 
• extend the supplied code, and 
• correctly implement the functions described in this document, and 
• it must function correctly with any given input files (you can assume that the entire 
content of the files fits into main memory), and 
• it must include a comprehensive unit test suite using pytest, and 
• adhere to the given decomposition and design principles taught in this course. 
 
Focus your attention on the quality of the code. 
 
It is not sufficient to merely create a functionally correct program to pass this assignment. 
The emphasis is on creating a well-structured, modular, object-oriented design that satisfies 
the design principles and coding practices discussed in this course. 
 
Implementation Notes 
 
You can use the code supplied in module object_detector.py to detect objects in 
images and to encode the tags associated with an image as a Boolean vector (which you will 
need to compute the cosine similarity). Do not modify this file. 
 
You can use the function matplotlib.image.imread to load the image data from a file, and 
sklearn.metrics.pairwise.cosine_similarity to compute the cosine similarity between two 
vectors representing lists of tags. 
 
請(qǐng)加QQ:99515681  郵箱:99515681@qq.com   WX:codinghelp




 

掃一掃在手機(jī)打開(kāi)當(dāng)前頁(yè)
  • 上一篇:DSCI 510代寫、代做Python編程語(yǔ)言
  • 下一篇:代寫FN6806、代做c/c++,Python程序語(yǔ)言
  • 無(wú)相關(guān)信息
    合肥生活資訊

    合肥圖文信息
    流體仿真外包多少錢_專業(yè)CFD分析代做_友商科技CAE仿真
    流體仿真外包多少錢_專業(yè)CFD分析代做_友商科
    CAE仿真分析代做公司 CFD流體仿真服務(wù) 管路流場(chǎng)仿真外包
    CAE仿真分析代做公司 CFD流體仿真服務(wù) 管路
    流體CFD仿真分析_代做咨詢服務(wù)_Fluent 仿真技術(shù)服務(wù)
    流體CFD仿真分析_代做咨詢服務(wù)_Fluent 仿真
    結(jié)構(gòu)仿真分析服務(wù)_CAE代做咨詢外包_剛強(qiáng)度疲勞振動(dòng)
    結(jié)構(gòu)仿真分析服務(wù)_CAE代做咨詢外包_剛強(qiáng)度疲
    流體cfd仿真分析服務(wù) 7類仿真分析代做服務(wù)40個(gè)行業(yè)
    流體cfd仿真分析服務(wù) 7類仿真分析代做服務(wù)4
    超全面的拼多多電商運(yùn)營(yíng)技巧,多多開(kāi)團(tuán)助手,多多出評(píng)軟件徽y1698861
    超全面的拼多多電商運(yùn)營(yíng)技巧,多多開(kāi)團(tuán)助手
    CAE有限元仿真分析團(tuán)隊(duì),2026仿真代做咨詢服務(wù)平臺(tái)
    CAE有限元仿真分析團(tuán)隊(duì),2026仿真代做咨詢服
    釘釘簽到打卡位置修改神器,2026怎么修改定位在范圍內(nèi)
    釘釘簽到打卡位置修改神器,2026怎么修改定
  • 短信驗(yàn)證碼 豆包網(wǎng)頁(yè)版入口 破天一劍 目錄網(wǎng) 排行網(wǎng)

    關(guān)于我們 | 打賞支持 | 廣告服務(wù) | 聯(lián)系我們 | 網(wǎng)站地圖 | 免責(zé)聲明 | 幫助中心 | 友情鏈接 |

    Copyright © 2025 hfw.cc Inc. All Rights Reserved. 合肥網(wǎng) 版權(quán)所有
    ICP備06013414號(hào)-3 公安備 42010502001045

    国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看
    亚洲综合在线播放| 国产精品日韩一区| 春日野结衣av| 国产精品初高中精品久久| 久久免费视频1| 91精品国产综合久久久久久蜜臀| 欧美韩国日本在线| 日韩女在线观看| 亚洲精品免费在线视频| 亚洲字幕一区二区| 久久亚洲一区二区三区四区五区高| 国产在线视频在线| 欧洲日本亚洲国产区| 日韩一级片一区二区| 日韩有码在线电影| 久久婷婷国产精品| 国产精品99蜜臀久久不卡二区| 91久久综合亚洲鲁鲁五月天| 国产精品99一区| 国产精品99免视看9| www..com日韩| 久草综合在线观看| 色噜噜久久综合伊人一本| 久久伊人一区二区| 久久99国产精品一区| 久久久久久一区| 国产精品入口尤物| 一区二区在线不卡| 日本欧洲国产一区二区| 日韩精品第1页| 欧美精品亚洲精品| 精品欧美一区二区精品久久| 国产主播一区二区三区四区| 欧洲精品亚洲精品| | 精品一区日韩成人| 91黄在线观看| 北条麻妃久久精品| 欧美猛少妇色xxxxx| 色之综合天天综合色天天棕色| 日本精品视频在线观看| 国产精品中文字幕久久久| 久久久一本精品99久久精品66| zzijzzij亚洲日本成熟少妇| 欧美区在线播放| 日韩精品一区二区三区外面 | 色999日韩自偷自拍美女| 欧美日韩日本网| 国产精品aaa| 欧美成人精品在线| 热久久这里只有| 国产成人在线小视频| 在线播放豆国产99亚洲| 欧美一区二区视频在线播放| 久久人人爽人人爽人人片av高清| 久久久久久久久久久99| 精品国产综合区久久久久久| 男人天堂av片| 色777狠狠综合秋免鲁丝| 亚洲一区二区三区乱码aⅴ蜜桃女| 欧美一级成年大片在线观看| 久久伊人一区二区| 日日噜噜噜噜夜夜爽亚洲精品| 国产麻豆日韩| 久久亚洲一区二区三区四区五区高 | 国产黄色片免费在线观看| 欧美xxxx做受欧美.88| 欧美日韩激情四射| 国产精品日日做人人爱| 国语自产精品视频在免费| 久久五月天色综合| 国产欧美精品一区二区三区 | 久久精品成人欧美大片古装| 日本精品免费视频| 久久九九有精品国产23| 欧美国产综合视频| 国产精品久久久久久久久| 国产一级片91| 在线观看成人av| 91久久久亚洲精品| 日韩欧美激情一区二区| 欧美大胆在线视频| 国产精品18久久久久久首页狼| 欧美在线日韩在线| 久久国产精品视频| 国产精品av在线播放| 日本不卡久久| 精品久久中出| 亚洲最大福利网| 久久久久久久久久久久久久久久av | 无码人妻精品一区二区三区66| 色老头一区二区三区| 99国产精品久久久久老师| 日韩国产精品一区二区| 国产精品第12页| 久久九九视频| 好吊色欧美一区二区三区视频| 日韩尤物视频| 欧美激情在线视频二区| 日韩亚洲精品视频| 91美女福利视频高清| 国产淫片免费看| 欧美少妇一区二区三区| 欧美激情精品久久久久久变态 | 亚洲精品一区二区三区av | 欧美成人久久久| 久久久成人av| 丝袜一区二区三区| 久久频这里精品99香蕉| 国产视频99| 黄色一级在线视频| 欧美黄色免费影院| 人人澡人人澡人人看欧美| 亚洲日本精品一区| 欧美日韩国产二区| 久久精品一偷一偷国产| www亚洲精品| 国产成人综合精品| 久久av免费一区| 九色91视频| 国产ts人妖一区二区三区| 久久久视频精品| 97精品国产97久久久久久春色| 成人久久一区二区三区| 91精品国产99| 国产成人黄色片| 色阁综合伊人av| 久久综合电影一区| 亚洲字幕在线观看| 亚洲熟妇无码一区二区三区导航| 欧美成人免费va影院高清| 中文字幕人妻熟女人妻洋洋| 欧美日韩高清区| 日韩在线国产| 狠狠干 狠狠操| 99电影在线观看| 日韩一区二区三区在线播放| 国产精品久久久对白| 亚洲一区免费看| 精品欧美一区二区三区久久久 | 在线观看欧美一区| 一卡二卡3卡四卡高清精品视频| 精品国产乱码久久久久久88av | 日韩xxxx视频| 国产日韩亚洲欧美| 久久综合中文色婷婷| 精品久久久三级| 日本中文不卡| 国产日韩专区在线| 91免费在线观看网站| 久久久久久久激情| 久色乳综合思思在线视频| 亚洲欧美国产不卡| 国内精品400部情侣激情| 99精品一级欧美片免费播放| 国产精品免费看一区二区三区| 天天人人精品| 国产乱码精品一区二区三区不卡| 国产精品丝袜一区二区三区| 性欧美在线看片a免费观看| 国内精品模特av私拍在线观看| 成人欧美一区二区三区黑人| 国产精品手机在线| 日本视频一区在线观看| 国产精品亚洲片夜色在线| 国产精品久久久久久五月尺| 日本精品www| 99国内精品久久久久久久软件| 国产精品福利片| 免费99视频| 精品久久久久久久免费人妻| 黄色成人在线看| 国产精品美女网站| 黄色av网址在线播放| 国产精品久久久久久久久免费看 | 久久久国产精品一区二区三区| 欧美人与性动交| www日韩在线观看| 国产精品久久精品国产| 国模精品娜娜一二三区| 国产精品二区二区三区| 狠狠精品干练久久久无码中文字幕| 久久国产一区二区三区| 国产素人在线观看| 久久综合久中文字幕青草| 国产一区二区在线网站| 国产精品二区二区三区| 国产免费黄色av| 日韩中文字幕亚洲精品欧美| 九一国产精品视频| 国产原创欧美精品| 亚洲一区二区三区免费观看| 日韩在线观看成人| 欧美精品在欧美一区二区| 久久av在线播放| 国产精品91一区| 免费精品视频一区| 亚洲图片小说在线| 久久久久久噜噜噜久久久精品| 欧美日韩在线不卡一区|