ykk648 / cv2box

A gather of tools or funcs frequently using in my work.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cv2box - cv toolbox

# RECOMMEND - inclue cv2/numpy/tqdm
pip install cv2box

# clean install - no other dependencies
pip install cv2box --no-dependencies

# full install - referring requirements.txt
pip install cv2box[full]

# clone codes to your project without install
git clone git@github.com:ykk648/cv2box.git --depth 1
# Example
from cv2box import CVImage
img_in = 'img path' # or img_in = cv2.imread('img path')
img_bgr = CVImage(img_in).bgr
CVImage(img_in).resize(256,256).show()

A gather of tools or funcs frequently using in my work.

Now including these functions:

cv ops

  • CVAudio , audio preprocessing.
  • CVBbox , different bbox filter.
  • CVCamera , load multical calibrate result and give any format of camera matrix.
  • CVExcel , basic ops for insert data to excel file.
  • CVFile , for multi-class file io.
  • CVFolder , higher level folder op to do batch file operate.
  • CVImage , a image class support multi format convert.
  • CVQueue , queue-like high-level class which can be used for two different python projects communicate on same host machine.
  • CVRotate , under dev.
  • CVVideo, a video class support multi kinds of ops.

cv gears

Now supports mode switch from multi-thread/multi-process/torch-process.

shell scripts

  • batch uncompress script support different types(zip tar 7z etc.)

utils

  • fps counter- CVEncrypt, encrypt file/model with AES..
  • scheduler , scheduler wrote by apscheduler.
  • send notify , send notify to BARK/DINGDING/WX/TG etc..
  • math (cal distances

AI power (moved to AI_power)

About

A gather of tools or funcs frequently using in my work.

License:GNU General Public License v3.0


Languages

Language:Python 99.7%Language:Shell 0.3%