Based from this guide on the ARToolkit website, the default marker border thickness is at 25%. I want to change it to 20% and also maybe by 15%. Is it possible to modify it? If possible, then how?
Change default border thickness of a square marker in ARToolkit
447 Views Asked by Angelo Joseph Salvador At
1
There are 1 best solutions below
Related Questions in JAVASCRIPT
- Using Puppeteer to scrape a public API only when the data changes
- inline SVG text (js)
- An array of images and a for loop display the buttons. How to assign each button to open its own block by name?
- Storing the preferred font-size in localStorage
- Simple movie API request not showing up in the console log
- Authenticate Flask rest API
- Deploying sveltekit app with gunjs on vercel throws cannot find module './lib/text-encoding'
- How to request administrator rights?
- mp4 embedded videos within github pages website not loading
- Scrimba tutorial was working, suddenly stopped even trying the default
- In Datatables, start value resets to 0, when column sorting
- How do I link two models in mongoose?
- parameter values only being sent to certain columns in google sheet?
- Run main several times of wasm in browser
- Variable inside a Variable, not updating
Related Questions in ARTOOLKIT
- How can I get/create camera calibration files for jsartoolkit?
- How to use artoolkitx_genMarkerSet in artoolkitx?
- where can I find the ARToolKit v6 source code?
- Why does my video only play sound and no video with ARJS?
- AR Image Tracking: Unable to create NFT feature and image sets with Carnaux's Node.js app
- Unity Android Build Works in Mono but Fails in IL2CPP due to Undefined References, Missing Library
- OpenGL ES: Rotate the complete scene to match portrait mode
- Using OpenCV in ARToolkit5 (Linux)
- Is Aruco a good Marker for high precision pose etimation? If so which dictionnary should i use?
- How to improve marker detection on mobile browser with AR.js
- Issue with webpack in production mode ( minification issue )
- Aframe Multiple Pattern Ratio
- react-web-ar - Rendering component containing AFrameRenderer gives Uncaught Error
- How is marker recognition done in ar.js? How can we improve recognition efficiency?
- Using AFrame And ARJs I Want To Augment An Image On A Marker . When I Click Or Touch (Desktop & Mobile) The Image Then It Should Navigate To An URL
Related Questions in JSARTOOLKIT
- AFrame - Is it possible to replace the marker with a custom image without the black border?
- Any way to handle more than one multimarker area in AR.js / A-Frame?
- jsartoolkit fails with typeerror: artoolkit.setup is not a function
- Rendering an iframe onto an AR marker using CSS3DRenderer and jsartoolkit
- Change default border thickness of a square marker in ARToolkit
- Implement custom marker - jsartoolkit5
- Select rear camera on Android device - jsartoolkit5
- Error - Getting Unable to start AR tracking Please check that you have a camera connected error
- AR.js distorted perspective: How to use a personalized camera calibration file `camera_para.dat` so that the "floor" plane is horizontal?
- JsARtoolkit Alpha video
- I Want To Load Entity To Animate
- In A-Frame Ar.Js When We Load A Video on A Pattern, I Want Some Progress Bar Buffering (Like Youtube Video Navigator Controls) Controls
- In AR.js When Load Model ,Show A Loading Screen
- How to get marker position (x,y) AR.js
- Issue with webpack in production mode ( minification issue )
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
As you haven't specified the language I assume you are using ARToolKit in C. But the function to change the border width is also exposed to Android and iOS.
- mk_patt can now train markers with non-standard border widths. The command line switch "-border=n" (n between 0 and 0.5 (not inclusive)) specifies the desired border width as a proportion of the marker width. The portion of the marker which will be used as the pattern is now indicated by mk_patt by outlining in blue. Note that in order to use markers with non-standard border widths, the border width must be specified in the application by using the arSetBorderSize() function (see reference documentation for more information.)(source: https://github.com/artoolkit/artoolkit5/blob/47d5796eef841e11f54e6d7040f389063c05b5a3/ChangeLog.txt) Note: that the arSetBorderSize() is deprecated and you should usearSetPatRatio()insteadHere is the definition of the function you need to use: https://github.com/artoolkitx/artoolkit5/blob/47d5796eef841e11f54e6d7040f389063c05b5a3/include/AR/ar.h#L772
=== Edit 1: ===
As @Angelo Joseph Salvador now specified that he is looking for the solution of JSARToolKit it can be done using this function https://github.com/artoolkitx/jsartoolkit5/blob/master/js/artoolkit.api.js#L929
on an existing ARController object.