Updated texts in home page
Browse files37 unmodified lines3839404142434142434445465 unmodified lines525354555556575758596039 unmodified lines10010110210310310410510610710510610710810911111211311411511611011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915011811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916015115215315437 unmodified lines <span className="block text-emerald-400">Unmask every fake.</span> </h1> <p className="mt-4 text-sm md:text-base text-emerald-100/80 max-w-prose"> DeepDetection runs your video through a FaceForensics-inspired pipeline: we sample frames, isolate faces with YOLO, classify them with a fine-tuned ResNet18, and roll everything up into a clear, explainable verdict. Upload a video and we will pull out a few key frames, find the faces, and score each one as real or fake. You can see the result for every frame, not just a single yes/no answer. </p> <div className="mt-8 flex flex-wrap items-center gap-4"> <Link5 unmodified lines <div className="text-xs text-emerald-200/80 font-mono"> <div className="flex items-center gap-2"> <span className="h-2 w-2 rounded-full bg-emerald-400 animate-pulse" /> <span>Pipeline: FaceForensics++ → YOLOv8-face → ResNet18</span> <span>20 frames · face crops · real/fake scores</span> </div> <div className="mt-1 opacity-70">No training UI – this is your forensic viewer.</div> <div className="mt-1 opacity-70">Simple viewer for checking if a clip looks fake.</div> </div> </div> </div>39 unmodified lines
<section className="max-w-7xl mx-auto px-4 py-12 md:py-16"> <div className="max-w-3xl"> <h2 className="text-xl md:text-2xl font-semibold">How the workflow fits together</h2> <h2 className="text-xl md:text-2xl font-semibold">How it works</h2> <p className="mt-3 text-sm md:text-base text-emerald-100/75"> The system mirrors a typical FaceForensics-style research pipeline, but wraps it in a focused inspection UI. Each stage hands clean information to the next so you can see exactly how the final verdict was formed. The app follows the same steps every time. You can read this top to bottom and match each step to what you see on the analysis page. </p> </div>
<div className="mt-8 space-y-6"> <div className="grid md:grid-cols-5 gap-4 text-xs md:text-sm font-mono"> <div className="md:col-span-1 rounded-lg border border-emerald-700/60 bg-slate-950/80 p-3"> <div className="text-[10px] uppercase tracking-wide text-emerald-400/90">1 · Input</div> <div className="mt-1 font-semibold">Upload video</div> <p className="mt-1 text-emerald-100/70">MP4 video is streamed into the analyzer – nothing is stored.</p> <div className="mt-8 space-y-4 text-xs md:text-sm font-mono"> {[ { title: "1 · Upload", heading: "Add your video", body: "Choose an MP4 file. It is only used while this page is open.", }, { title: "2 · Pick frames", heading: "Sample about 20 moments", body: "Spread evenly from the start to the end of the clip.", }, { title: "3 · Find faces", heading: "Run a face detector", body: "Detect faces in each chosen frame and crop them out.", }, { title: "4 · Score faces", heading: "Rate each face", body: "A small neural network scores every face as real or fake.", }, { title: "5 · Show frames", heading: "Display the evidence", body: "You get a grid of cropped faces with their labels.", }, { title: "6 · Final result", heading: "Summarise the video", body: "We combine the face scores into one simple REAL or FAKE verdict.", }, ].map((step) => ( <div key={step.title} className="rounded-lg border border-emerald-700/60 bg-slate-950/80 p-3 flex flex-col gap-1" > <div className="text-[10px] uppercase tracking-wide text-emerald-400/90">{step.title}</div> <div className="font-semibold">{step.heading}</div> <p className="text-emerald-100/75">{step.body}</p> </div> <div className="hidden md:flex items-center justify-center text-2xl text-emerald-500">➜</div> <div className="md:col-span-1 rounded-lg border border-emerald-700/60 bg-slate-950/80 p-3"> <div className="text-[10px] uppercase tracking-wide text-emerald-400/90">2 · Sampling</div> <div className="mt-1 font-semibold">20 frame slices</div> <p className="mt-1 text-emerald-100/70">Uniformly sample ~20 frames across the full duration.</p> </div> <div className="hidden md:flex items-center justify-center text-2xl text-emerald-500">➜</div> <div className="md:col-span-1 rounded-lg border border-emerald-700/60 bg-slate-950/80 p-3"> <div className="text-[10px] uppercase tracking-wide text-emerald-400/90">3 · Detection</div> <div className="mt-1 font-semibold">YOLOv8-face</div> <p className="mt-1 text-emerald-100/70">Run a face detector on each frame and crop faces at 299×299.</p> </div> <div className="hidden md:flex items-center justify-center text-2xl text-emerald-500">➜</div> <div className="md:col-span-1 rounded-lg border border-emerald-700/60 bg-slate-950/80 p-3"> <div className="text-[10px] uppercase tracking-wide text-emerald-400/90">4 · Classification</div> <div className="mt-1 font-semibold">ResNet18 · REAL/FAKE</div> <p className="mt-1 text-emerald-100/70">Faces are normalized (ImageNet style) and passed to a 2‑class head.</p> </div> </div>
<div className="grid md:grid-cols-3 gap-4 text-xs md:text-sm font-mono"> <div className="rounded-lg border border-emerald-700/60 bg-slate-950/80 p-3"> <div className="text-[10px] uppercase tracking-wide text-emerald-400/90">5 · Per‑frame report</div> <p className="mt-1 text-emerald-100/70"> Each sampled frame gets a REAL/FAKE label plus calibrated probabilities, shown as a grid of cropped faces. </p> </div> <div className="rounded-lg border border-emerald-700/60 bg-slate-950/80 p-3"> <div className="text-[10px] uppercase tracking-wide text-emerald-400/90">6 · Video verdict</div> <p className="mt-1 text-emerald-100/70"> We aggregate over frames with detected faces to compute a final REAL/FAKE decision and overall fake probability. </p> </div> <div className="rounded-lg border border-emerald-700/60 bg-slate-950/80 p-3"> <div className="text-[10px] uppercase tracking-wide text-emerald-400/90">7 · Investigator view</div> <p className="mt-1 text-emerald-100/70"> The UI is tuned for inspection – quickly scan frames, zoom in on suspicious ones, and correlate with the final verdict. </p> </div> </div> ))} </div> </section> </main>frontend/pages/index.jsx+49-58