Inspiration

Feedback is one of the most powerful things a teacher can give. A 2020 meta-analysis of 435 studies and more than 61,000 students found that it reliably improves learning, especially when it says what to fix (Wisniewski, Zierer & Hattie, 2020). But in a room of thirty students, one teacher can only look over so many shoulders. Mistakes slip by, and students keep practicing them.

Smart boards can help, but a single one can cost thousands of dollars. Almost every classroom already has a plain whiteboard. So we asked: what if any whiteboard could become a smart board?

What it does

WiseBoard turns a plain whiteboard into an AI smart board with just a projector, a phone camera, and AI. You write with an ordinary marker, press the projected buttons with a finger or a capped marker, and talk to the board.

  • Graph: write a function and tap Graph. The AI reads your handwriting and the board draws the graph.
  • 3D: write a system of equations and see it as planes in 3D, with the point where they meet marked. Pinch in the air to turn it.
  • Solve: tap Solve, or just say "solve the equation". The steps appear beside the problem.
  • Ask: ask a question out loud, like "give me an example of the chain rule", and the answer lands on the board, formulas included.
  • Check: write out your steps and tap Check. WiseBoard circles the first wrong step, explains why, shows how it should read, and carries on to the right answer.

How we built it

  • The board is a Next.js app (React, TypeScript, Tailwind CSS) that the projector shows full screen. It draws everything itself: 2D graphs as SVG from our own expression evaluator, 3D surfaces and planes with three.js, and math with KaTeX.
  • The AI runs in Next.js route handlers, so the API keys stay on the server. Every action asks Gemini first and falls back to Claude if Gemini fails, times out, or replies in the wrong shape. Each action has its own JSON schema, so the board gets structured data (a formula and a window to plot, the steps, the number of the wrong line) instead of prose to parse.
  • Check splits the writing into lines on our side and numbers them in the picture it sends, so the AI only has to name a line, and the circle always lands on the right one.
  • The camera page runs in the browser. It tracks hands with MediaPipe, detects touch from shadows, and follows a capped marker as a pointer: the cap and its shadow form a "V" that closes when the tip touches the board. When you press an AI button, it blanks the projected board for half a second, photographs the marker writing, and straightens it with the calibration, so the AI reads real ink. It talks to the board over a BroadcastChannel.
  • The vision service is a Python process (FastAPI, OpenCV, MediaPipe). It calibrates the camera to the board with projected ArUco markers, tracks hands and gestures (double tap for the eraser, a fist to move the board, a pinch to turn a 3D graph, two hands to zoom), notices when the camera gets bumped, and streams events to the board over a WebSocket.
  • Voice uses the browser's Web Speech API. Commands like "solve this", "check my work" and "undo that" are matched on the device; anything else goes to the AI as a question.

Challenges we ran into

  • Touch from a single camera. A finger hides its own shadow when it touches the board, and the arm's shadow lies right next to the fingertip even when the hand is far away. We ended up measuring how far the shadow reaches past the fingertip. Writing with a finger was still too shaky, so we switched to a real marker that the camera reads, and a capped marker for pressing buttons.
  • Projectors fight cameras. Rolling flicker bands looked like moving shadows, the glare spot looked like writing, and the dimmed gray board looked as blue as the marker cap to the camera. We correct the bands row by row, and judge the cap and the writing against the empty board at the same spot.
  • Pointing at the right line. The AI sees a picture, but the board has to circle a line in its own coordinates. Numbering the lines ourselves solved it.
  • Two camera pipelines at once. A browser pipeline and a Python one were built in parallel, and joining them into one board took careful merging.

Accomplishments that we're proud of

  • It works on a plain whiteboard with an ordinary marker: no special pen, no touch screen.
  • Check finds the first mistake in real handwritten work, circles it on the board, and explains it.
  • A system of equations written in marker becomes a 3D graph you can turn with your hand in the air.

What we learned

  • Computer vision on a real projector, board and phone is much harder than on test images, so we saved real camera frames and tuned on those.
  • Structured output (JSON schemas) turns AI answers into something a UI can rely on.
  • A fallback between two AI providers is cheap to add and keeps a live demo running.

What's next for WiseBoard

  • Steadier finger writing, so no marker is needed at all.
  • More subjects than math, such as physics and chemistry.
  • A classroom mode: every group's board checked as they work, with a summary for the teacher.

Built With

Share this project:

Updates

Submission history