Skip to content

fix: add missing cv2 import for SIMPLE_RADIAL undistortion - #122

Open
andrewwhitecdw wants to merge 1 commit into
NVlabs:mainfrom
andrewwhitecdw:bugfix/dataset-readers-add-missing-cv2-import-for-simple
Open

fix: add missing cv2 import for SIMPLE_RADIAL undistortion#122
andrewwhitecdw wants to merge 1 commit into
NVlabs:mainfrom
andrewwhitecdw:bugfix/dataset-readers-add-missing-cv2-import-for-simple

Conversation

@andrewwhitecdw

Copy link
Copy Markdown

Problem

fix: add missing cv2 import for SIMPLE_RADIAL undistortion

Fix

Replace:

from PIL import Image
from typing import NamedTuple

with:

from PIL import Image
import cv2
from typing import NamedTuple

Files changed

  • scene/dataset_readers.py

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.

1 participant