How to position sceneform node/model orthogonal to floor while anchor is the camera pose?

49
July 16, 2019, at 2:30 PM

For a university project, I need to render two similar 3D models a bit apart from each other and away from the camera and track those. I handle this with Google ArCore and Sceneform. For future coding, I need to be able to place these models on the side of a car. From openCV I get two-dimensional screen coordinates where you should be able to see the rendered models. Somehow I need to be able to position the 3d models in a way that they are on the coordinates given by openCV (OpenCV detects points on a car). This means I need to get from 2D-Screen Coordinates to 3D-World/Camera-Coordinates.

Things I thought about:

  1. Register the Car as an ArCore-Plane and calculate the fitting position and rotation. The problem --> How do I detect a car like a plane?

  2. Simulating a hit result on the screen using the coordinates given from openCV and rotate the wider side of the model to the camera position. Problem: Simulating a hit result on the car (car has to be a plane too).

  3. If I achieve nothing to get a worse grade by just using manual controls and user input to align properly.

If you need further details and/or have another idea how to solve this problem please let me know.

Thank you in advance, sincerely Daniel

READ ALSO
I have my goDaddy shared web Hosting and I need to host a NuxtJs app

I have my goDaddy shared web Hosting and I need to host a NuxtJs app

I have my nuxt app built and I need to host in my goDaddy shared account

64
How to get predicted value of my linear regression model on html page

How to get predicted value of my linear regression model on html page

I'm preparing machine learning model via django project but I'm not able to get that value via viewspy to html page

41
Slider not drag-able on mobile

Slider not drag-able on mobile

I'm trying to get the below code to work with mobile:

77
Make appear animation for diagonal div using bootstrap 4

Make appear animation for diagonal div using bootstrap 4

I would like to run an animation on 2 diagonal divsThe first one should appear from the right, the second one should appear from the left

84