Introduction to TensorFlow
When I need to research a new framework or technique, I find it very helpful to create a small application for it so that I can test it in complete isolation. We’re going to apply the same approach with TensorFlow. The original idea is that we create an app using the object recognition library (https://github.com/tensorflow/tfjs-models/tree/master/coco-ssd) and apply the model to images from the camera on our device.
Setting up the project
Let’s use a familiar framework to quickly build some boilerplate for our new project. We’ll use the Vuetify CLI to create a new project for us:
- Run
npm create [email protected]
in the command-line interface. - Choose
vue-tensorflow
as the project’s name. - Use the
Essentials (Vuetify, VueRouter,
Pinia)
installation. - Select
TypeScript
using the arrow keys. - Select
npm
to install the dependencies.
If you navigate to the new project folder, you can run the local development...