Final Year Project · AI teaching assistant for universities

Turn any lecture PDF into a teacher that explains, watches and adapts.

SmartStudy writes a scene-by-scene script from your notes and renders a narrated, animated lecture video — then checks real attention through the webcam and builds a learning path for every student.

Student? Watch your lessons on a computer — scan the QR code with the SmartStudy app, no password needed.

  • 3 apps in one platform
  • 3 lecture languages
  • 450+ automated tests

Built with production tools

The SmartStudy story

  1. 01

    It starts with your PDF.

    Lecture notes, slides or a textbook chapter — the only thing a teacher has to bring.

  2. 02

    It becomes a lecture that teaches.

    Script, voice, animated diagrams, traced algorithms and an avatar — rendered in minutes.

  3. 03

    It watches every student.

    Face, gaze, identity and anti-spoofing turn "played" into verified attention.

  4. 04

    And it adapts to each one.

    Knowledge tracing lifts every student along their own path — and warns early.

Why SmartStudy

Online lectures lose students quietly.
SmartStudy notices — and acts.

01

Making good lectures takes days

Slides, diagrams, voice-over and editing for a single topic eat a teacher's week.

→ A narrated, animated video from one PDF in minutes — script editable first.
02

"Watched" doesn't mean "learned"

A video playing in another tab counts as attendance on most platforms.

→ Webcam attention with identity check and anti-spoofing, per minute.
03

Struggling students are found too late

By the time results are announced, the semester is over.

→ Knowledge tracing and an early-warning radar while there is still time.

How it works

From a PDF to a published lecture

  1. 1

    Upload your notes

    A PDF, slides exported to PDF, or pasted text. Scanned pages are read with OCR.

  2. 2

    AI reads and plans

    The engine finds topics, tables, code and diagrams, checks the script against the PDF and adds learning outcomes, pause-and-think questions and a common-mistake scene.

  3. 3

    You review the script

    Every scene's heading, bullets and voice-over are editable. It is written in the background and saved to your account, so nothing is lost.

  4. 4

    The video is rendered

    Slides, animated diagrams, step-by-step algorithm traces, a neural voice, a talking avatar and captions — joined into one MP4.

  5. 5

    Students learn from it

    Chapters, transcript, notes PDF and a quiz arrive with the video. Attention and mastery flow back to you.

AI lecture videos

Not slides with a voice. A lecture that teaches.

Every video is planned like a real class: what you will learn, the idea, a worked example traced step by step, a common mistake, and a self-test at the end.

Generated lecture — rendered by SmartStudy
A generated SmartStudy lecture: concept map on the left with the teacher avatar, numbered points on the right, captions at the bottom Concept map follows what the teacher says One point at a time lights up as it is spoken Talking avatar from one teacher photo Captions taken from the script, word-timed

In motion

Real clips from a SmartStudy lecture

Nothing here is a mock-up: these are seconds cut from Round Robin Scheduling, a lecture the system wrote and rendered from a PDF.

Concept scene
∿

Algorithms, traced live

Dijkstra, sorting, binary search, stacks and queues, linked lists, AVL and BST trees — every step computed, never guessed. Even a graph written only in words becomes a trace.

{ }

Code that really runs

Python, C, C++ and Java examples are executed and the variables are shown line by line, exactly as the program changed them.

?

Pause and think

The video asks a question, waits silently with a countdown, then answers — and ends with a self-test instead of a bullet recap.

!

A common mistake

One scene shows the error students really make, what goes wrong because of it, and the rule that avoids it.

اُ

English, Urdu, Roman Urdu

Natural neural voices, with right-to-left Urdu captions or Roman Urdu captions — sentence for sentence with the English script.

≡

Chapters, transcript, notes

Chapters per scene, an exact transcript from the script (no speech recognition needed) and a printable notes PDF — all made with the video.

♪

Made for phones

Large readable type, speech normalised to −16 LUFS and files about six times smaller — plus 480p and 240p copies for weak connections.

✓

Checked against your PDF

A reviewer scores every scene against the source material and repairs claims that the PDF does not support, before you ever see the script.

Frames from generated lectures

Scroll through real lectures

Concept scene: why CPU scheduling is needed, with concept map and avatar
Concept map, avatar and the point being spoken
Round robin execution flow diagram building up
Diagram boxes light up as they are named
Round robin queue trace with P1, P2 and P3
Trace every enqueue and dequeue, computed
Waiting time analysis Gantt chart flow
Worked example waiting times, slice by slice
SQL join types table
Tables rows revealed as the teacher reads them
Fairness and trade-offs with the avatar
Trade-offs explained, with the teacher on screen
Key takeaway scene
Takeaway the one idea to remember

