cv2box


Namecv2box JSON
Version 0.5.9 PyPI version JSON
download
home_pagehttps://github.com/ykk648/cv2box
Summarycv toolbox
upload_time2024-01-19 13:33:47
maintainer
docs_urlNone
authorykk648
requires_python
license
keywords
VCS
bugtrack_url
requirements numpy tqdm opencv_python
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ## cv2box - cv toolbox

```shell
# 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
```

```python
# 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
- [CVBbox](./cv_ops#cvbox) , different bbox filter.
- [CVCamera](./cv_ops#cvcamera) , load [multical](https://github.com/makerdao/multicall) calibrate result and give any format of camera matrix.
- [CVExcel](./cv_ops#cvexcel) , basic ops for insert data to excel file.
- [CVFile](./cv_ops#cvfile) , for multi-class file io.
- [CVFolder](./cv_ops) , higher level folder op to do batch file operate.
- [CVImage](./cv_ops#cvimage) , a image class support multi format convert.
- [CVQueue](./cv_ops#cvqueue) , queue-like high-level class which can be used for two different python projects communicate on same host machine.
- [CVRotate](./cv_ops) , under dev.
- [CVVideo](./cv_ops#cvvideo), a video class support multi kinds of ops.


### cv gears

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

- [CV threads base](./cv_gears#CV-Threads-Base) , fast construct your multithread AI program.
- [CV video thread](./cv_gears#CV-Video-Thread) , give a video path to get a frame thread.
- [CV multi video thread](./cv_gears#CV-Multi-Video-Thread) , give multical video path to get a multi frame thread.


### shell scripts

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

### utils

- fps counter
- apscheduler
- math (cal distances

### AI power (moved to [AI_power](https://github.com/ykk648/AI_power))

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/ykk648/cv2box",
    "name": "cv2box",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "",
    "author": "ykk648",
    "author_email": "ykk648@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/68/dd/27fc02c4381f1a06629466baafd605c41ed19df12bd15a49bff414bf9e74/cv2box-0.5.9.tar.gz",
    "platform": null,
    "description": "## cv2box - cv toolbox\n\n```shell\n# RECOMMEND - inclue cv2/numpy/tqdm\npip install cv2box\n\n# clean install - no other dependencies\npip install cv2box --no-dependencies\n\n# full install - referring requirements.txt\npip install cv2box[full]\n\n# clone codes to your project without install\ngit clone git@github.com:ykk648/cv2box.git --depth 1\n```\n\n```python\n# Example\nfrom cv2box import CVImage\nimg_in = 'img path' # or img_in = cv2.imread('img path')\nimg_bgr = CVImage(img_in).bgr\nCVImage(img_in).resize(256,256).show()\n```\n\nA gather of tools or funcs frequently using in my work.\n\nNow including these functions:\n\n### cv ops\n- [CVBbox](./cv_ops#cvbox) , different bbox filter.\n- [CVCamera](./cv_ops#cvcamera) , load [multical](https://github.com/makerdao/multicall) calibrate result and give any format of camera matrix.\n- [CVExcel](./cv_ops#cvexcel) , basic ops for insert data to excel file.\n- [CVFile](./cv_ops#cvfile) , for multi-class file io.\n- [CVFolder](./cv_ops) , higher level folder op to do batch file operate.\n- [CVImage](./cv_ops#cvimage) , a image class support multi format convert.\n- [CVQueue](./cv_ops#cvqueue) , queue-like high-level class which can be used for two different python projects communicate on same host machine.\n- [CVRotate](./cv_ops) , under dev.\n- [CVVideo](./cv_ops#cvvideo), a video class support multi kinds of ops.\n\n\n### cv gears\n\nNow supports mode switch from multi-thread/multi-process/torch-process. \n\n- [CV threads base](./cv_gears#CV-Threads-Base) , fast construct your multithread AI program.\n- [CV video thread](./cv_gears#CV-Video-Thread) , give a video path to get a frame thread.\n- [CV multi video thread](./cv_gears#CV-Multi-Video-Thread) , give multical video path to get a multi frame thread.\n\n\n### shell scripts\n\n- batch uncompress script support different types(zip tar 7z etc.)\n\n### utils\n\n- fps counter\n- apscheduler\n- math (cal distances\n\n### AI power (moved to [AI_power](https://github.com/ykk648/AI_power))\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "cv toolbox",
    "version": "0.5.9",
    "project_urls": {
        "Bug Tracker": "https://github.com/ykk648/cv2box/issues",
        "Homepage": "https://github.com/ykk648/cv2box"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "68dd27fc02c4381f1a06629466baafd605c41ed19df12bd15a49bff414bf9e74",
                "md5": "1f9ede42c877c37ec9552bf0ac3278d5",
                "sha256": "85b0501753472e469fb90753215d47e5f2fbfd3a64ab6bc7f717d1c267ac2fad"
            },
            "downloads": -1,
            "filename": "cv2box-0.5.9.tar.gz",
            "has_sig": false,
            "md5_digest": "1f9ede42c877c37ec9552bf0ac3278d5",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 52817,
            "upload_time": "2024-01-19T13:33:47",
            "upload_time_iso_8601": "2024-01-19T13:33:47.510211Z",
            "url": "https://files.pythonhosted.org/packages/68/dd/27fc02c4381f1a06629466baafd605c41ed19df12bd15a49bff414bf9e74/cv2box-0.5.9.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-01-19 13:33:47",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "ykk648",
    "github_project": "cv2box",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [
        {
            "name": "numpy",
            "specs": []
        },
        {
            "name": "tqdm",
            "specs": []
        },
        {
            "name": "opencv_python",
            "specs": []
        }
    ],
    "lcname": "cv2box"
}
        
Elapsed time: 0.18176s