Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

157 provide undistortion example #158

Open
wants to merge 5 commits into
base: develop
Choose a base branch
from

Conversation

FabienDanieau
Copy link
Contributor

Here's two scripts to work on the calibration and distortion:
export_calib.py to get the calib from the cam and two images
python pollen_vision/pollen_vision/camera_wrappers/depthai/calibration/export_calib.py --config CONFIG_IMX296

fisheye_undistort.py to undistort theses images (planar or equirectangular)

python pollen_vision/pollen_vision/camera_wrappers/depthai/calibration/fisheye_undistort.py \
    calibration_20250112_122016.json right_raw_20250112_122031.jpg \
    right_raw_20250112_122031_undistorted.jpg \
    --projection_type planar \
    --output_size 1440 1080 \
    --side right

@FabienDanieau FabienDanieau linked an issue Jan 13, 2025 that may be closed by this pull request
Copy link

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
793 423 53% 0% 🟢

New Files

No new covered files...

Modified Files

File Coverage Status
pollen_vision/pollen_vision/camera_wrappers/depthai/wrapper.py 19% 🟢
TOTAL 19% 🟢

updated for commit: 9fb7495 by action🐍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

provide undistortion example
1 participant