How can i Build Dressing room app by Augmented Reality - android

I Wanted To Develop A Augmented Reality Android Application.That can Be like a Dressing Room App.Anyone can Try for Any dresses Stored in our E-commerce Site The can take an order for Purchased any dresses.
I need some help ..What technique i can use. Which SDK can be better for such type AR application .Which tools can be used(Android Studio or Unity).

You can use Unity very easily. you'll need to download the package 'Vuforia' for using AR with Unity. Read up on Vuforia's documentation pages. For android applications, you can download Android's SDK for AR, and for apple use the Apple ARKit.

Related

Is it possible to embed a Unity game into a Flutter app?

I am creating an app that will require small mini-games as a menu option, and I have created these games in Unity. Ideally, I would like to embed these games into a Flutter project. I have seen tutorials on doing this with Java and Android Studio, and I need to make a decision on which platform I will be using for my internship project. I have several questions about the SDK, but I have posted them separately to keep the answers distinct (and help filter out the noise for anyone searching for these specific answers), and this is one of my main questions.
Specifically, I am following this guide: https://medium.com/#davidbeloosesky/embedded-unity-within-android-app-7061f4f473a
for Android Studio, and was wondering if something similar was possible with Flutter. I am also using Android Studio as my IDE for Flutter, but need to decide if I should stick with Java, or switch to Dart and Flutter (which actually works much better for specific UI elements I need).
If not, is there another way to package a Unity project and a Flutter application together?
You can imagine the whole Flutter app to be rendered on one view of the final native application. It can coexist with native views. So it should definitely be possible to display a native Android/iOS view with Unity content and trigger that from Flutter.
Create a Flutter project and open the Android native part of it (right click the android folder in Android Studio, choose Flutter -> Open Android module).
Create a native Android view there and use platform channels to display it.
Add Unity content to the native view.
https://flutter.io/platform-channels/
As of May 2022, I would like to share an updated information for mobile app developers who are researching this interesting issue. The reason I'm writing this answer is because there was so many development tasks that need to be done before I get the right answer to the above question. A developer researching this subject should work in both Unity, Android Studio and Xcode in order to find a definitive answer to his/her question, and should also know how to develop mobile apps with Flutter. Honestly, if everything had not gone well, my long time development works might have been wasted. In addition to my answer, I would like to give also positive news on the side of Augmented Reality developers who are using Vuforia and investigating the same issue.
Using the magnificent https://github.com/juicycleff/flutter-unity-view-widget repo; in your mobile app developed with Flutter, you can run the game you developed with Unity or the AR app you developed with Unity + Vuforia. You can use the app you developed with Unity, in the Flutter App you developed. They can also communicate each other in the Flutter App. You can pass parameters from your Flutter App to your Unity application in the Flutter App, and you can also pass parameters from your Unity application to the Flutter App. This means, you can pass parameters from your Flutter App's Dart code to the C# code of your Unity work and vice versa. For those who develop AR Apps with Vuforia, I would like to point out that for the scenario I am working on, I use Image Targets. I have same experience on the phone, with the Unity APK and Android Studio APK, they are in the same stability. Of course APK sizes are different, Flutter App APK size is of course bigger than Unity APK, but in my case this is absolutely ok.
As of May 2022, the answer to the above question is: Yes, you can. Moreover, for those who develop AR Apps in Unity using Vuforia, the answer is also: Yes, you can. I wish success to everyone who will start working in this scenario. Since it is a detailed subject, some difficulties are waiting for you on the way, but if you can see that the product you dream to achieve will be a stable Flutter App, with all the nice features, I am sure that you will find the enough motivation to bring all of them together. Good luck.

Augmented reality using phonegap

I'm working in a project that consist in make a Phonegap app to use Augmented reality.
I was looking for some plugins, but most of them are not free.
someone know how could I do it? my app needs to scan a marker and when it was detected, puts with AR an image. Maybe there are an option in which I could integrate a Unity project with phonegap?
The plugins I researched were:
With pay license:
CraftAr http://catchoom.com/product/
Wikitude http://www.wikitude.com
Layar https://www.layar.com/solutions/#sdk
without license:
ARviewer (without documentation and old version) https://github.com/dixon1e/ARviewer-phoneGap

Vuforia SDK Android Studio VS Vuforia Unity

