# 6DoF - Flat AR Capabilities
# Method Definition
6DoF - Planar AR capabilities, providing basic AR capabilities, providing 6 degrees of freedom of positioning for rotation and translation.
IncludingV1andV2are two algorithms for different scenarios, and the two flat AR capabilities have advantages and disadvantages. The user can determine the type of interface to call according to the applicable scenario and product requirements, as follows:
- V1 plane interface, suitable for users in a plane scene, such as desktop, ground, pan-plane scene, place virtual objects, do not provide real world distance. When the user places an object, the phone camera tilts down to the target plane and clicks on it, which is supported by a wide range of models.
- V2 plane interface, provide real physical distance AR positioning function, provide plane recognition function, the user click on the plane to place the function of virtual objects, with limited support models.
# Capacity expansion
On theV2plane, a variety of extensions can be configured to enable, such as:
- Marker recognition ability, that is, the recognition of multiple different recognition targets in plane space.
- The ability to mask reality, that is, the ability to block the interaction between virtual objects and the real world.
For more details on the effects and switch configuration, see Flat AR capability expansion .
# How to open V1 or V2
The initial implementation is determined by VKSession configuration version.
const session = wx.createVKSession({
track: {
plane: {
mode: 1
},
},
version: 'v2' // 在满足设备条件时开启,否则会使用 v1
// version: "v1" 强制开启v1
})
For the complete VKSession configuration, see VKSession configuration reference .
# V1 vs. V2
| Interface Type | Flat Testing | The real distance | Initialization speed | Model coverage | electric consumption | accuracy | Multiple object positioning effects | A variety of scaling capabilities |
|---|---|---|---|---|---|---|---|---|
| V1 | nothing | nothing | fast | high | low | in | good | nothing |
| V2 | Yes | Yes | slow | low | high | high | excellent | Yes |
# Example of application scenarios
V1 Flat Demo

V2 Flat Demo

V2 plane + virtual and real occlusion demo

