You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
flushLog('[VisionixAI] NOTE: Installing Python dependencies (like opencv-python, mediapipe) can take several minutes depending on your internet speed. Please be patient.');
63
+
flushLog('[VisionixAI] Checking for Python and pip...');
Copy file name to clipboardExpand all lines: cli/bin/visionix.js
+32-14Lines changed: 32 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -7,48 +7,66 @@ const fs = require('fs');
7
7
constargs=process.argv.slice(2);
8
8
9
9
if(args.length<1||args.includes('--help')){
10
-
console.log(`
11
-
VisionixAI CLI
12
-
13
-
Usage:
14
-
visionix analyze <video-path>
15
-
16
-
Description:
17
-
Streams video, detects presence in zones, triggers responses.
18
-
`);
10
+
console.log(`\nVisionixAI CLI\n\nUsage:\n visionix analyze <video-path>\n\nDescription:\n Streams video, detects presence in zones, triggers responses.\n\nOptions:\n --help Show this help message\n`);
19
11
process.exit(0);
20
12
}
21
13
22
14
constcommand=args[0];
23
15
constinput=args[1];
24
16
25
17
if(command==='analyze'){
26
-
// Always resolve relative to this script, not cwd
0 commit comments