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

Fix pytest error "AttributeError: module 'cv2.omnidir' has no attribute 'projectPoints'" #127

Merged
merged 4 commits into from
Jun 1, 2024

Conversation

falkoschindler
Copy link
Contributor

No description provided.

@falkoschindler falkoschindler merged commit f5c7e18 into advanced_camera_calibration Jun 1, 2024
1 of 3 checks passed
@falkoschindler falkoschindler deleted the test-opencv branch June 1, 2024 05:25
falkoschindler added a commit that referenced this pull request Jul 17, 2024
* add to_array convenience method

* add methods to create a route for undistorted images

* create route for undistorted images on startup

* add fisheye parameter and alternative methods
add methods for un- and redistortion of images and points

* fix fisheye projection and add fisheye calibration

* add fisheye calibration tests

* fix fisheye calibration flags

* explicitly add width and height default values

* uncomment code that rejects points behind camera

* add docstrings

* add center_point property to easily get the translation as a Point3d

* add omnidirectional camera model

* add warning and exception logging

* replace fisheye parameter with new camera_model parameter

* fix pinhole points not being converted to homogeneous coordinates

* handle SE3 arrays as rotation input

* always use perspective undistortion for omni cameras

* convert parameters to the data structures opencv expects

* remove commented-out code

* convert numpy array to list

* minor cleanup

* add class docstrings and use double quotes

* add tests for omnidirectional cameras

* code review

* use correct model type

* add focal_length option to set_perfect_calibration

* Fix pytest error "AttributeError: module 'cv2.omnidir' has no attribute 'projectPoints'" (#127)

* debug opencv error

* poetry lock

* try without headless

* cleanup

* use multiple views in omnidirectional calibration

* use opencv-contrib headless again

* add psmisc install to make sure fuser is available

* Merge branch 'main' into advanced_camera_calibration

* downgrade to previous versions in petry lock

* update contrib-python and add libgl1 import

* update opencv-python to match contrib modules

* make sure opencv is installed before its contrib packages

* add script to install opencv-contrib after opencv and match its version

* improve method order

* code review

---------

Co-authored-by: Falko Schindler <falko@zauberzeug.com>
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