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.
- Fisheye image before calibration
- (Sample) Fisheye image after calibration
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for simple_fisheye_calibrator-0.0.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2c325b4abbfb7ca857eaa59ad0b7a8953d583e40f2e6446ae2d20345f74fef28 |
|
MD5 | bf86fc0e2bfa4d6b001e0f3e4a9a3087 |
|
BLAKE2b-256 | dddee6466b5dbf5d972ebe84078f71576ec654e7ee0dc2f622c736a2dd2d0f03 |
Close
Hashes for simple_fisheye_calibrator-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a109e619e54de1affda3779172f657558499f61d729fb5ebf63267d5c05caaca |
|
MD5 | e8b367f0128573f010b163421750ff2d |
|
BLAKE2b-256 | 50fb557d057d469c2e7ab553ead79b340e1e43a24f7b78e7c604ed4047be0f62 |