# Program Examples
- You can view the sample code on the V1 plane page.
- You can view the sample code on the V2 plane page.
- Can be in V2 plane + virtual and real occlusion The page looks at the sample code and experiences it in **Interface - VisionKit Vision Capabilities - horizontal AR-v2-false mask]] in [[TAG-1END]] in the Weixin Mini Program example.
# appendix
# V1 Flat Interface System Requirements
- IOS model requirements: iphone 6s and above models
- Android Model Requirements: Android 7.0, Android SDK 24 and above
# V2 Flat AR Interface Support List
IOS model requirements: iphone 7 and above
Android models support will gradually increase, such as the test model effect error can be forum feedback, currently supported models include:
| Mobile phone manufacturers | Mobile phone model |
|---|---|
| Hi | Hi nova 9 |
| OPPO | OPPO A32 |
| OPPO | OPPO A53 |
| OPPO | OPPO A57 |
| OPPO | OPPO A72 5G |
| OPPO | OPPO A92s |
| OPPO | OPPO A93s |
| OPPO | OPPO A93 |
| OPPO | OPPO A95 |
| OPPO | OPPO Ace2 |
| OPPO | OPPO Find X2 |
| OPPO | OPPO Find X3 Pro |
| OPPO | OPPO Find X3 |
| OPPO | OPPO Find X5 Pro |
| OPPO | OPPO Find X5 |
| OPPO | OPPO K10 Pro |
| OPPO | OPPO K10 Pro |
| OPPO | OPPO K10x |
| OPPO | OPPO K10 |
| OPPO | OPPO K3 |
| OPPO | OPPO K5 |
| OPPO | OPPO K9 Pro |
| OPPO | OPPO Pad |
| OPPO | OPPO R15 |
| OPPO | OPPO R17 |
| OPPO | OPPO Reno 10x Zoom Edition |
| OPPO | OPPO Reno Ace |
| OPPO | OPPO Reno Z |
| OPPO | OPPO Reno2 |
| OPPO | OPPO Reno3 Pro 5G |
| OPPO | OPPO Reno3 |
| OPPO | OPPO Reno3 |
| OPPO | OPPO Reno4 |
| OPPO | OPPO Reno5 K |
| OPPO | OPPO Reno5 Pro+ |
| OPPO | OPPO Reno5 |
| OPPO | OPPO Reno6 Pro+ |
| OPPO | OPPO Reno6 Pro |
| OPPO | OPPO Reno6 |
| OPPO | OPPO Reno7 Pro |
| OPPO | OPPO Reno7 SE |
| OPPO | OPPO Reno7 |
| OPPO | OPPO Reno8 Pro+ |
| OPPO | OPPO Reno8 Pro |
| OPPO | OPPO Reno8 |
| OPPO | OPPO Reno9 Pro+ |
| OPPO | OPPO Reno |
| OPPO | Oppo A11 |
| OPPO | Oppo K7x |
| OPPO | Oppo Reno2 Z |
| OPPO | Oppo Reno5 Pro |
| ROG | ROG Game Mobile 2 Elite Edition |
| Realme | Realme C11 (2021) |
| Realme | Realme GT Neo 5 |
| Realme | Realme X7 Pro |
| Samsung | Samsung Galaxy Note10+(855) |
| Samsung | Samsung Galaxy S10+ |
| Samsung | Samsung Galaxy S10 |
| VIVO | VIVO IQOO |
| VIVO | VIVO S7 |
| VIVO | Vivo X90 |
| VIVO | Vivo Z5x |
| VIVO | Vivo iQOO 11 Pro |
| VIVO | Vivo iQOO Neo7 Racing |
| VIVO | vivo IQOO NEO6 SE |
| VIVO | vivo NEX 3 |
| VIVO | vivo NEX |
| VIVO | vivo Pad |
| VIVO | vivo S10 |
| VIVO | vivo S12 Pro |
| VIVO | vivo S12 |
| VIVO | vivo S15 Pro |
| VIVO | vivo S15e |
| VIVO | vivo S15 |
| VIVO | vivo S16e |
| VIVO | vivo S16 |
| VIVO | vivo S5 |
| VIVO | vivo S6 |
| VIVO | vivo S9e |
| VIVO | vivo S9 |
| VIVO | vivo T1 |
| VIVO | vivo X27 |
| VIVO | vivo X30 Pro |
| VIVO | vivo X30 |
| VIVO | vivo X50 Pro |
| VIVO | vivo X50 |
| VIVO | vivo X60 Pro |
| VIVO | vivo X60 |
| VIVO | vivo X70 Pro |
| VIVO | vivo X70 |
| VIVO | vivo X80 |
| VIVO | vivo Y52s |
| VIVO | vivo Y53s |
| VIVO | vivo Y70s |
| VIVO | vivo Y73s |
| VIVO | vivo Z5 |
| VIVO | vivo iQOO 3 5G |
| VIVO | vivo iQOO 5 5G |
| VIVO | vivo iQOO Neo |
| VIVO | vivo iQOO Pro |
| iQOO | iQOO 10 Pro |
| iQOO | iQOO 10 |
| iQOO | iQOO 11 |
| iQOO | iQOO 7 |
| iQOO | iQOO 8 Pro |
| iQOO | iQOO 8 |
| iQOO | iQOO 9 Pro |
| iQOO | iQOO 9 |
| iQOO | iQOO Neo 855 |
| iQOO | iQOO Neo3 |
| iQOO | iQOO Neo5 SE |
| iQOO | iQOO Neo5S |
| iQOO | iQOO Neo5 |
| iQOO | iQOO Neo6 |
| iQOO | iQOO Neo7 SE |
| iQOO | iQOO Z1x |
| iQOO | iQOO Z1 |
| iQOO | iQOO Z3 |
| iQOO | iQOO Z5x |
| iQOO | iQOO Z5 |
| iQOO | iQOO Z6 |
| realme | realme GT Neo2T |
| realme | realme GT Neo2 |
| realme | realme GT Neo3 |
| realme | realme GT Neo |
| realme | realme GT |
| realme | realme Q3 Pro |
| realme | realme Q3 |
| realme | realme V15 |
| realme | realme X2 Pro |
| OnePlus | OnePlus 11 |
| OnePlus | OnePlus Ace 2V |
| OnePlus | OnePlus Ace 2 |
| OnePlus | OnePlus 10 Pro |
| OnePlus | OnePlus 7 Pro |
| OnePlus | OnePlus 7 T Pro |
| OnePlus | OnePlus 7 T |
| OnePlus | One Plus 7 |
| OnePlus | OnePlus 8 Pro |
| OnePlus | OnePlus 8 T |
| OnePlus | One plus 8 |
| OnePlus | OnePlus 9 Pro |
| OnePlus | OnePlus 9RT |
| OnePlus | OnePlus 9 R |
| OnePlus | One plus 9 |
| OnePlus | OnePlus Ace Pro |
| OnePlus | OnePlus Ace Racing Edition |
| OnePlus | OnePlus Ace |
| Nubia | Nubian Red Devils 3 |
| Nubia | Nubian Red Devils 6 |
| Huawei | HUAWEI Mate50 Pro |
| Huawei | HUAWEI Mate50 |
| Huawei | HUAWEI MatePad Pro 11 inch |
| Huawei | HUAWEI nova 10 SE |
| Huawei | Huawei Mate 30 5G |
| Huawei | Huawei Mate 30 RS Porsche Design |
| Huawei | Huawei Mate 30E Pro 5G |
| Huawei | Huawei Mate 40 Pro+ |
| Huawei | Huawei nova 6 5G |
| Huawei | Huawei Mate 20 Pro |
| Huawei | Huawei Mate 9 |
| Huawei | Huawei Mate 20X |
| Huawei | Huawei Mate 20 |
| Huawei | Huawei Mate 30 Pro |
| Huawei | Huawei Mate 30 |
| Huawei | Huawei Mate 40 Pro |
| Huawei | Huawei Mate 40E |
| Huawei | Huawei Mate 40 |
| Huawei | Huawei Mate Pad 10.8 |
| Huawei | Huawei Mate Pad 11 |
| Huawei | Huawei Mate Pad Pro |
| Huawei | Huawei Mate Pad Pro |
| Huawei | Huawei P20 |
| Huawei | Huawei P30 Pro |
| Huawei | Huawei P30 |
| Huawei | Huawei P40Pro + |
| Huawei | Huawei P40Pro |
| Huawei | Huawei P40 |
| Huawei | Huawei P50 Pro |
| Huawei | Huawei P50 Pro |
| Huawei | Huawei nova 10 Pro |
| Huawei | Huawei nova 10 |
| Huawei | Huawei nov4e |
| Huawei | Huawei nova 4 |
| Huawei | Huawei nova 5 Pro |
| Huawei | Huawei nova5iPro |
| Huawei | Huawei nova 6 |
| Huawei | Huawei nova 7 5G |
| Huawei | Huawei nova 7 Pro 5G |
| Huawei | Huawei nova 7 Pro |
| Huawei | Huawei nova 7 |
| Huawei | Huawei nova 8 Pro |
| Huawei | Huawei nova 8 |
| Huawei | Huawei nova 9 Pro |
| Huawei | Huawei nova 9 |
| Huawei | Huawei Tablet M6 8.4 inches |
| Huawei | Huawei enjoy 10 Plus |
| nut | Nugget Pro 3 |
| millet | Redmi K20 Pro |
| millet | Redmi K30 5G |
| millet | Redmi K30S |
| millet | Redmi K40 Pro |
| millet | Redmi K40S |
| millet | Redmi K40 |
| millet | Redmi K50 Pro |
| millet | Redmi K50 Ultra |
| millet | Redmi K60 Pro |
| millet | Redmi K60 |
| millet | Redmi Note 10 Pro |
| millet | Redmi Note 11T Pro+ |
| millet | Redmi Note 11 |
| millet | Redmi Note 12 Pro |
| millet | Redmi Note 9 5G |
| millet | Xiaomi 13 Pro |
| millet | Xiaomi 13 |
| millet | Xiaomi Mi 10 Ultra |
| millet | Xiaomi Redmi K30 Pro |
| millet | Xiaomi Redmi K30 |
| millet | Xiaomi Redmi Note 9 Pro 5G |
| millet | Xiaomi 9 |
| millet | Mi 10 Pro |
| millet | Mi 10 S |
| millet | Xiaomi 10 |
| millet | Xiaomi 10 Youth Edition |
| millet | Mi 11 Pro |
| millet | Mi 11 Ultra |
| millet | Xiaomi 11 |
| millet | Xiaomi 11 Youth Edition |
| millet | Mi 12 Pro |
| millet | Mi 12 S Pro |
| millet | Mi 12 S Ultra |
| millet | Mi 12 X |
| millet | Xiaomi 12 |
| millet | Xiaomi 8 |
| millet | Xiaomi Civi 1S |
| millet | Xiaomi MiX4 |
| millet | Xiaomi Tablet 5pro |
| millet | Xiaomi Tablet 5 |
| millet | Redmi K30 Ultra |
| millet | Redmi Note 11T Pro |
| association | Lenovo small new Pad |
| association | Lenovo Savior Y700 |
| association | Lenovo Saver Gaming Phone Pro |
| glory | Honor80 Pro |
| glory | Honor80 |
| glory | Glory 20 S |
| glory | Glory 20 |
| glory | Honor 30 Pro + |
| glory | Glory 30 S |
| glory | Glory 30 |
| glory | Glory 50 Pro |
| glory | Glory 50 |
| glory | Honor 60 Pro |
| glory | Glory 60 |
| glory | Glory 70 Pro |
| glory | Glory 70 |
| glory | Honor 9X |
| glory | Glory Magic3 |
| glory | Glory Magic4 Pro |
| glory | Glory Magic4 |
| glory | Glory V20 |
| glory | Glory V30 PRO |
| glory | Glory V30 |
| glory | Glory V40 |
| glory | Glory X10 |
| glory | Glory X30 |
| glory | Honor X40 GT |
| glory | Glory X40 |
| glory | Glory Tablet V6 |
| glory | Honor Tablet V7 Pro |
| Black shark | Black Shark 5RS |
| Black shark | Black Shark Game Mobile 2 Pro |
| Black shark | Black Shark Gaming Phone 2 |
| Black shark | Black Shark Gaming Phone 3 |
| Black shark | Black Shark Gaming Phone 4 |