Instagram AR-Filter, which mimics real AI object detection / recognition. Users can change the label via tapping on the frame. Tapping on the percentage value of detection probabillity changes the value behavior (100%'ish, 0%'ish, 0%, 100%)
OK then. You'll find a nice folder structure for your project, already filled with the original Spark AR Assets! Just save your Spark Project inside "/spark-project/" and have fun!
-
npm install
to install the depencies. Use npm to install other plugins. -
Do your magic in
/scripts/script.js
. -
npm run dev
will watch for changes and copy automagical to/spark-project/scripts/
-
npm run build
will bundle your script, minimize it and paste it to/spark-project/scripts/