React Interior AR
npm install react-home-arHome AR
In a project, to get started call the following in the index.tsx
```
// Get upload and segment URLs from env vars (defined in .env.*)
cbInitialize({
directUploadUrl: process.env.REACT_APP_CB_DIRECT_UPLOAD_URL,
getUploadUrlsUrl: process.env.REACT_APP_CB_GET_UPLOAD_URLS_URL,
uploadUrl: process.env.REACT_APP_CB_UPLOAD_URL,
segmentUrl: process.env.REACT_APP_CB_SEGMENT_URL
})
To update, this will auto increment the version number and publish to npm
``
npm publish
from project root:
``
rm -rf node_modules
sudo npm cache clean --force
sudo npm uninstall
sudo npm install git+https://git@github.com/CambrianTech/react-three-fiber.git --no-optional
npm install
```
python [OPENCV_PATH]/platforms/js/build_js.py build_js --config opencv_js.config.py