How eyesun23/image-webcam-classifier works
Project type and purpose
• This is a client‐side, single‐page web application built with Angular 8.
• Its sole purpose is to let end users upload an image or open their webcam in the browser, then classify the visual content using TensorFlow.js and the pre‐trained MobileNet model.
File structure
• Top‐level files like angular.json, package.json, .gitignore indicate an Angular workspace.
• src/app contains the core app:
• app.module.ts / app-routing.module.ts
• header/ for a static banner
• image-classifier/ for image‐upload classification
• webcam-classifier/ for live webcam classification
• src/environments holds Angular environment configurations.
• Testing folders (e2e/, src/**/*.spec.ts) use Protractor and Karma for end‐to‐end and unit tests.
README for additional insights
• Confirms Angular 8 front end
• Specifies dependencies: @tensorflow/tfjs, @tensorflow-models/mobilenet
• No backend or server‐side logic—everything runs in the browser