项目介绍

wmcnally/deep-darts 是一个托管在 GitHub 上的开源项目,主要使用 Python 编写,目前获得 173 个 Star、48 次 Fork。

仓库全名
wmcnally/deep-darts
Star 数
173
Fork 数
48
未关闭 Issue
9

README 摘要

DeepDarts Code for the CVSports 2021 paper: DeepDarts: Modeling Keypoints as Objects for Automatic Scorekeeping in Darts using a Single Camera Prerequisites Python 3.5-3.8, CUDA >= 10.1, cuDNN >= 7.6 Setup 1. Install Anaconda or Miniconda 2. Create a new conda environment with Python 3.7: . Activate the environment: 4. Clone this repo: 5. Go into the directory and install the dependencies: 6. Download from IEEE…

完整内容见 GitHub 原始 README 或本页 。

常见问题

deep-darts 用什么语言开发?

主要使用 Python 编写,目前有 173 个 Star。

如何获取 deep-darts 的源码?

可以直接克隆仓库:git clone https://github.com/wmcnally/deep-darts.git,默认分支为 master;安装与运行步骤见仓库 README。

deep-darts 最近还在维护吗?

仓库最近一次更新为 2021年6月14日,当前有 9 个未关闭 Issue;Star 数为 173,可作为社区活跃度的参考。

关于

DeepDarts is the first deep learning-based automatic scoring system for steel-tip darts. It predicts dart scores from a single image taken from any camera angle.

描述取自 GitHub 官方 API,中文内容由 GitRead 中文社区 编辑团队整理。

简要分析

热度分
282
价值分
119
活跃状态
活跃

README

DeepDarts

Code for the CVSports 2021 paper: DeepDarts: Modeling Keypoints as Objects for Automatic Scorekeeping in Darts using a Single Camera

Prerequisites

Python 3.5-3.8, CUDA >= 10.1, cuDNN >= 7.6

Setup

  1. Install Anaconda or Miniconda
  2. Create a new conda environment with Python 3.7: $ conda create -n deep-darts python==3.7. Activate the environment: $ conda activate deep-darts
  3. Clone this repo: $ git clone https://github.com/wmcnally/deep-darts.git
  4. Go into the directory and install the dependencies: $ cd deep-darts && pip install -r requirements.txt
  5. Download images.zip from IEEE Dataport and extract in the dataset directory. Crop the images: $ python crop_images.py --size 800. This step could take a while. Alternatively, you can download the 800x800 cropped images directly from IEEE Dataport. If you choose this option, extract cropped_images.zip in the dataset directory.
  6. Download models.zip from IEEE Dataport and extract in the main directory.

Validation / Testing

To test the Dataset 1 model:
$ python predict.py --cfg deepdarts_d1 --split test

To test the Dataset 2 model and write the prediction images:
$ python predict.py --cfg deepdarts_d2 --split test --write

Training

To train the Dataset 1 model:
$ python train.py --cfg deepdarts_d1

To train the Dataset 2 model:
$ python train.py --cfg deepdarts_d2

You may need to adjust the batch sizes to fit your total GPU memory. The default batch sizes are for 24 GB total GPU memory.

Sample Test Predictions

Dataset 1:
alt text

Dataset 2:
alt text

评论

暂无评论