• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by JuanVR · Oct 04, 2016 at 10:18 AM · augmented-realityaugmented realityaugmentedreality

Augmented Reality engine that can be feeded by default camera from Unity?

I would like to use the default camera in a Unity scene as source to detect the AR triggers instead the camera that come with the device. Vuforia at least can not do it. Does anyone here knows about another engine that support this feature? or another aproach?

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

4 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by CasperK · Oct 04, 2016 at 01:11 PM

I'm having trouble understanding your question,

what I'm getting from this is that you want to use a Unity camera in a Unity scene to "Detect" triggers like QR codes in the Unity scene, which doesn't make any sense to me.

Do you want to AR without the AR?

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image JuanVR · Oct 04, 2016 at 03:00 PM 0
Share

Sorry @Casperk, maybe I should explain a bit more my setup. I have already a unity scene playing a 360 live video streaming. So basically I'm in the center of an inverted sphere with a video projected on the object and stereo rendering, I'm trying to be able to detect markers inside the live video.

avatar image
0

Answer by joker999 · Oct 04, 2016 at 02:24 PM

I usually just delete the default camera when I do AR. Note that the camera that Vuforia gives you is basically the default camera just has their AR API attached to it, so you could theoretically do the same.

But I recommend deleting the Main/Default camera then just under the "Tag" field of the Vuforia camera for example click the drop box and select MainCamera. Unless I also am not understanding your question.

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image JuanVR · Oct 04, 2016 at 03:11 PM 0
Share

Vuforia plugin reads the list of devices directly from the O.S. and you can only select the device camera to take the video input, so you are not allowed to inject video from any source different than a physical video device. I would like to inject in an AR Camera a Render Texture from a unity camera.

avatar image
0

Answer by GeminiDeveloper · Oct 04, 2016 at 02:24 PM

I'm not experienced at AR but I'm assuming that AR works with image processing to detect "AR triggers". If you use the camera to detect the triggers, AR engine uses device camera's texture.

Basically you can manually send any camera's render texture to the AR engine, so it can process and detect the triggers as you mentioned. But not entirely sure if it will work. @JuanVR

Comment
Add comment · Show 3 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image JuanVR · Oct 04, 2016 at 03:17 PM 0
Share

That's the thing I'm looking for. But at least the AR engine I was using takes the texture to process directly from the device and doesn't let you inject a Render Texture.

avatar image GeminiDeveloper JuanVR · Oct 05, 2016 at 07:41 AM 0
Share

Did you contact Vuforia for this issue? You can request to access the texture feeding function to use in your project. $$anonymous$$aybe it is possible.

avatar image GeminiDeveloper JuanVR · Oct 05, 2016 at 12:27 PM 0
Share

Also you can convert RenderTexture to a Texture2D via script, then you can inject the texture to the AR engine. There are multiple threads how to do this. @JuanVR

avatar image
0

Answer by from2001 · Aug 14, 2018 at 12:02 AM

@JuanVR Did you find a solution of this topic? I'd like to make the same thing with my smartphone.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

7 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Will AR Objects Move With The Plane They're Placed On?,Can AR Objects Move With The Plane They're Placed On? 0 Answers

Is it possible to create augmented reality applications for sites using unity? 0 Answers

Vuforia, how to show multiple things on same images 0 Answers

Can't open front camera while using ARCore with the back camera on some devices 0 Answers

Face tracking compatibility with iOS older than iPhoneX 0 Answers

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges