This project is an example demonstrating how to use the UMD build of the ImageTraining package for creating (zpt) target files.
The example is a simple web application that accepts image file inputs (.png, .jpg, .jpeg) from the user, trains the image, and then provides the trained image as a downloadable .zpt
file which can be used for image tracking.
Open the HTML file in any modern browser and follow these steps:
- Upload an image file by clicking on the file input field.
- Once the image's loaded, the library will begin training the target image.
- Upon completion of processing, a "Download" link becomes visible. Clicking on this link will download the generated .zpt file.
For more detailed information on the @zappar/imagetraining package, please visit the npm package documentation.