AutiMate: Early Stage Autism Screening & Therapy Platform

AI-Powered Microservices Application

Imran Hossen

University College Dublin

autism-screening serverless microservices spring-boot vuejs

Description

This project presents AutiMate, a multi-service web platform designed to facilitate fast, accessible, and reliable early-stage autism screening and interactive therapy for children. AutiMate allows parents to fill out behavioral questionnaires and upload brief video clips of their child. The platform processes these videos using a serverless 3D Transformer classification pipeline. For home therapy, AutiMate features a real-time drawing feedback system powered by Gemini, converting AI responses into speech to guide kids as they learn to draw shapes and objects.

Overview

AutiMate is an end-to-end application aimed at assisting parents in early autism screening and providing interactive, audio-guided home drawing therapies for children.

Behavioral Analysis System Design
Figure 1: High-level overview of the video classification and microservice system design.

Technical Architecture

The platform is designed around a scalable, cost-efficient microservices architecture consisting of four key services:

  1. Frontend (VueJS): Provides an intuitive, kid-friendly portal for parents to fill out questionnaires, upload videos, and participate in drawing therapies.
  2. Backend (Java Spring Boot): Manages user accounts, authentication, questionnaire answers, and coordinates between microservices.
  3. Database (MongoDB): Stores user metadata, behavioral responses, and historical reports.
  4. Behavioral Video Analysis (Modal Serverless): A serverless Python/PyTorch/ONNX worker that runs the 3D Transformer classifier.

The Power of Serverless Video Classification

Running heavy 3D ConvNets or Transformers directly on the main backend server block would freeze the CPU, hindering other incoming requests. By decoupling the video model into a serverless function (deployed on Modal.com), the platform scales dynamically to zero when idle, saving costs, and boots instantly to analyze uploads in parallel.


Interactive Therapy & Real-Time Feedback

To engage children in developmental exercises, AutiMate includes a drawing board that matches a child's canvas strokes against a reference image.

Sample Reference Image Drawn Image Overlay
Figure 2: Reference object (left) alongside the canvas output evaluated by the AI (right).

Drawing AI Feedback System

As the child draws on the canvas, the system periodically packages the current state of the drawing with the reference image and sends it to the server. The server prompts gemini-1.5-flash to evaluate the drawing, and the resulting critique is converted to speech via the browser's native SpeechSynthesisUtterance API.

Drawing Feedback Flow
Figure 3: Schematic diagram of the drawing canvas and speech-synthesis loop.

How to Run locally

You can easily build and launch the entire multi-service suite via Docker:

docker build -t autimate-v1 .
docker run -p 8080:8080 -p 5173:5173 autimate-v1