📞 Toll-Free: 1800-266-6123 💬 WhatsApp Lab Support 🚚 FREE SHIPPING on orders above ₹999 across India
PROTOTYPE STATUS

From Vision to Physical Paper

NOTEBOOKIQ combines digital cloud intelligence with a physical clamping and writing apparatus designed for thick Indian school registers.

View Workflow Sequence →
Home › 01—06 Technology Overview
01
Computer Vision

Optical Capture & Perspective Normalization

Before handwriting recognition can extract reliable word polygons, raw camera frames of open two-sided student registers must be geometrically flattened, de-shadowed, and contrast-normalized.

Using OpenCV on the Raspberry Pi host, the vision pipeline detects register boundaries, applies 4-point homography perspective correction, removes uneven ambient shadows, and enhances ink-to-paper contrast. Testing established that ruled notebook lines do not require destructive erasure when paired with modern handwriting models.

Imaging Pipeline OpenCV 4.x Homography + CLAHE
Ruled Line Treatment Preserved (Prevents stroke breaks)
Capture Latency < 420 ms per A4 Page
Status Implemented
TELEMETRY / OPENCV NORM Calibrated
[CV_STAGE_01] Frame captured: 3280x2464px (Overhead Pi Camera) [HOMOGRAPHY] 4-point contour locked -> deskewed 210x297mm (A4) [ILLUMINATION] Morphological background estimated & subtracted [RULED_LINES] Retained intact (prevents character stroke breaks) [READY] Normalized frame buffer dispatched to OCR pipeline
02
Handwriting OCR

Handwriting Extraction with Word Polygons

Single offline models like TrOCR struggle on real-world, irregular, or messy student handwriting. NOTEBOOKIQ integrates Azure Document Intelligence (prebuilt-read) to extract both text and 8-point spatial bounding polygons.

After benchmarking TrOCR, PARSeq, Nougat, Google Document AI, and multimodal LLMs against the strict ₹1.50/page target budget, Azure Document Intelligence emerged as the optimal production choice (~$1.50 per 1,000 pages ≈ ₹0.15/page for OCR), returning exact pixel coordinates needed to guide physical pen marking.

Primary Cloud Engine Azure Document Intelligence (prebuilt-read)
OCR Unit Cost ~₹0.15 / Page ($1.50 per 1k pages)
Spatial Data 8-Point Word & Line Polygons
Status Implemented
SAMPLE WORD POLYGON PAYLOAD Live JSON
{ "modelId": "prebuilt-read", "page": 1, "words": [ { "content": "Photosynthesis", "confidence": 0.984, "polygon": [42,118, 168,118, 168,142, 42,142] }, { "content": "absorbs", "confidence": 0.961, "polygon": [176,119, 241,119, 241,142, 176,142] }, { "content": "oxygen", "confidence": 0.942, "polygon": [249,120, 312,120, 312,144, 249,144], "flag": "ERROR" } ] }
03
Answer Analysis

Semantic Rubric Comparison & Error Localization

Recognised student answers are compared against reference textbook criteria to pinpoint spelling mistakes, missing keywords, or factual errors alongside their spatial locations.

By sending extracted text tokens and coordinate polygons to a lightweight LLM rather than re-transmitting large raw images, NOTEBOOKIQ maintains high evaluation reasoning while strictly keeping total per-page costs under ₹1.50.

Rubric Model Tokenized LLM Evaluation Layer
Cost Target ≤ ₹1.50 / Page (OCR + LLM Total)
Physical Annotations Circle Error, Underline, Margin Note
Status In Development
ERROR DIAGNOSTIC PIPELINE Mapped
[RUBRIC_CHECK] Q2 Expected: "absorbs carbon dioxide, releases oxygen" [STUDENT_TOKEN] Word #3 "oxygen" at polygon [249,120..312,144] [DIAGNOSIS] Factual inversion detected (CO2 absorbed vs O2 released) [ACTION_PLAN] Draw Underline(249,144 -> 312,144) + MarginNote("CO2") [GCODE_TRANSLATOR] Mapped polygon -> Target mm: X:64.2mm Y:38.5mm
04
Raspberry Pi Control

Central Orchestration & Serial G-Code Bridge

A hybrid architecture divides high-level computer vision and cloud API orchestration from deterministic microsecond step-pulse generation.

The Raspberry Pi coordinates image acquisition, perspective correction, cloud OCR calls, coordinate mapping, and teacher review state, streaming validated G-code commands over USB serial (115200 baud) to the Arduino GRBL motion controller.

