[AR] Vumark (Next-generation barcode)

Source: Internet
Author: User
Tags windows 7 x64

Vumark Preparation of knowledge

Description of Vumark: Https://library.vuforia.com/articles/Training/VuMark

Https://library.vuforia.com/articles/Solution/Working-with-VuMarks-in-Unity

SVG authoring Tool: AI (Adobe Illustrator)

SVG viewing tools: IE9 above, Chrome, Firefox class browser, or other viewing software, the following is the AI to view the SVG file, you can see the Vumark property information.

We recommend that you check out the Vumark Demo that comes with Vuforia.

Operating Environment

Vuforia 6.0.112

Unity3d 5.3.6F1

Windows 7 x64

Operation Steps

1, Login Vuforia backstage: https://developer.vuforia.com, create a database, type Vumark

2, click on Add Target , upload an SVG file, this SVG file with an identification point, made by the art according to the relevant production standards

3, download the database (unitypackage file), if you are Android and iOS, please choose another format.

4. Create a new Unity project, import the Vuforia SDK and import the downloaded Unitypackage file into unity

Get Vumark diagram

The next thing to do, is to scan the identification map, to identify, then the identification map from there to get it?

In the background of Vuforia, there is a Generate vumark on the right side of target, which can generate more than n Vumark images through this SVG image file.

Click "Generate vumark", in the pop-up window, enter the ID (100) you want to generate, select the format of the picture, click Download

Click "Generate vumark", in the pop-up window, enter the ID (50) you want to generate, select the format of the picture, click Download

In this way, two vumark graphs of id=100 and id=50 are obtained, which can be used to identify the two images.

The test identifies the maximum and minimum values, which can be correctly identified, and the printed result is as follows:

New vumark:999999999999

New vumark:0

Generate a maximum number of pictures

From the above figure, ID Length = 40, about 2 of the 40-square, in the range: 0 ~ 999 999 999 999, that is, you can generate 999999999999 + 1 Zhang Vumark diagram.

Here is the ID of the generated picture, trying to enter a value that is not in range.

Enter negative numbers

Input exceeds maximum value

Identify successes and losses

From example, you can see that the missing and recognized events are written in the following two files:

VuMarkHandler.cs binding on a separate gameobject
VuMarkEventHandler.cs binding on Vumark

The two scripts are later researched and commented in more detail: Https://github.com/zhaoqingqing/blog_samplecode/tree/master/ar-vr-mr/vuforia/vumark

Related FQ

1. Is it possible to active multiple database at the same time?

In the current 6.0.112 version, my test can not load multiple database simultaneously (including two)

Compare Framemarker with Framemarker

The Framemarker feature map is designed by Qualcomm, as shown in the ID from 0~511, corresponds to 512 images, the difference between the id=1,id=2 two images is the difference between the black and white points of the most outer ring.

Vumark

1, vumark feature map can be customized, can not be black and white point.

2, the maximum ID in the number of increased n times, 0 ~ 999 999 999 999

[AR] Vumark (Next-generation barcode)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.