Skip to content

Commit 5bc70be

Browse files
committed
major refactor, added three method of doing pose estimation
1 parent de977c2 commit 5bc70be

File tree

4 files changed

+548
-296
lines changed

4 files changed

+548
-296
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ img_pts, obj_pts = obj.match_image_points(rgb_image, mask)
5656
real_pts, valid_indices = obj.estimate3d(img_pts, depth_image, camera_matrix)
5757

5858
# Estimate transformation
59-
R, t = obj.estimate_transform(obj_pts[valid_indices], real_pts)
59+
R, t = obj.estimate_transform(obj_pts[valid_indices], real_pts[valid_indices])
6060
```
6161

6262
## File Structure

momped/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
from .object3d import Object3D
2-
from .utils import detect_sift_features, find_matching_points
2+
from .utils import *
33

44
__version__ = "0.1.0"
55
__all__ = ['Object3D', 'detect_sift_features', 'find_matching_points']

0 commit comments

Comments
 (0)