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

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

代寫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程序語言
  • 無相關信息
    合肥生活資訊

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

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

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

    国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看
    国产男女激情视频| 两个人的视频www国产精品| 欧美综合77777色婷婷| 天天干天天色天天爽| 亚洲欧美日韩不卡一区二区三区 | 久久精品中文字幕一区| 久久精品美女| www.精品av.com| 久久久www成人免费精品张筱雨| 国产精品天天av精麻传媒| 国产精品欧美久久| 欧美日韩成人网| 亚洲欧美久久234| 日本久久久久久久久久久| 欧美在线中文字幕| 蜜桃日韩视频| 风间由美一区二区三区| 99久久久久国产精品免费| 91精品国产高清自在线| 久久精品人人做人人爽电影 | 久久精品一区中文字幕| 国产精品久久久久不卡| 久久99亚洲热视| 午夜精品视频网站| 欧美激情国产日韩| 国产精品午夜一区二区欲梦| 国产高清一区视频| 精品国产美女在线| 久久久久久12| 人妻无码久久一区二区三区免费| 欧美亚州在线观看| 国产视频精品网| 97精品国产97久久久久久春色 | 国产精品爽爽ⅴa在线观看| 国产精品久久在线观看| 一区二区三区四区欧美日韩| 午夜精品www| 男人亚洲天堂网| 97精品久久久中文字幕免费| 日韩亚洲精品视频| 中文视频一区视频二区视频三区| 欧美一区二区三区电影在线观看| 欧美日韩精品免费观看| 国产欧美一区二区在线播放| 国产黄色特级片| 欧美成人免费在线观看| 少妇精品久久久久久久久久 | 久久久水蜜桃| 国产精品福利观看| 色一情一乱一伦一区二区三区| 欧美日韩日本网| 97精品伊人久久久大香线蕉| 国产精品视频网址| 日韩在线国产| 成人短视频在线观看免费| 日韩在线免费观看视频| 中文字幕一区二区三区精彩视频| 欧美在线一级视频| 久久青草福利网站| 一区中文字幕在线观看| 欧美韩国日本在线| 久久99蜜桃综合影院免费观看| 亚洲图色在线| 国产综合第一页| 日韩在线一区二区三区免费视频| 欧美激情二区三区| 蜜臀av性久久久久蜜臀av| 久久久久亚洲精品| 亚洲精品国产精品久久| 国产日韩欧美黄色| 日韩日本欧美亚洲| 日本一区二区三区在线视频| 国产精品永久免费在线| 国产精品九九九| 欧美精品国产精品久久久| 97久久久久久| 一区二区三区电影| 国产玖玖精品视频| 欧美巨猛xxxx猛交黑人97人| 欧美日韩亚洲一二三| 久久国产日韩欧美| 午夜精品久久久久久久男人的天堂 | 亚洲熟妇无码一区二区三区导航| 蜜桃成人在线| 精品免费国产一区二区| 国产网站免费在线观看| 国产精品久久久对白| 妓院一钑片免看黄大片| 国产精品女人网站| 极品尤物一区二区三区| 国产精品人人妻人人爽人人牛| 欧美精品一区二区性色a+v| www.精品av.com| 精品欧美日韩| 国产精品久久精品视| 欧美精品无码一区二区三区| 国产精品日韩在线播放| 美乳视频一区二区| 欧美日韩国产va另类| yy111111少妇影院日韩夜片| 亚洲免费视频播放| 国产激情久久久| 欧美日本韩国国产| 精品久久久久久亚洲| 古典武侠综合av第一页| 亚洲欧美日韩不卡一区二区三区 | 国产成人精品av在线| 日韩高清国产一区在线观看| 精品国产一区二区三区久久狼黑人| 欧美日韩精品久久| 久久av.com| 91免费看片网站| 日韩欧美一区二| 久久精品视频在线播放| 国产日韩欧美一区二区| 亚洲福利av在线| 久久精品99久久香蕉国产色戒| 国产主播在线一区| 亚洲乱码国产一区三区| 久久99久久精品国产| 黄色录像特级片| 欧美日韩国产成人在线| 久久伊人资源站| 黄色一级片av| 亚洲精品日韩激情在线电影| 久久国产精品精品国产色婷婷| 欧美成人精品免费| 亚洲影院污污.| 日日摸夜夜添一区| 国产精品影片在线观看| 日韩欧美一区二区三区久久婷婷 | 国产精品视频播放| 成人国产精品久久久久久亚洲| 色播五月综合| 欧美成人一区二区三区电影| 国产高清免费在线| 国产欧美在线一区| 日韩欧美精品免费| 在线免费观看一区二区三区| 北条麻妃久久精品| 91精品久久久久久久久青青| 精品日本一区二区三区| 性色av香蕉一区二区| 国产精品久久国产精品99gif| 久久久免费电影| 国产视频观看一区| 欧洲精品在线一区| 国产专区一区二区三区| 日本一区高清在线视频| 久久久久久91| 国产精品久久中文| 久久久久久久久影视| 99在线观看视频| 精品日韩美女| 欧美专区中文字幕| 视频一区视频二区视频三区视频四区国产 | 国产精品天天狠天天看| 7777免费精品视频| 国产裸体舞一区二区三区| 欧美成人一区二区在线| 日日夜夜精品网站| 一本色道久久综合亚洲精品婷婷| 国产精品久久久久一区二区| 日韩在线视频网站| 久久人人爽人人爽人人片av高请| 国产欧美日韩一区| 国产有码在线一区二区视频| 欧美综合在线观看视频| 日本久久久久久久久| 日韩尤物视频| 五月天综合婷婷| 亚洲最大av网站| 一区二区三区观看| 欧美激情一区二区三区在线视频观看 | 久久精品91久久久久久再现| 久久久久免费看黄a片app| 久久免费高清视频| 91精品视频大全| 91成人精品网站| 国产精品6699| 久久久亚洲网站| 久久久久福利视频| 国产成人激情小视频| 久久综合中文色婷婷| 国产精欧美一区二区三区| 91禁国产网站| 久久免费高清视频| 国产成人激情小视频| 久久综合亚洲精品| 国产成人自拍视频在线观看| 国产高清视频一区三区| 久久99精品久久久久久久久久 | 欧美精品一区免费| 欧美日韩一区二区三区电影| 欧美在线观看一区二区三区| 热re99久久精品国产66热| 日韩男女性生活视频| 欧美精品自拍视频| 国产一区二区片| 国产日韩视频在线观看|