feat: new interview page, MediaPipe Integration and Stun server discovery #20

Merged
subhajit.pal merged 12 commits from experimental/mediapipe-integration into main 2026-08-14 09:29:03 +00:00
2 changed files with 14 additions and 1 deletions
Showing only changes of commit 3305464ca7 - Show all commits

View File

@ -856,9 +856,12 @@ public function uploadTabScreenshot(Request $request, $id)
$relativePath = '/' . $subDir . '/' . $filename; $relativePath = '/' . $subDir . '/' . $filename;
$fullFilePath = $destinationPath . '/' . $filename; $fullFilePath = $destinationPath . '/' . $filename;
// Automatically analyze candidate system screen capture using AI Vision Engine // Automatically analyze candidate system screen capture using AI Vision Engine (disabled for now)
$aiVerdict = null;
/*
$aiDetector = new \App\Services\AiCheatingDetectorService(); $aiDetector = new \App\Services\AiCheatingDetectorService();
$aiVerdict = $aiDetector->analyzeScreenshot($fullFilePath); $aiVerdict = $aiDetector->analyzeScreenshot($fullFilePath);
*/
$screenshotEntry = [ $screenshotEntry = [
'url' => $relativePath, 'url' => $relativePath,

View File

@ -319,6 +319,15 @@
<!-- Tab 5: Tab-Switch Screenshots --> <!-- Tab 5: Tab-Switch Screenshots -->
<div id="tab-content-screenshots" class="hidden"> <div id="tab-content-screenshots" class="hidden">
<div class="bg-[#0d1220] border border-[#1b2233] rounded-[9px] p-8 flex flex-col items-center justify-center min-h-[250px] text-center">
<div class="w-10 h-10 rounded-full bg-amber-500/10 border border-amber-500/20 flex items-center justify-center text-amber-400 mb-3 text-base">
<i class="fa-solid fa-clock"></i>
</div>
<div class="text-sm font-semibold text-white mb-1">Coming Soon</div>
<div class="text-xs text-[#5b637a] max-w-xs">Tab switch screenshot capturing and inspection is currently under maintenance.</div>
</div>
{{--
<div class="text-[11.5px] text-[#5b637a] mb-2 font-medium flex justify-between items-center"> <div class="text-[11.5px] text-[#5b637a] mb-2 font-medium flex justify-between items-center">
<span>Candidate tab-switch captured screenshots</span> <span>Candidate tab-switch captured screenshots</span>
<div class="flex items-center gap-2"> <div class="flex items-center gap-2">
@ -331,6 +340,7 @@
<div id="modal-screenshots-container" class="bg-[#0d1220] border border-[#1b2233] rounded-[9px] p-3 min-h-[250px] max-h-[420px] overflow-y-auto"> <div id="modal-screenshots-container" class="bg-[#0d1220] border border-[#1b2233] rounded-[9px] p-3 min-h-[250px] max-h-[420px] overflow-y-auto">
<div class="text-[#5b637a] text-xs text-center pt-10">No tab-switch screenshots captured for this candidate yet.</div> <div class="text-[#5b637a] text-xs text-center pt-10">No tab-switch screenshots captured for this candidate yet.</div>
</div> </div>
--}}
</div> </div>
</div> </div>