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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6b5066dbfb25b5389cc4bfbe39bacd1a6c38ed07d2029e6b217c4336390ea8d4 |
|
MD5 | 17002f1837bf74991b36cd83385e1c88 |
|
BLAKE2b-256 | 9f03f6245723fe387bf1d9f6e6e85a5645cb66cf58e577c830c95b6107f79ee1 |
Close
Hashes for simple_fisheye_calibrator-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ca15aee182ccf17df675383a007fafaa21fec4340ab5dba2eef801db113cfadf |
|
MD5 | a6a06a0245b19716e82835f1cc10d0a3 |
|
BLAKE2b-256 | 90b21fd11ecd16de44bf23ce8d9e0eecb961d262db6cf4c44e56fe9f9b714ef7 |