mirror of
https://github.com/wassname/scikit-image.git
synced 2026-08-12 12:30:16 +08:00
Absolute path fix
This commit is contained in:
committed by
Johannes Schönberger
parent
3a0cebed9f
commit
94d9066700
@@ -10,7 +10,7 @@ import os
|
||||
from libc.math cimport sin, cos, round
|
||||
|
||||
|
||||
pos = np.loadtxt(os.path.join(os.path.dirname(__file__),
|
||||
pos = np.loadtxt(os.path.join(os.path.dirname(os.path.abspath(__file__)),
|
||||
"orb_descriptor_positions.txt"), dtype=np.int8)
|
||||
pos0 = np.ascontiguousarray(pos[:, :2])
|
||||
pos1 = np.ascontiguousarray(pos[:, 2:])
|
||||
|
||||
Reference in New Issue
Block a user