infinicode 2.8.53 → 2.8.54
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -23,7 +23,7 @@ export async function roboparkVisionAgent(opts) {
|
|
|
23
23
|
// Real Pi: opencv comes from `apt install python3-opencv`, not pip (see
|
|
24
24
|
// requirements_pi_unified.txt) — pip-installing it here would fight the
|
|
25
25
|
// ARM-optimized system build. Everywhere else: plain pip install works.
|
|
26
|
-
const reqFile = isPiArm() ? '
|
|
26
|
+
const reqFile = isPiArm() ? 'requirements_vision_agent.txt' : 'requirements-demo.txt';
|
|
27
27
|
const requiredModules = isPiArm() ? [...VISION_REQUIRED_MODULES, 'fastapi', 'uvicorn', 'sounddevice', 'soundfile', 'groq'] : VISION_REQUIRED_MODULES;
|
|
28
28
|
const python = prepareRobotPython(basePython, script, requiredModules, reqFile);
|
|
29
29
|
if (!python)
|
package/package.json
CHANGED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# Runtime requirements for the packaged RoboPark vision-agent.
|
|
2
|
+
#
|
|
3
|
+
# This intentionally excludes the legacy optional YOLO/GPIO stack from
|
|
4
|
+
# requirements_pi_unified.txt. The packaged agent launches app_pi_clean.py and
|
|
5
|
+
# audio_server_pi.py only. Raspberry Pi OpenCV/PyAudio/Picamera2 are supplied
|
|
6
|
+
# by apt and exposed to ~/.robopark/venv through --system-site-packages.
|
|
7
|
+
Flask==3.0.0
|
|
8
|
+
Flask-CORS==4.0.0
|
|
9
|
+
requests>=2.31
|
|
10
|
+
fastapi>=0.115
|
|
11
|
+
uvicorn[standard]>=0.30
|
|
12
|
+
python-multipart>=0.0.12
|
|
13
|
+
sounddevice>=0.4.6
|
|
14
|
+
soundfile>=0.12.1
|
|
15
|
+
groq>=0.11
|
|
16
|
+
# Python 3.13 has no compatible NumPy 1.24 wheel. On older Pi images, use the
|
|
17
|
+
# distro NumPy provided through system-site-packages instead.
|
|
18
|
+
numpy>=2.1; python_version >= '3.13'
|