File tree Expand file tree Collapse file tree
skills/detection/yolo-detection-2026-coral-tpu/scripts Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -32,11 +32,13 @@ function main() {
3232
3333 // Shared memory volume for video frames
3434 const path = require ( 'node:path' ) ;
35- const sharedMemoryHost = path . join ( os . tmpdir ( ) , 'aegis_detection ' ) ;
35+ const sharedMemoryHost = path . join ( os . tmpdir ( ) , 'aegis-detection-frames ' ) ;
3636 if ( ! fs . existsSync ( sharedMemoryHost ) ) {
3737 fs . mkdirSync ( sharedMemoryHost , { recursive : true } ) ;
3838 }
39- args . push ( '-v' , `${ sharedMemoryHost } :/tmp/aegis_detection` ) ;
39+ // Map the host path to the EXACT same absolute path inside the container
40+ // This allows the raw JSON `frame_path` from Aegis to work without translation.
41+ args . push ( '-v' , `${ sharedMemoryHost } :${ sharedMemoryHost } ` ) ;
4042
4143 // Pass through Aegis parameters and ID dynamically
4244 for ( const [ key , val ] of Object . entries ( process . env ) ) {
You can’t perform that action at this time.
0 commit comments