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.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6b006602d341ad5a60633d84e887a4112936a54805a817cc4ef1a7910ec32a93 |
|
MD5 | 4a581c8e0e0296f333b5905accaf74c7 |
|
BLAKE2b-256 | b05eef4a1fba19d78514c534cb77e82a12535b0014e593cebe6bf3d80ae1d80e |
Close
Hashes for simple_fisheye_calibrator-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e54e9151bed19d9b6205bebffde24925d98003e73c3545afd24ff523b36dc414 |
|
MD5 | 8b467473cf42a2ed508eb8cf1b60a77d |
|
BLAKE2b-256 | dc074e71f096a969785ec5259f5d191676e5fbbfc5d86347e437d1a310da773c |