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_capture
# 1. Capture one test image from the USB camera with "c" on the keyboard
# 2. Exit the capture application with "q" on the keyboard
$ 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.7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c503cbdbcafa912c4e10149ef1dcde2680534c2d5c38d00cc9b8a8e3d0806c1e |
|
MD5 | f86efb76f6ae9fda319666ce9ceccfcc |
|
BLAKE2b-256 | e07f7af72d876e4e0009b8b00af3dfcd93f9e00f763045c7aeead03ff2263f0c |
Close
Hashes for simple_fisheye_calibrator-0.0.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 61d02be1c8c10a0cac62cde40e7ceb9e22aef3c9810dabeadfee023455f855b8 |
|
MD5 | 147f05631e4f6680fd7fff224aaf49d3 |
|
BLAKE2b-256 | bc65bdc4ddc8805b6f52cb12a0264c2bc9e6900b3696a303157e3ca3a46a6abc |