How to generate zpt file rather than zap works?


#1

Could I generate zpt file freely by myself with some SDK like kit in npm provided.


#2

Hi @liulong9892,

We have two npm packages that can generate .zpt s for you :slight_smile:


#3

Thank you. :+1:


#4

Can i use this package with react project?


#5

Hi @nowfalsalam,

I replied directly to your email. I’m adding the answer here to help with anyone else that might have a similar question:

Our image-training package only runs on node/server side. If you want to train images “on the fly” then you’ll need to build a backend service which will get send the image, then you can train it to convert it to a .zpt file and then return that .zpt file.

Hope this helps.

George