Webcam attention monitoring

Watching becomes verified attendance.

While a lecture plays, the camera checks four things every few seconds. Only the scores are kept — never a single image.

  • 1
    Face & eyes MediaPipe face mesh tracks presence, blinks and drowsiness.
  • 2
    Gaze L2CS-Net estimates where the student is looking.
  • 3
    Identity ArcFace confirms it is the enrolled student, not a friend.
  • 4
    Anti-spoofing Photos and screens held up to the camera are rejected.
Presence
98%
Gaze on screen
91%
Identity match
96%
Spoof risk
4%
Class attention, minute by minuteCPU Scheduling · 8 min

Minute 5–6 dipped while "Shortest-Job-First" was explained — the teacher can add a quiz or re-render that scene in one click.

Adaptive learning

Every student gets their own path.

Bayesian Knowledge Tracing estimates how well each student knows each topic, after every quiz and drill. Everything else builds on that number.

Mastery that moves

Knowledge tracing per topic, updated after every attempt.

AI tutor with sources

Answers only from the teacher's own material and cites the page — in English, Urdu or Roman Urdu.

Why does round robin need a time quantum?
So no process keeps the CPU for long: each runs for one quantum, then goes to the back of the queue. Lecture 3 · p.2

Voice viva

Three spoken follow-up questions after a quiz confirm real understanding.

Early-warning radar

Attendance, attention, mastery and missed deadlines combine into a risk score — with the reasons spelled out.

Help plans

The AI drafts a plan for an at-risk student; the teacher approves it before it is sent.

Study planner, streaks & forecast

Deadlines calendar, a planner, effort-only streaks and "what do I need in the final?".

One platform, three apps

Built for students, teachers and admins.

Flutter · Android · iOS · Web

Everything a student needs, in their pocket

  • Lecture player with chapters, a transcript that follows the video and offline downloads
  • Guided face enrollment and webcam attention, on web and phones
  • Timed quizzes with anti-cheating rules, then a voice viva
  • AI tutor, study planner, deadlines calendar and streaks
  • Marks, grade outlook, QR-verified transcript and certificates
  • Live classes, messages, help plans and push notifications
Student app lecture player with transcript AI tutor answering with sources Timed quiz in the student app

Architecture

How the pieces talk to each other

Hover or tap a part to see what it connects to.

Pick a part to see its role.
0backend tests
0video-engine checks
0apps · one login system
0smaller lecture files

Security & reliability

Serious about students' data

Two-step login

Mandatory for admins and teachers, with authenticator apps and recovery codes.

Short-lived sessions

15-minute access tokens, rotating refresh tokens, sign out other devices.

Private media

Lecture videos and uploads are served only to signed-in, enrolled users.

No face images stored

The attention engine keeps scores only; consent is asked first.

Rate limits & lockout

Brute-force protection, idle timeouts and security headers.

Durable job queue

Renders, transcripts and emails survive restarts and finish on their own.

Backups & audit log

One-click backup and restore; every admin action is recorded.

One-command setup

Docker Compose, Alembic migrations and a full demo semester in one script.

Demo

A 6½-minute walk through the running system

The team

The people behind SmartStudy

A Final Year Project at COMSATS University Islamabad, Wah Campus.

FAQ

Questions, answered

Can't find something? Every part is documented in the project's README and GUIDE.

How long does it take to make a lecture video?

Writing the script takes a few minutes and runs in the background — you can close the page. After you review it, rendering a 6–8 minute lecture takes roughly ten minutes, and the portal notifies you when it is saved to your class.

Can I change what the AI wrote?

Yes. Every scene's heading, bullets and voice-over are editable before rendering. The script is saved to your account as you type, so you can continue later on any browser.

Does the webcam record students?

No. Frames are analysed for attention and identity, and only the resulting scores are stored. Students give consent first, and the engine can run on the phone itself.

Which languages are supported?

Lectures can be spoken in English or Urdu, with Urdu or Roman Urdu captions. The AI tutor also answers in English, Urdu or Roman Urdu.

What does a teacher need to start?

Only the lecture material as a PDF (or pasted text). An avatar photo is optional; without one the default presenter is used.

How are struggling students found?

The early-warning radar combines lecture attendance, webcam attention, knowledge-tracing mastery and missed deadlines into one risk score, and lists the reasons — so the teacher knows what to do, not just who to worry about.

Ready to teach with an assistant that never gets tired?

Open the portal, upload a PDF and watch your first AI lecture take shape.