Skip to main content

Simple GUI-based correction of fisheye images. The correction parameters specified on the screen can be diverted to opencv's fisheye correction parameters.

Project description

simple_fisheye_calibrator

Simple GUI-based correction of fisheye images. The correction parameters specified on the screen can be diverted to opencv's fisheye correction parameters.

001

  • Fisheye image before calibration

002

003

  • (Sample) Fisheye image after calibration

004

1. Install

$ pip3 install -U simple_fisheye_calibrator

2. Usage

$ simple_fisheye_calibrator --file_path xxx.jpg

or

$ sudo pip3 install cvui Pillow opencv_python numpy --upgrade
$ git clone https://github.com/PINTO0309/simple_fisheye_calibrator.git && \
cd simple_fisheye_calibrator

$ python3 simple_fisheye_calibrator/simple_capture.py

# 1. Capture one test image from the USB camera with "c" on the keyboard
# 2. Exit the capture application with "q" on the keyboard

$ python3 simple_fisheye_calibrator/simple_fisheye_calibrator.py

3. Parameter

usage: simple_fisheye_calibrator.py
[-h]
[--file_path FILE_PATH]
[--window_size_width WINDOW_SIZE_WIDTH]
[--window_size_height WINDOW_SIZE_HEIGHT]

optional arguments:
  -h, --help show this help message and exit
  --file_path FILE_PATH
  --window_size_width WINDOW_SIZE_WIDTH
  --window_size_height WINDOW_SIZE_HEIGHT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

simple_fisheye_calibrator-0.0.4.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file simple_fisheye_calibrator-0.0.4.tar.gz.

File metadata

  • Download URL: simple_fisheye_calibrator-0.0.4.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/56.0.0 requests-toolbelt/0.8.0 tqdm/4.40.0 CPython/3.8.5

File hashes

Hashes for simple_fisheye_calibrator-0.0.4.tar.gz
Algorithm Hash digest
SHA256 de7f8dd4d77a57bc79caa01f30827d451fea064b36c8d21f00be7b45e6dfcfe1
MD5 670273561708354ee7c426f279634425
BLAKE2b-256 4622752306e24cf4111618e6bdd3bff31e7d6e433ac578ad0901402b58fcce56

See more details on using hashes here.

File details

Details for the file simple_fisheye_calibrator-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: simple_fisheye_calibrator-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 4.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/56.0.0 requests-toolbelt/0.8.0 tqdm/4.40.0 CPython/3.8.5

File hashes

Hashes for simple_fisheye_calibrator-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 1fb536737b480e730e45e7b05b66644a35147f12f963a2fd5018d2fc4682d552
MD5 52bf6ff602fc167b1890088e285f40aa
BLAKE2b-256 bcf5cfb648d423900cebe90ddaa3cb6faad919ad7de7a4bd5c87491b41dec794

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page