8000 Feature request: javascript version of the new ArtoolkitX. · Issue #83 · artoolkitx/artoolkitx · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Feature request: javascript version of the new ArtoolkitX. #83

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

Open
kalwalt opened this issue May 13, 2019 · 13 comments
Open

Feature request: javascript version of the new ArtoolkitX. #83

kalwalt opened this issue May 13, 2019 · 13 comments
Labels
enhancement New feature or request

Comments

@kalwalt
Copy link
kalwalt commented May 13, 2019

I am not sure if this is a a feature request, honestly i would port it with emscripten but i would to know if you have plan to do this already.
Actually i'm trying to do this but i am not sure if my approach is the best. Since the project has switched to the cmake system the emconfigure ./Configure command can not be used., It should be done with emconfigure and cmake but for now the only result was only to configure the lib.
What should be the best approach for doing this? And waht system apply ? Cmake or rewriting a configure - makefile system?
Thanks in advance,
Walter

@ThorstenBux
Copy link
ThorstenBux commented May 14, 2019 via email

@kalwalt
8000 Copy link
Author
kalwalt commented May 14, 2019

Wow @ThorstenBux ! That's a great news indeed! i see that is also an emscripten branch in the repo...
My attempt instead is here: https://github.com/kalwalt/jsartoolkitX
BTW can't wait to see this!

@ThorstenBux
Copy link
ThorstenBux commented May 14, 2019 via email

@kalwalt
Copy link
Author
kalwalt commented May 14, 2019

@ThorstenBux yes it is, thank you for the answer. 💯

@kalwalt
Copy link
Author
kalwalt commented May 21, 2019

@ThorstenBux any news on this side?

@ThorstenBux
Copy link

@kalwalt first shot here: https://github.com/augmentmy-world/artoolkitX.js
It is a complete rewrite and not an adoption of jsArtoolkit5.

@kalwalt
Copy link
Author
kalwalt commented May 22, 2019

@ThorstenBux thank you! i tested but can't find some files... the artoolkitX.api.js needs a file artoolkitx.js that doen't exist or is not in place. Must build before? but in this case something went wrong with the path:

  1. if i run git submodule update --init i need to change the path inside .gitmodules:
+ [submodule "Source/extras/artoolkitx"]
- [submodule "Source/Extras/artoolkitx"]
+ path = Source/extras/artoolkitx
- path = Source/Extras/artoolkitx
url = git@github.com:artoolkitx/artoolkitx.git

then i run build.sh in the Source folder:

./build.sh
+ test 0 -gt 0
+ '[' ']'
+ echo 'start download of libs'
start download of libs
+ cd /home/walter/kalwalt-github/artoolkitX.js/Source
+ install_plugin
++ cat ../version.txt
cat: ../version.txt: File o directory non esistente
+ VERSION=

probably needs a branch or files not yet in place?

@ThorstenBux
Copy link

enabled issue tracking on the repo. Lets continue the discussion there

@kalwalt
Copy link
Author
kalwalt commented May 27, 2019

For anyone interested there is a WIP PR here augmentmy-world/artoolkitX.js#2

@philip-lamb philip-lamb added the enhancement New feature or request label Mar 17, 2021
@kalwalt
Copy link
Author
kalwalt commented Mar 8, 2025

Hi @philip-lamb does it possible to use artoolkitx latest version 1.1.22 with Emscripten? I'm trying to convert my old project ARToolkitX-ts based on @ThorstenBux artoolkitx_em_2d to new artoolkitx code. I suppose that should be possible but my code can not detect or track anything. I suppose that the problem reside in pushing the video data to the ARController but i'm not sure how to accomplish this task. Can you give me some hints about this? I didn't find any example on the repository. If you prefer i can open a new issue because this one is very old...

@kalwalt
Copy link
Author
kalwalt commented Mar 10, 2025

I discovered that arunityx does support Emscripten, so i suppose it's possible to deploy a Web version with it. Looking into the arunityx code i found a partial solution. I will open an issue if i can't solve my issue.

@philip-lamb
Copy link
Member

@kalwalt Indeed I have compiled the core libraries using Emscripten, but the missing piece to use this in a pure web environment is a video input module capturing from Javascript's webcam API and connecting it into artoolkitX. The necessary support for pushing in video frames from an external source is all done though (and that is what is being used in the Unity plugin for Unity Web Player).

Perhaps I'll have some time to build something soon.

@kalwalt
Copy link
Author
kalwalt commented Apr 18, 2025

@kalwalt Indeed I have compiled the core libraries using Emscripten, but the missing piece to use this in a pure web environment is a video input module capturing from Javascript's webcam API and connecting it into artoolkitX. The necessary support for pushing in video frames from an external source is all done though (and that is what is being used in the Unity plugin for Unity Web Player).

Perhaps I'll have some time to build something soon.

Thank you @philip-lamb for the answer, i stopped developing the code, but you give me the confirm of my suspects. I will try to add this support by myself but i will appreciate if you have the time to build it. I will share of course my result here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants
0