https://github.com/allrivertosea/cloud-deployment-of-sewer-defect-detection-using-yolov8

Deploy the model on a cloud server to run the inference service, and perform image inference locally by calling the Python package designed for inference.

https://github.com/allrivertosea/cloud-deployment-of-sewer-defect-detection-using-yolov8

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (3.4%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

Deploy the model on a cloud server to run the inference service, and perform image inference locally by calling the Python package designed for inference.

Basic Info
  • Host: GitHub
  • Owner: allrivertosea
  • Language: Python
  • Default Branch: main
  • Size: 0 Bytes
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created over 1 year ago · Last pushed over 1 year ago
Metadata Files
Readme

README.md

Cloud-Deployment-of-Sewer-Defect-Detection-Using-YOLOv8

Deploy the model on a cloud server to run the inference service, and perform image inference locally by calling the Python package designed for inference.

检测效果

功能测试

使用说明

阿里云服务器

图片 - 镜像为 Ubuntu 18.04 64 位,分配公网 IP。注意:在安全组中我们要添加入方向允许任何 IP 地址的流量访问某端口。 图片 - 将推理服务代码上传到服务器,运行: 图片

生成推理 Python 包

  • 推理程序包:sewerdt Infer.py:我们定义一个 SewerDetector 类,构造方法中有两个实例属性(url 和 headers),有一个普通实例方法 detect,传输参数为 imagepath,返回由云服务器得到的推理结果 result。
  • 编写 setup.py 在封装代码 sewer_dt 同级目录下,编写一个 setup.py 脚本,用于描述自己的 Python 包。
  • 编写 MANIFEST.in
  • 打包 Python 包 在命令行中进入封装代码的根目录,并执行以下命令来打包 Python 包: python setup.py sdist bdist_wheel,将在 dist 目录下生成一个.tar.gz 文件和一个.whl 文件,用于安装和发布 Python 包。
  • 安装 Python 包 可以将其发布到 PyPI 上,这里我们只进行本地安装。 pip install dist/sewerdt-0.1.tar.gz ### 本地使用 sewerdt 包进行推理
  • python inferfrompackage.py

Owner

  • Login: allrivertosea
  • Kind: user

GitHub Events

Total
  • Watch event: 3
  • Push event: 5
  • Create event: 2
Last Year
  • Watch event: 3
  • Push event: 5
  • Create event: 2

Dependencies

sewer_detect/setup.py pypi
  • requests *
sewer_detect/sewer_dt.egg-info/requires.txt pypi
  • requests *