opencv / opencv/opencv-python

Cannot import module SFM

Open
#301 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
5.4k
Forks
1k
Avg merge
22h 17m
Merged PRs (30d)
3

Description

Expected behaviour

SFM module and functions should be usable with python due to being included in the contrib package.

Actual behaviour

When i install the contrib package i can not import the module cv2.sfm.

Steps to reproduce
  • opencv-contrib-python version: 4.2.0.32

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the import failure with opencv-contrib-python version 4.2.0.32 and the entry point cv2.sfm. Inspect how the contrib package is assembled and verify whether the module is included. Done means cv2.sfm and its SFM functions can be imported from the installed contrib package.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.