Pcrab / tenver

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tenver

中文简体

Tenver is the backend of the tennis placement detection system. The frontend can be found at tenweb.

Prerequisite

Installation

git clone https://github.com/Pcrab/tenver
cd tenver

Node dependencies

npm

npm install

yarn

yarn install

pnpm

pnpm install

Python dependencies

pip install --user opencv-python numpy websocket-server

Usage

Node and python should both be started in order to work correctly.

Python command should be run in the cv directory.

Also make sure mongodb is running in the background on port 27017 without authentication.

Key

  • Windows: run private.ps1 and public.ps1, or private.bat and public.bat
  • MacOS / Linux: run private.sh and public.sh

Node

Development

npm

npm run dev

yarn

yarn dev

pnpm

pnpm dev

Production

npm

npm build
npm start

yarn

yarn build
yarn start

pnpm

pnpm build
pnpm start

Python

cd cv
python quyu.py

Todo

About

License:Apache License 2.0


Languages

Language:TypeScript 72.9%Language:Python 26.0%Language:Shell 0.4%Language:Batchfile 0.3%Language:PowerShell 0.3%