Host Processor Raspberry Pi 4B / Pi 5 (8GB)
Motion Co-Processor Arduino UNO + CNC Shield V3 (GRBL 1.1f)
UART Baud Rate 115200 Baud Streaming
Status In Development
SERIAL STREAM INTERFACE GRBL 1.1f
[PI_HOST] Homography matrix H_px_to_mm loaded [SERIAL_TX] >>> $X (Unlock GRBL Alarm) [SERIAL_TX] >>> G21 G90 G17 (Metric, Absolute, XY Plane) [SERIAL_TX] >>> M3 S30 (Pen Up Clearance) [SERIAL_TX] >>> G0 X68.40 Y42.10 F3000 (Rapid Travel) [SERIAL_RX] <<< ok
05
Page Pressing System

Dual T8 Lead-Screw Page Stabilization

Two-sided school registers curve upward near the spine and shift when touched by a pen. NOTEBOOKIQ solves this mechanical problem with a motorized dual lead-screw clamping bar.

Two synchronized Nema 17 stepper motors drive 8mm T8 lead screws fitted with anti-backlash spring-loaded brass nuts and compression springs. The pressure plate lowers smoothly onto notebook margins, locking pages completely flat without tearing paper or damaging the binding.

Lead Screws Dual 8mm T8 Lead Screws (350mm)
Nut Assembly Anti-Backlash Spring Brass Nuts
Compliance Compression Springs + Aluminum Bar
Status In Development
MECHANICAL STATUS / T8 CLAMP Synchronized
[PRESS_SYS] Open notebook register detected in scanning bay [STEPPER_Z_CLAMP] Dual Nema 17 stepping synchronized CW [SPRING_COMPLIANCE] Target clamping pressure: 14.2 N (Limit Switch OK) [PAGE_STATE] Register surface flattened: ±0.15mm vertical variance [READY] Optical imaging & physical plotter unlocked
06
Controlled Pen Marking

Precision 2D CNC Pen Plotting & G-Code Execution

Pixel bounding boxes from OCR are converted into millimeter workspace coordinates so a 2-axis CNC pen plotter with servo Z-lift can physically underline, circle, or annotate on the stabilized page.

Based on Writing Machine V2.0 plotter kinematics, the marking carriage uses linear guide rods, GT2 belts, Nema 17 steppers, and a micro-servo pen lifter. G-code toolpaths execute only after mechanical page clamping and coordinate bounds checks succeed.

Kinematics 2D CNC Pen Plotter (GT2 Belt + Rods)
Z-Axis Pen Lifter SG90 / MG90S Micro Servo Stage
Safety Interlock Requires Clamp Lock + Homed Limit Switches
Status Planned
GENERATED G-CODE TOOLPATH Simulated
; NOTEBOOKIQ Generated Correction Toolpath G21 G90 ; Millimeters, Absolute Coordinate Mode M3 S30 ; Pen Up (Safe clearance) G0 X64.20 Y38.50 ; Rapid travel to word start M3 S90 ; Pen Down (Compliant spring contact) G1 X82.60 Y38.50 F1800 ; Draw red underline beneath "oxygen" M3 S30 ; Pen Up G0 X0 Y0 ; Return to home
FIRST-PRINCIPLES PHYSICS & MECHATRONICS

Electromechanical & Algorithmic Formulations

First-principles engineering models governing CoreXY kinematics, clamping dynamics, perspective transformation, and stroke optimization.

DEVELOPER & INSTITUTIONAL API

NOTEBOOKIQ Python SDK & Hardware Control REST API

Direct programmatic control for school grading management software, Atal Tinkering Labs, and academic researchers.

grading_pipeline.py
from notebookiq import NotebookStation, DocumentIntelligence

# Initialize GRBL motion controller and motorized clamps
station = NotebookStation(port="COM3", baud=115200)
station.clamp_page(thrust_newtons=14.2)

# High-resolution capture from overhead Sony IMX219
frame = station.capture_highres()

# Azure Document Intelligence OCR + Homography Transform
doc = DocumentIntelligence.analyze(frame)
print(f"Recognized {len(doc.words)} handwritten word polygons.")

# Evaluate student answers against standard CBSE science rubric
for item in doc.find_errors(rubric="CBSE_CLASS_10_SCIENCE"):
    station.plot_mark(
        mark_type="underline",
        word_polygon=item.polygon,
        color="red",
        speed_mm_min=2400
    )

# Disengage clamp and return pen to home
station.unclamp_and_home()
LIVE SANDBOX API TESTER Ready

Simulate a real API call from your classroom server to verify word polygon extraction and GRBL toolpath generation in real time.

// Response output will stream here on execution... { "status": "ready", "endpoint": "https://api.notebookiq.com/v1/correction", "auth": "Bearer nq_live_9482bf7a1029", "latencyTarget": "< 850 ms" }