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

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

代寫INFS2044、代做Python設計編程
代寫INFS2044、代做Python設計編程

時間:2024-12-19  來源:合肥網hfw.cc  作者:hfw.cc 我要糾錯



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. 
 
請加QQ:99515681  郵箱:99515681@qq.com   WX:codinghelp




 

掃一掃在手機打開當前頁
  • 上一篇:DSCI 510代寫、代做Python編程語言
  • 下一篇:代寫FN6806、代做c/c++,Python程序語言
  • 無相關信息
    合肥生活資訊

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

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

    Copyright © 2025 hfw.cc Inc. All Rights Reserved. 合肥網 版權所有
    ICP備06013414號-3 公安備 42010502001045

    国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看
    国产精品日韩在线| 欧美激情一区二区久久久| 国产精品久久..4399| 日日骚一区二区网站| 国产精品一区二区久久久久| 精品国内自产拍在线观看| 欧美一区二区三区四区在线| www黄色在线| 久久国产精品久久久久久久久久| 欧美精品自拍视频| 色999日韩欧美国产| 色999五月色| 久久久视频精品| 亚洲欧美日韩综合一区| 国产免费xxx| 久久夜精品香蕉| 欧美在线www| 日韩中文在线视频| 欧洲熟妇精品视频| 久久久久久香蕉网| 日本婷婷久久久久久久久一区二区| 99九九视频| 亚洲欧美久久久久一区二区三区| 福利视频一区二区三区四区| 欧美wwwxxxx| 国产欧美自拍视频| 色综合视频网站| 国产伦精品一区二区三区| 欧美激情精品久久久久久蜜臀| 国产日韩视频在线观看| 国产精品盗摄久久久| 青青在线视频观看| 日韩中文字幕免费| 欧美精品成人网| 国产精品福利观看| 国产日韩欧美夫妻视频在线观看| 欧美激情中文网| 777精品久无码人妻蜜桃| 日本免费a视频| www.xxxx欧美| 国产日韩欧美91| 亚洲精品免费在线视频| 久久99国产精品一区| 欧美极品欧美精品欧美图片| 精品久久一区二区三区蜜桃| 成人国产精品日本在线| 亚洲欧洲日韩综合二区| 久久精品日产第一区二区三区| 欧美日韩视频在线一区二区观看视频| 国产精品入口夜色视频大尺度| 国产在线精品播放| 在线观看免费91| 91免费欧美精品| 亚洲va男人天堂| 国产极品美女高潮无套久久久| 日韩亚洲一区在线播放| 久久久久久午夜| 欧美在线视频观看免费网站| 久久激情五月丁香伊人| 国内精品小视频在线观看| 国产精品人成电影在线观看| 欧洲精品国产| 日韩在线免费高清视频| 精品人妻人人做人人爽| 欧美猛交ⅹxxx乱大交视频| 成人免费无码av| 色中文字幕在线观看| 深夜精品寂寞黄网站在线观看| 欧美成人一区二区在线| 久久99国产精品久久久久久久久| 成人精品水蜜桃| 五码日韩精品一区二区三区视频 | 日韩在线一级片| www.美女亚洲精品| 国产一区国产精品| 亚洲xxxx视频| 久久99精品久久久水蜜桃| 国产欧美日本在线| 性色av一区二区三区| 久久激情视频免费观看| 高清欧美精品xxxxx| 日韩av电影国产| 国产精品人人做人人爽| 国产综合久久久久| 色噜噜狠狠一区二区三区| 国产精品欧美激情在线观看| 精品一区二区三区视频日产| 欧美激情中文网| 国产成人a亚洲精品| 精品一区二区成人免费视频| 午夜精品免费视频| 国产精品第一第二| 久久精品国产精品国产精品污| 国产日韩欧美成人| 日韩欧美国产免费| 国产精品视频xxx| 国产成年人在线观看| 国内精品美女av在线播放| 亚洲www在线观看| 国产精品高清免费在线观看| 国产激情999| 国内精品国产三级国产在线专 | 91精品美女在线| 欧美激情专区| 日韩av中文字幕第一页| 美女扒开尿口让男人操亚洲视频网站| 久久久噜噜噜久久中文字免| 国产一区二区三区色淫影院| 欧美性视频在线播放| 亚洲国产精品www| 国产精品福利在线| 久久国产精品 国产精品| 国产精品一区久久| 色播亚洲婷婷| 国产精品福利小视频| 久久久久久久久久久免费精品| 国产精品一二三视频| 免费在线观看亚洲视频| 日韩视频在线视频| 久久综合88中文色鬼| 精品国产一区二区三区在线观看| 91国在线高清视频| 高清视频在线观看一区| 美女在线免费视频| 日韩精品一区二区三区外面 | 国内精品400部情侣激情| 亚洲一区二区中文字幕| 久久亚洲私人国产精品va| 九色综合婷婷综合| 久久久久九九九| av动漫在线免费观看| 国产在线精品一区免费香蕉| 日本一区二区视频| 亚洲va久久久噜噜噜| 一区二区三区视频| 精品免费国产| 久久成人精品电影| 久久精品国产成人| 国产精品久久久久秋霞鲁丝| 国产精品网站入口| 久久精品影视伊人网| 久久国产精品久久| 久久久久久亚洲精品不卡| 国产av人人夜夜澡人人爽麻豆| 久久免费成人精品视频| 91精品国产91| 91福利视频网| 国产传媒一区二区三区| 久久久久久久久久久亚洲| 日韩在线视频免费观看高清中文 | 在线视频不卡国产| 亚洲综合一区二区不卡| 欧美激情亚洲视频| 国产精品第1页| 国产精品美女xx| 国产精品国产精品国产专区蜜臀ah| 国产精品偷伦免费视频观看的| 日韩三级成人av网| 久久精品国产综合| 国产精品日韩一区二区三区| 国产精品美女久久久久av福利 | 久久久国内精品| 久久久久久欧美精品色一二三四| 日韩在线免费av| 国产精品女视频| 久久视频在线免费观看| 国产精品丝袜白浆摸在线| 国产精品免费一区二区三区观看| 国产精品久久精品| 久久久久国色av免费观看性色| 亚洲一区影院| 日韩精品伦理第一区| 欧美亚州一区二区三区| 国产专区一区二区三区| 国产精品一区二区三区观看| 99se婷婷在线视频观看| 国产成人精品免费视频大全最热 | 色综合天天狠天天透天天伊人| 欧美成人四级hd版| 亚洲精品一区二区毛豆| 日韩精品不卡| 国产在线精品一区| 91精品国产一区二区三区动漫| 久久黄色免费看| 久久综合亚洲社区| 亚洲国产精品久久久久婷蜜芽| 日韩av日韩在线观看| 欧美影视一区二区| 国产乱淫av片杨贵妃| 久久av二区| 久久成人这里只有精品| 天堂资源在线亚洲资源| 国内精品久久久久久久 | 国产成人免费91av在线| 国产精品久久久久久久久免费| 亚洲精品一区二| 欧美日本国产精品| 97久久久免费福利网址| 久久久精品国产| 亚洲人成网站在线播放2019|