damianofalcioni / js-aruco2

Pure Javascript porting of ArUco, a library for camera pose estimation using squared markers
Other
67 stars 22 forks source link

POS not importable #3

Open JerryLingjieMei opened 1 year ago

JerryLingjieMei commented 1 year ago

Hi, I am working on 3D pose estimation. After I add the package with

npm install https://github.com/damianofalcioni/js-aruco2\#master

And try to import AR and POS into my vue component with

import {AR, POS} from "js-aruco";

AR is imported but not POS. I think the issue comes from the 'main' from packages.json where the entry point does not lead to posit1.js. Can you help with the issue of importing POS?

Maximvdw commented 12 months ago

Any update on this issue :( ? It can be solved by importing posit1 or 2 manually but this should be solved with an index.js that imports both aruco, cv and posit