日韩精品一区二区三区高清_久久国产热这里只有精品8_天天做爽夜夜做爽_一本岛在免费一二三区

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

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

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

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

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

    日韩精品一区二区三区高清_久久国产热这里只有精品8_天天做爽夜夜做爽_一本岛在免费一二三区

      <em id="rw4ev"></em>

        <tr id="rw4ev"></tr>

        <nav id="rw4ev"></nav>
        <strike id="rw4ev"><pre id="rw4ev"></pre></strike>
        国产亚洲日本欧美韩国| 亚洲老司机av| 亚洲乱码国产乱码精品精| 在线观看一区二区视频| 欧美女人交a| 久久国产一区二区三区| 亚洲视屏一区| 欧美性生交xxxxx久久久| 亚洲一区二区视频在线观看| 欧美三级视频在线| 午夜国产精品视频| 欧美激情一区二区三区成人| 一区二区在线免费观看| 亚洲国产人成综合网站| 亚洲国产国产亚洲一二三| 巨乳诱惑日韩免费av| 欧美三级韩国三级日本三斤| 国产精品porn| 欧美区一区二| 国产精品久久久久999| 国产三级欧美三级日产三级99| 欧美精品一区三区在线观看| 欧美色欧美亚洲另类二区| 欧美aⅴ99久久黑人专区| 性欧美18~19sex高清播放| 欧美国产日韩精品| 亚洲日本视频| 国产区欧美区日韩区| 国产综合欧美在线看| 伊人狠狠色丁香综合尤物| 国产精品黄页免费高清在线观看| 久久久久久色| 国产精品老牛| 日韩一级在线观看| 欧美欧美午夜aⅴ在线观看| 国产精品日韩一区| 国产精品一区二区男女羞羞无遮挡| 亚洲少妇一区| 中日韩美女免费视频网址在线观看| 影音先锋国产精品| 蜜桃久久精品乱码一区二区| 亚洲黄色av一区| 亚洲精品女av网站| 最新高清无码专区| 在线观看国产日韩| 欧美日韩午夜剧场| 亚洲精品视频中文字幕| 久久躁狠狠躁夜夜爽| 欧美日本亚洲韩国国产| 亚洲精品男同| 午夜免费久久久久| 亚洲国语精品自产拍在线观看| 亚洲第一中文字幕在线观看| 久久激情综合网| 亚洲欧美一区二区精品久久久| 99国产精品久久| 欧美日韩专区在线| 亚洲欧洲在线播放| 欧美福利电影在线观看| 亚洲精品欧美专区| 久久美女艺术照精彩视频福利播放| 亚洲一区久久久| 在线一区日本视频| 可以看av的网站久久看| 欧美日韩亚洲一区二区三区四区| 亚洲一区精品电影| 欧美国产欧美综合| 精品电影在线观看| 国产欧美日本一区视频| 亚洲人永久免费| 1024成人网色www| 亚洲天堂第二页| 永久555www成人免费| 最近中文字幕mv在线一区二区三区四区| 麻豆精品精品国产自在97香蕉| 日韩西西人体444www| 欧美视频一区二区三区在线观看| 久久久国产午夜精品| 久久免费偷拍视频| 激情综合久久| 一区二区免费在线观看| 国产亚洲欧美日韩一区二区| 亚洲福利小视频| 好吊视频一区二区三区四区| 亚洲精品少妇30p| 日韩午夜在线电影| 老司机aⅴ在线精品导航| 欧美jizzhd精品欧美巨大免费| 欧美日韩在线视频一区| 国产精品视频精品视频| 米奇777超碰欧美日韩亚洲| 亚洲精品欧美| 中日韩视频在线观看| 国产精品国产三级国产aⅴ入口| 午夜精品国产更新| 国产精品综合久久久| 欧美电影在线免费观看网站| 久久久久九九九九| 在线观看日韩精品| 欧美韩日视频| 亚洲精品视频啊美女在线直播| 久久成人国产精品| 欧美日本亚洲韩国国产| 欧美日韩久久| 久久久精品性| 美女露胸一区二区三区| 久久久99久久精品女同性| 免费试看一区| 欧美啪啪一区| 亚洲人成欧美中文字幕| 欧美三级第一页| 中文av一区特黄| 亚洲人成亚洲人成在线观看| 国产精品腿扒开做爽爽爽挤奶网站| 亚洲国产精品一区二区久| 日韩写真视频在线观看| 欧美一级播放| 久久在线免费观看视频| 欧美乱人伦中文字幕在线| 尤物在线观看一区| 欧美一区二区在线免费观看| 欧美日韩高清在线播放| 亚洲人成网在线播放| 国产亚洲欧美日韩在线一区| 日韩一区二区精品在线观看| 一本色道久久综合狠狠躁篇怎么玩| 欧美色123| 亚洲欧美国产不卡| 亚洲一区二区免费看| 亚洲黄一区二区| 亚洲国产精品t66y| 亚洲视频导航| 国产亚洲欧洲997久久综合| 亚洲国产高清一区二区三区| 美女国产一区| 国产精品v欧美精品v日本精品动漫| 亚洲欧洲一区二区在线观看| 久久av红桃一区二区小说| 亚洲视频第一页| 麻豆精品国产91久久久久久| 久久久久综合| 亚洲素人一区二区| 久久国产一区| 在线综合欧美| 亚洲综合好骚| 欧美大片在线观看一区二区| 欧美日韩国产精品| 开元免费观看欧美电视剧网站| 久久午夜激情| 久久人人爽国产| 久久精品成人一区二区三区| 欧美紧缚bdsm在线视频| 久久一区视频| 欧美人成在线视频| 欧美国产精品va在线观看| 国产精品久久久久久久久免费| 裸体一区二区三区| 欧美高清影院| 欧美精品v日韩精品v韩国精品v| 欧美福利视频在线| 亚洲欧美国产日韩天堂区| 亚洲欧美福利一区二区| 亚洲日本中文字幕区| 久久久91精品国产一区二区精品|