https://github.com/kalwalt/markerlessarjs
Markerless AR based on https://github.com/ahmetozlu/augmented_reality
https://github.com/kalwalt/markerlessarjs
augmented-reality markerless opencv webar
Last synced: 7 months ago
JSON representation
Markerless AR based on https://github.com/ahmetozlu/augmented_reality
- Host: GitHub
- URL: https://github.com/kalwalt/markerlessarjs
- Owner: kalwalt
- Created: 2019-08-06T14:40:09.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2024-11-07T17:10:35.000Z (over 1 year ago)
- Last Synced: 2025-02-02T06:23:48.963Z (over 1 year ago)
- Topics: augmented-reality, markerless, opencv, webar
- Language: C++
- Homepage:
- Size: 49.4 MB
- Stars: 7
- Watchers: 3
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MarkerlessARJS
Markerless AR based on https://github.com/ahmetozlu/augmented_reality and https://github.com/MasteringOpenCV/code
This is a project to port the original code to javascript using emscripten.
These are the classes ported to JavaScript:
- CameraCalibration
- ARPipeline
- Transformation
- and other useful functions...
## Example
Two examples are provided in the *examples* folder. You need to run the examples with an http server. The `MarkerlessARJS_basic_example.html` will display in the browser a sphere and a blue rectangle around it; look also in the console with some useful information.
Instead the `MarkerlessARJS_webcam_example.html` will display a sphere onto the pinball image (included in the project).
Note that you need to rebuild the whole project with Emscripten only if you modify the C++ code and after build the dist library with the command:
`npm run build-es6`
## Dependencies
- OpenCV 4.7.0
- OpenCV_contrib 4.7.0
- Emscripten emsdk 3.1.26
## Next features
- [x] js library wih all the classes and functions from the project as a separate bundle.
- [x] ES6 version of the library.
- [x] 3d rendering example with three.js library. (partial working example...)