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.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 764cd154d3762fcda31cd4a9de38465b1103afba7b2606661d06b9d2199ba116 |
|
MD5 | fb0dd6a2e5f05b9bc48c6301f032cb2b |
|
BLAKE2b-256 | 752679cb7dd97005df04777fa9dfa2665511876a14de9afdcc6d78811ea29a94 |
Close
Hashes for simple_fisheye_calibrator-0.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 10a4d82a6d14483ec9d19c46ad52950b21395bc045e98b35ce3849e2713aa2a6 |
|
MD5 | f1c4c26c3983d5f296ba30ad9e69c94d |
|
BLAKE2b-256 | 0d9b8b33c46b7229f42d78aa5b19688a594feb13fa36525cb7a433dc6a18fd30 |