Skip to main content

logo

相机标定器

一个基于OpenCV的自动化相机数据采集和标定程序。

GitHub Workflow Release Status Documentation Status GitHub Workflow Lint Status Codacy Badge codecov PyPI - Python Version PyPI - Downloads PyPI GitHub stars GitHub forks GitHub issues GitHub license

forthebadge made-with-python ForTheBadge built-with-love

观看演示 • 报告错误 • 功能需求

English • 简体中文

喜欢这个项目吗?请考虑捐赠(微信 | 支付宝),以帮助它改善!

演示

测试相机 RTSP 地址:rtsp://admin:a12345678@y52t229909.zicp.vip

demo

功能

  • 数据采集
  • 棋盘标定
  • 畸变矫正
  • 圆孔标定

安装

命令界面

pip install opencv-camcalib

图像界面

用法

命令界面

$ opencv-camcalib

  • 数据采集
opencv-camcalib capture rtsp://admin:a12345678@y52t229909.zicp.vip
  • 棋盘标定
opencv-camcalib calibrate --data_dir="/path/to/data" --rows=9 --cols=6
  • 畸变纠正
opencv-camcalib undistort --data_dir="/path/to/data"

图形界面

1 2 3 4 5 6

构建

命令界面

poetry build

图像界面

  • Windows
pyinstaller -w -F opencv_camcalib/app.py -i images/favicon_256x256.ico --add-data "images/favicon_256x256.ico;images"
  • macOS | Linux
pyinstaller -w -F opencv_camcalib/app.py -i images/favicon_256x256.ico --add-data "images/favicon_256x256.ico:images"

文档

  • 安装
git clone https://github.com/XavierJiezou/OpenCV-CamCalib.git
cd OpenCV-CamCalib/
pip install -r docs/requirements.txt
  • 构建
mkdocs build
  • 部署
mkdocs serve

贡献

git clone https://github.com/XavierJiezou/OpenCV-CamCalib.git
cd OpenCV-CamCalib/
pip install poetry
poetry install

日志

见 CHANGELOG.md

证书

MIT License

依赖

生产依赖

Readme Card Readme Card Readme Card

开发依赖

Readme Card Readme Card Readme Card Readme Card Readme Card Readme Card Readme Card Readme Card

参考

Metadata

Release files for opencv-camcalib 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for opencv-camcalib 0.1.3
File Size Uploaded
opencv-camcalib-0.1.3.tar.gz 49.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for opencv-camcalib 0.1.3
File Interpreter ABI Platform
opencv_camcalib-0.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 106.4 kB

Release files / opencv-camcalib-0.1.3.tar.gz

Download URL opencv-camcalib-0.1.3.tar.gz
Size 49.7 kB
Tags Source
SHA-256 checksum
How to use checksums
e23da1c445273d86ac6449da927114f50d62ab13cc7ebf8b00014a53cd62f9ec
BLAKE2b-256 checksum
How to use checksums
a77d62f6146515e391d6f830c198fa18a4a98486a4afaae7d06387cd5b332126
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release files / opencv_camcalib-0.1.3-py3-none-any.whl

Download URL opencv_camcalib-0.1.3-py3-none-any.whl
Size 56.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5775f47aad638a4a58424b7fbbbd5552ffe2a9f1c27ec83871b9c7998ee590ac
BLAKE2b-256 checksum
How to use checksums
58954971b6e6dbc8865bce044d70aaffac45437ba3a5ff5a411cf72198f82f3c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page