import React from 'react'; import PanelContainer from '../ui/PanelContainer'; import GlowingBox from '../ui/GlowingBox'; import { Code, ImageIcon } from 'lucide-react'; const InputImagePanel: React.FC = () => { return (
Handwritten digit 5
{Array(64).fill(0).map((_, index) => (
))}
Raw Input Image

Digital Representation

Computers see images as arrays of numbers. Each pixel is represented as a value between 0 (black) and 255 (white) for grayscale images.

Matrix Representation
[
  [0, 0, 0, 0, 0, 0, 0, 0],
  [0, 0, 110, 190, 253, 70, 0, 0],
  [0, 0, 191, 40, 0, 191, 0, 0],
  [0, 0, 160, 0, 0, 120, 0, 0],
  [0, 0, 127, 195, 210, 20, 0, 0],
  [0, 0, 0, 0, 40, 173, 0, 0],
  [0, 0, 75, 60, 20, 230, 0, 0],
  [0, 0, 90, 230, 180, 35, 0, 0]
]
); }; export default InputImagePanel;