lemoun

Results 8 comments of lemoun

Strangely, compression through `imwrite` doesn't work after the `resize()` method has been called on the image file. @stoefln solution works well in this case.

Are you sure contrib modules were included during installation ? Algorithms such as SIFT and SURF are inside contrib modules.

It seems to be related to the new automatic peer dependencies installation of npm 7. Try to disable it with the `--legacy-peer-deps` flag.

Thanks for this workaround. For now, I will just stick with node version 14 and npm version 6. A fix would require to make opencv4nodejs peer dependencies compliant with npm...

Thank you @nickw1 for your help. I have searched for the camera type, and it looks like an [OrthographicCamera](https://github.com/AR-js-org/AR.js/blob/91e73f483b0dd3a7c3a62d773722f7850b37ee1e/aframe/build/aframe-ar-location-only.js#L653) is being initialized with the AFRAME component 'arjs-webcam-texture'. My `a-scene` property...

A workaround is to scale the object in the `_updatePosition` function: ``` const distanceAbsolute = Math.abs(position.z)); const scaleValue = distanceAbsolute / 10; this.el.object3D.scale.set(scaleValue, scaleValue, scaleValue); ``` A cleaner solution would...

![ar location scale object](https://user-images.githubusercontent.com/60708346/158818217-d0dda798-2f7a-464d-bf67-cf9a61ab26b7.png) Someone shared another work around for this problem on Gitter some time ago. I didn't tried his solution, I'm sticking to the one I proposed earlier...

The Gitter solution seems related, by making far away places to be displayed, but I haven't tried his solution so I may be mistaking. I've put the code inside the...