hiukim / mind-ar-js

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

Compile target images on server-side #493

Open AbRezaei opened 5 months ago

AbRezaei commented 5 months ago

Is it possible to compile target images server-side instead of client-side?

Due to the resources that compiling the target images requires, I plan to implement a service using NodeJs and the compilation will be done by this service on the server instead of on the browser.

I checked this example. When I do this in a regular function, it compiles correctly. But when I use NodeJs Worker, every time the compilation is done, the app crashes.

Any advice would be helpful.

AbRezaei commented 5 months ago

@hiukim

This repo is a project I created as an example. Node version: 18.17.1

I would be grateful if it is checked.

tonycesar commented 2 months ago

@hiukim

This repo is a project I created as an example. Node version: 18.17.1

I would be grateful if it is checked.

Thanks, works for me

632366134 commented 1 month ago

@hiukim

此存储库是我作为示例创建的项目。节点版本:18.17.1

如果检查,我将不胜感激。

Hello, how can I integrate this into the front-end page and automatically compile it when uploading? Do I need to use nodejs to start the back-end?