日韩精品一区二区三区高清_久久国产热这里只有精品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程序語言
  • 無相關信息
    合肥生活資訊

    合肥圖文信息
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    出評 開團工具
    出評 開團工具
    挖掘機濾芯提升發動機性能
    挖掘機濾芯提升發動機性能
    海信羅馬假日洗衣機亮相AWE  復古美學與現代科技完美結合
    海信羅馬假日洗衣機亮相AWE 復古美學與現代
    合肥機場巴士4號線
    合肥機場巴士4號線
    合肥機場巴士3號線
    合肥機場巴士3號線
    合肥機場巴士2號線
    合肥機場巴士2號線
    合肥機場巴士1號線
    合肥機場巴士1號線
  • 短信驗證碼 豆包 幣安下載 AI生圖 目錄網

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

    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>
        美日韩免费视频| 日韩视频在线免费观看| 国产精品成人一区| 欧美在线视频在线播放完整版免费观看| 国产日韩欧美一区二区| 久久久久久久国产| 亚洲免费视频成人| 国产精品九九久久久久久久| 欧美性开放视频| 欧美激情第8页| 亚洲视频第一页| 亚洲精品午夜精品| 国产一区二区日韩| 老司机精品视频网站| 最新国产成人av网站网址麻豆| 亚洲在线视频观看| 激情视频一区二区| 欧美日韩国产限制| 久久精品在线视频| 免费不卡中文字幕视频| 亚洲一区二区网站| 国产亚洲一二三区| 欧美日韩精品综合| 久久成人羞羞网站| 国产精品99久久久久久久女警| 在线播放不卡| 含羞草久久爱69一区| 欧美成人亚洲| 欧美一级视频精品观看| 欧美www在线| 国产精品久久久久久久久免费| 久久国产精品毛片| av72成人在线| 国内外成人免费激情在线视频| 欧美视频精品在线| 免费在线欧美黄色| 久久精品国产一区二区三区免费看| 一本到高清视频免费精品| 国产一区91精品张津瑜| 欧美激情亚洲视频| 久久成人羞羞网站| 亚洲综合大片69999| 亚洲肉体裸体xxxx137| 国产日韩一区二区| 国产精品乱码一区二区三区| 久久综合久色欧美综合狠狠| 小处雏高清一区二区三区| 亚洲国产精彩中文乱码av在线播放| 在线看无码的免费网站| 好看的亚洲午夜视频在线| 国产精品亚洲аv天堂网| 亚洲国产精品一区在线观看不卡| 羞羞视频在线观看欧美| 一区二区三区不卡视频在线观看| 91久久线看在观草草青青| 国内精品久久久久久| 欧美偷拍一区二区| 欧美吻胸吃奶大尺度电影| 亚洲国产小视频| 亚洲观看高清完整版在线观看| 国产精品大片wwwwww| 欧美电影美腿模特1979在线看| 欧美一区在线直播| 久久成人综合视频| 性久久久久久久久| 亚洲影音先锋| 亚洲精品久久| 99成人精品| 最新亚洲激情| 免费成人高清在线视频| 欧美在线网站| 国产精品一区二区久激情瑜伽| 国产一区二区0| 在线播放中文字幕一区| 亚洲福利免费| 久久久久九九视频| 久久久久久网址| 免费成人在线观看视频| 欧美大尺度在线观看| 久久久国产亚洲精品| 欧美69视频| 欧美理论在线| 欧美日韩国产高清| 国产婷婷一区二区| 亚洲国产欧美在线| 91久久嫩草影院一区二区| 亚洲三级色网| 在线中文字幕日韩| 亚洲丝袜av一区| 午夜视频一区| 久久天天躁狠狠躁夜夜av| 久久久亚洲欧洲日产国码αv| 亚洲自拍偷拍福利| 久久成人人人人精品欧| 欧美一区二区三区在| 欧美va亚洲va香蕉在线| 久久久久久色| 麻豆9191精品国产| 欧美日韩国产综合视频在线观看| 欧美日韩免费观看中文| 国产女优一区| 亚洲三级免费| 久久久久免费| 欧美久久久久免费| 国产亚洲成精品久久| 亚洲国产精品激情在线观看| 亚洲人成77777在线观看网| 国产一区二区欧美| 亚洲黄色av一区| 亚洲午夜激情网站| 欧美尤物一区| 欧美va天堂在线| 亚洲乱码国产乱码精品精| 欧美一区二区免费| 欧美精品999| 欧美日韩一区二区在线观看| 一区二区在线视频播放| 亚洲理论在线观看| 久久九九热re6这里有精品| 欧美久久久久中文字幕| 国产精品日韩欧美综合| 亚洲国产精品一区二区第四页av| 亚洲精品乱码久久久久久蜜桃麻豆| 一区二区三区欧美视频| 久久国产黑丝| 国产精品毛片一区二区三区| 伊人成综合网伊人222| 亚洲在线一区二区三区| 欧美成人资源| 国产欧美日韩精品丝袜高跟鞋| 在线观看欧美亚洲| 欧美一区二区播放| 亚洲二区视频| 亚洲欧美日韩综合一区| 久久成人18免费网站| 欧美一区二粉嫩精品国产一线天| 蜜臀久久99精品久久久画质超高清| 老鸭窝毛片一区二区三区| 国产精品中文在线| 亚洲综合电影一区二区三区| 欧美日韩在线一区二区| 久久久精品tv| 欧美三区美女| 亚洲大胆视频| 亚洲一区二区在线观看视频| 久久久xxx| 国产日韩在线播放| 亚洲精品色图| 欧美在线短视频| 国产伦一区二区三区色一情| 日韩视频欧美视频| 欧美va天堂在线| 国产一区二区三区精品欧美日韩一区二区三区| 欧美日韩成人综合天天影院| 中国日韩欧美久久久久久久久| 久久中文久久字幕| 国产精品麻豆成人av电影艾秋| 亚洲午夜91| 亚洲高清久久网| 久久免费国产精品1| 国产精品综合色区在线观看| 国产欧美日韩在线| 亚洲社区在线观看| 免费久久99精品国产自|