forked from Koldim2001/YOLO-Patch-Based-Inference
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
60 lines (55 loc) · 1.64 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
from setuptools import setup, find_packages
import codecs
import os
pwd = os.path.abspath(os.path.dirname(__file__))
with codecs.open(os.path.join(pwd, "patched_yolo_infer/README.md"), encoding="utf-8") as fh:
long_description = "\n" + fh.read()
VERSION = '1.2.9'
DESCRIPTION = '''Patch-Based-Inference for detection/segmentation of small objects in images.'''
setup(
name="patched_yolo_infer",
version=VERSION,
license="AGPL-3.0 license",
url="https://github.com/Koldim2001/YOLO-Patch-Based-Inference",
author="Koldim2001",
description=DESCRIPTION,
long_description=long_description,
long_description_content_type="text/markdown",
packages=find_packages(),
python_requires=">=3.8",
install_requires=[
'numpy<2.0',
'opencv-python',
'matplotlib',
'torch',
'ultralytics'
],
keywords=[
"python",
"yolov8",
"yolov9",
"yolov10",
"rtdetr",
"fastsam",
"sahi",
"object detection",
"instance segmentation",
"patch-based inference",
"small object detection",
"yolov8-seg",
"image patching",
"yolo visualization",
"slice-based inference",
"slicing inference",
"inference visualization",
"patchify",
"ultralytics",
],
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)",
"Operating System :: OS Independent",
],
)