加勒比久久综合,国产精品伦一区二区,66精品视频在线观看,一区二区电影

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

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

    合肥圖文信息
    2025年10月份更新拼多多改銷助手小象助手多多出評軟件
    2025年10月份更新拼多多改銷助手小象助手多
    有限元分析 CAE仿真分析服務-企業/產品研發/客戶要求/設計優化
    有限元分析 CAE仿真分析服務-企業/產品研發
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    出評 開團工具
    出評 開團工具
    挖掘機濾芯提升發動機性能
    挖掘機濾芯提升發動機性能
    海信羅馬假日洗衣機亮相AWE  復古美學與現代科技完美結合
    海信羅馬假日洗衣機亮相AWE 復古美學與現代
    合肥機場巴士4號線
    合肥機場巴士4號線
    合肥機場巴士3號線
    合肥機場巴士3號線
  • 短信驗證碼 目錄網 排行網

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

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

    亚洲91在线| 亚洲视频综合| 日韩精品亚洲一区二区三区免费| 成人日韩精品| 欧美日韩中文一区二区| 日本午夜精品视频在线观看 | 欧美激情91| 中文在线免费二区三区| 国户精品久久久久久久久久久不卡| 久久影院午夜精品| 婷婷综合在线| 亚洲精品观看| 91成人app| 欧美影视一区| 日韩在线短视频| 三级欧美在线一区| 国产一区激情| 好吊妞国产欧美日韩免费观看网站| 欧美羞羞视频| 巨乳诱惑日韩免费av| 日韩精品看片| 精品成人18| 久久不见久久见免费视频7| 久久在线精品| 日韩一级特黄| 美女网站视频一区| 超碰aⅴ人人做人人爽欧美| 国产一区导航| 亚洲国产老妈| 免费欧美一区| 一本久久青青| 欧美一区2区| 加勒比色老久久爱综合网| 日本亚洲免费观看| 午夜精品福利影院| 欧美专区一区| 亚洲久草在线| 午夜亚洲福利| 亚洲深深色噜噜狠狠爱网站| 国产精品综合| 日韩和欧美一区二区三区| 成人综合网站| 久久国产视频网| 一区二区三区国产在线| 久久精品二区亚洲w码| 国产精品伦一区二区| 国产一区2区在线观看| 亚洲成人高清| 久久不卡日韩美女| 国产一区二区三区的电影| 久久精品国产99国产| 国产精品久久久一区二区| 美女在线视频一区| 一区二区三区高清视频在线观看| 免费久久99精品国产| 亚洲精华国产欧美| 日韩午夜免费视频| 老司机免费视频久久| 国产精品成久久久久| 93在线视频精品免费观看| 97精品一区二区| 四虎4545www国产精品| 日本国产一区| 日本成人在线不卡视频| 综合在线一区| 少妇精品久久久一区二区| 日韩黄色在线观看| 激情亚洲另类图片区小说区| 精品人人人人| 亚洲激情精品| 阿v视频在线观看| 中文另类视频| 国产精品久久| 亚洲影院天堂中文av色| 欧美激情影院| 蜜桃成人av| 男女性色大片免费观看一区二区| 99久久亚洲精品| 九九久久精品| 免费观看在线综合| 成人在线视频免费看| 欧美韩日精品| 麻豆久久一区| 免费毛片在线不卡| 日本久久精品| 欧美在线黄色| 亚洲美女久久| 色婷婷狠狠五月综合天色拍| av亚洲免费| 91综合在线| 六月丁香婷婷色狠狠久久| 亚洲v天堂v手机在线| 欧美一级二级三级视频| 亚洲黄页一区| 日本欧美一区| 国产精品亚洲综合在线观看| 成人在线视频免费观看| 91久久夜色精品国产九色| av资源在线播放| 青青草成人在线观看| 国产日韩在线观看视频| 国产高清一区| 性欧美超级视频| 国产精品亚洲欧美一级在线| 精品国产精品久久一区免费式| 亚洲综合影院| 99视频精品| 国产精品第一| 希岛爱理av免费一区二区| 蜜桃视频欧美| 视频二区不卡| 亚洲大片精品免费| 午夜影院欧美| 久久精品国产网站| 亚洲三区欧美一区国产二区| 在线一区电影| 亚洲国产二区| 亚洲手机视频| 999久久久国产精品| 性欧美xxxx大乳国产app| 欧美在线免费| 欧美国产不卡| 国产精品久久久久久久免费观看 | 四虎地址8848精品| 久久av免费| 五月天久久777| 欧洲专线二区三区| 好吊妞视频这里有精品| 蜜臀av一区二区在线免费观看| 亚洲精品久久| 日韩三区四区| 精品成人自拍视频| 色资源二区在线视频| 精品视频在线播放一区二区三区| 日韩区欧美区| 免费成人美女在线观看.| 国产一区二区三区久久| 成人精品影视| 成人国产精品入口免费视频| 精品久久网站| 日韩欧美网址| 红杏aⅴ成人免费视频| 正在播放日韩精品| 日韩精品视频中文字幕| 美国毛片一区二区| 亚洲盗摄视频| 国产精品高颜值在线观看| 精品国产亚洲一区二区三区在线| 精品国产91久久久久久浪潮蜜月| 欧美精品羞羞答答| 亚洲区一区二| 中文日韩在线| 欧美猛男做受videos| 免费在线看成人av| 国模吧精品视频| 麻豆免费在线| 欧美色图婷婷| 国产精品久久久免费| 亚洲美女一区| 国产一精品一av一免费爽爽| 另类av一区二区| 国产日韩在线观看视频| 免费福利视频一区二区三区| 精品国产精品| 麻豆精品久久精品色综合| 日韩一区二区久久| 欧美猛男同性videos| 欧美日韩在线观看首页| 精品国产一区二区三区不卡蜜臂 | 国产高清日韩| 国产精品传媒精东影业在线 | 国产精品成人**免费视频| 久热精品视频| 91欧美日韩在线| 久久精品三级| 首页国产欧美久久| 国产一区二区三区亚洲| 麻豆精品在线观看| 日韩成人激情| 欧美久久精品| 日本中文字幕一区| 日韩一区精品字幕| 精品99久久| 中文字幕一区二区三三| 岛国av在线播放| 欧美+日本+国产+在线a∨观看| 黄色成人在线视频| av不卡免费看| 国产劲爆久久| 成人豆花视频| 99精品国自产在线| 亚洲在线国产日韩欧美| 国产+成+人+亚洲欧洲在线| 亚洲色图网站| 日韩激情一区| 狠狠噜噜久久| 国产一区二区三区不卡av| 综合久久一区| 国产亚洲欧美日韩精品一区二区三区| 91精品国产自产精品男人的天堂|