Comments (2)
I think I figured that out. I might upload some detailed example for people who might want to use but not familiar with cmake
from arucounity.
I suggest use VS2015 instead of VS2017, there is some issue with cl.exe not found.
Part I, configure opencv contrib
- Run
Developer Command Prompt for VS2015
. - Go to cmake.exe folder to run
cmake-gui.exe
. - Assign source and build folder with
<opencv_dir>/source
and<opencv_dir>/build
and click configure. - Choose vs 2015 64bits as the generator. If this window did not show up, delete all caches and try again.
- Find OPENCV_EXTRA_MODULES_PATH and add your
<opencv-contrib-dir>/modules
and click configure. - When you see all options turn white, click generate.
Now you have solutions for opencv library. You can either build solutions through VS2015 or through other IDE.
Part II, generate ArucoUnity.dll
cd <aruco_unity_build_directory>
cmake -DCMAKE_INSTALL_PREFIX=<aruco_unity_install_directory> -DOpenCV_DIR=<opencv_install_directory> -G <generator-name> <aruco_unity_directory>
for example,
cmake -DCMAKE_INSTALL_PREFIX=aruco-unity\install -DOpenCV_DIR=opencv\build\install -G "Visual Studio 14 2015 Win64" aruco-unity\
cmake --build . --config Release --target INSTALL
Then you will have the ArucoUnity.dll in correct folder.
from arucounity.
Related Issues (20)
- Exception: OpenCV(3.4.2) when in ArucoObjectDisplayer.Update () HOT 1
- Runtime Error! TrackMarkers scene.
- Thanks for your great work!
- Incorrect marshalling of native object to managed
- ArUco with OpenCV in unity to detect small size markers HOT 1
- kinect v2 can use this way to calibrate HOT 1
- Webcam not using max resolution during the calibration process. HOT 1
- IOS Platform
- Illegal characters HOT 1
- Add custom camera acquisition
- Which camera profile would i need? HOT 1
- Deploying this project via UWP on a HoloLens 2 HOT 3
- Any plan to support ARM64 ? HOT 5
- Can we use it for Android? HOT 4
- aruco platform
- Tracking Charuco Board not possible HOT 1
- Calibrating Charuco Board size not possible?
- Compilation Issue with VSCode: Unable to Find Package When Building for ARM64
- Distance between two detected Aruco Markers?
- How can I build as an exe file on my windows desktop?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arucounity.