hiukim / mind-ar-js

Web Augmented Reality. Image Tracking, Face Tracking. Tensorflow.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Compile target images on server-side

AbRezaei opened this issue · comments

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.

@hiukim

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

I would be grateful if it is checked.

@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

@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?