hiukim / mind-ar-js

Web Augmented Reality. Image Tracking, Face Tracking. Tensorflow.js
MIT License
2.14k stars 394 forks source link

You may need an appropriate loader to handle this file type. #348

Closed aenoriss closed 1 year ago

aenoriss commented 1 year ago

I am having the problem shown in the capture below when trying to import the ThreeJS image tracking module into my React project (used Create-React-App and Eslint). Any help would be appreciated =)

image

chansk131 commented 1 year ago

If you are using v1.2.0, I think you just need to change how you import the library by removing

import 'mind-ar/dist/mindar-image.prod.js';

Read more: https://hiukim.github.io/mind-ar-js-doc/installation#image-tracking-1