feat: new interview page, MediaPipe Integration and Stun server discovery #20
@ -856,9 +856,12 @@ public function uploadTabScreenshot(Request $request, $id)
|
||||
$relativePath = '/' . $subDir . '/' . $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();
|
||||
$aiVerdict = $aiDetector->analyzeScreenshot($fullFilePath);
|
||||
*/
|
||||
|
||||
$screenshotEntry = [
|
||||
'url' => $relativePath,
|
||||
|
||||
@ -319,6 +319,15 @@
|
||||
|
||||
<!-- Tab 5: Tab-Switch Screenshots -->
|
||||
<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">
|
||||
<span>Candidate tab-switch captured screenshots</span>
|
||||
<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 class="text-[#5b637a] text-xs text-center pt-10">No tab-switch screenshots captured for this candidate yet.</div>
|
||||
</div>
|
||||
--}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user