can someone say the difference beetween developing an app with the vuforia sdk in eclipse or android studio vs developing in unity with the vuforia extension?
In terms of performance, app size, and etc...
Edit: I'm doing an app in Unity3D, that uses a lot of 3d resources an high resolution images, but the size of my app is growing a lot, that's why I want to know if there's a notable difference between developing in android studio or Unity3D, so I can migrate my project to Android studio.
NOTE: All my content needs to be packed inside the app, I cannot use a server to send the resources, because the app needs to work in an environment with no internet connection.
late but, may help you
Yes there are multiple SDKs for Vuforia like androidSDK and UnitySDK
Since Unity is a CrossPlatform Development Game Engine, We can Generate android project after completing project in Unity.
Advantages of UnitySDK over androidSDK
Since Unity is GameEngine, we can create rich 3D Environments with better UI.
Easy handling of large graphics
Advantages of androidSDK over UnitySDK
Since you are creating a android app with AR, with android SDK you can create app which is compatible to all the screens , we can apply lots of apis directly into vuforia player
Disadvantages of Both
Unity:
Apps created with unity created in native android , so we need to know NDK development if you want to use unity vuforia player efficiently
Android
not possible to handle rich 3D environments
So I Suggest you better go with Unity and then integrate it in android studio

Differences in developing for IOS and Android (Unity)

I am planning to develop a game both for Android and for IOS. My engine of choice is Unity as it is supposed to support both OSs. Is there going to be any difference at all in the development phase? For example, should I consider the OS in things like storing data like high score, or in things like input type? Or does unity provide an abstraction level for these things, and takes care of everything in the build phase?
Once you make a game in unity you can deploy that on many platform without doing any significant changes. However there will be sometime when you will need some part of your code only run on some specific platform, which you can do like this. Regarding saving data, this may depend on how you want to implement things in your code. You can use playerpref which is supported on all platforms or you can use third party sdk. I think this may have cleared your doubt.
A quote from the Unity website:
There are so many platforms you can deploy to with the Unity game engine, and their number is growing all the time. Build your content once and deploy at a click across all major mobile, desktop and console platforms plus the Web. Use the official Facebook SDK for Unity to integrate cross-platform games with ease, experiment with the Oculus Rift and more.

Computer Vision and AR libraries availabe for Android?

I am starting out as an Android Developer, and I would like to know if there are any Computer vision libraries or Augmented Reality libraries for the Android SDK, as I am planning to use these libraries for a mobile app.
I have read that if I download the NDK, I might be able to "import/use" the C openCV, and ARtoolkit libraries, but I am wondering if this is possible, or if there is a better and easier way of using these tools.
Android apps are programmed in Java, yet OpenCV & ARtoolkit use C/C++. Is there any way to use these libraries?
There are a number of wrappers for OpenCV available. For Java you might check JavaCV out.
To my knowledge, there is GSoC activity on AR with OpenCV on Android, but they seem to use C++.
Qualcomm is working on an Augmented Library for Android. As was mentioned opencv is also an option.
I would like to know if there are any
Computer vision libraries or Augmented
Reality libraries for the Android SDK
In the SDK? No. There are existing AR applications for Android (Layar, WIKITUDE) that you may wish to use as your foundation.
Is there any way to use these
libraries?
A quick search via Google turns up this and this.
Layar has made Layar Vision available to developers:
Layar Vision uses detection, tracking and computer vision techniques
to augment objects in the physical world. We can tell which objects in
the real world are augmented because the fingerprints of the object
are preloaded into the application based upon the user’s layer
selection. When a user aims their device at an object that matches the
fingerprint, we can quickly return the associated AR experience.
[...]
Layar Vision will be applied to the following Layar products:
6.0 version of Layar Reality browser on Android and iPhone iOS platforms.
iPhone Layar Player SDK v2.0.
The first release of an Android Layar Player SDK.
Layar Connect v2.0.
The simplest solution is to create a Vision layer, then use launcher creator for Android to create a layer launching app.
You can code in Java using OpenCV4Android, the official Android port of OpenCV. If you want to use native C++ OpenCV code, check out the Android NDK instead.
There's a new option for CV on Android, the Google Mobile Vision API. The API is exposed through com.google.android.gms.vision and lets you detect various types of objects (faces, barcodes, and facial features) given an arbitrary image bitmap.
In addition, Google provides the Cardboard VR library and a Unity plugin to make it easier for you to develop VR applications - such applications could include AR based on Mobile Vision if you integrated the phone's camera.
Now Google offers us 2 powerful SDKs: ARCore and ML Kit.
ARCore API has such important features as Augmented Images, Augmented Faces and Cloud Anchors. It supports Kotlin/Java languages, debugging apps on Emulator (AVD) and physically based rendering (PBR) with a help of Sceneform.
ML Kit API brings Google’s machine learning expertise to mobile developers in a powerful and easy-to-use package. Although ML Kit is still in beta stage it allows you to work with such important features as: Image Labelling, Text Recognition, Face Detection, Barcode Scanning, and Landmark Detection.

Categories

Resources