edge-impulse-linux 1.17.6 → 1.17.7

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.
@@ -5040,6 +5040,7 @@ Freeing pipeline ...
5040
5040
  }
5041
5041
  }
5042
5042
  });
5043
+ assert.equal(devices.length, 2);
5043
5044
  assert.equal(devices[0].id, '/dev/video2');
5044
5045
  assert.equal(devices[0].name, 'Logitech BRIO (/dev/video2)');
5045
5046
  assert.equal(devices[0].videoSource, 'v4l2src');
@@ -5195,9 +5196,37 @@ Freeing pipeline ...
5195
5196
  "framerate": 30
5196
5197
  }
5197
5198
  ]));
5199
+
5200
+ assert.equal(devices[1].id, '/dev/video4');
5201
+ assert.equal(devices[1].name, 'Logitech BRIO (/dev/video4)');
5202
+ assert.equal(devices[1].videoSource, 'v4l2src');
5203
+ });
5204
+
5205
+ it("Triple Vision AI Industrial Camera", async () => {
5206
+ const gstMonitorOutput = await fs.readFile('./test/triple-vision-camera-monitor.txt', { encoding: 'utf-8' });
5207
+ const gstInspectOutput = await fs.readFile('./test/qualcomm-rb3-inspect.txt', { encoding: 'utf-8' });
5208
+
5209
+ const devices = await testGetDevices({
5210
+ gstDeviceMonitor: () => gstMonitorOutput,
5211
+ gstInspect: () => gstInspectOutput,
5212
+ modeOverride: 'qualcomm-yupik'
5213
+ });
5214
+ assert.equal(devices.length, 3);
5215
+ assert.equal(devices[0].id, '0');
5216
+ assert.equal(devices[0].name, 'Camera 0 (0)');
5217
+ assert.equal(devices[0].videoSource, 'qtiqmmfsrc');
5218
+
5219
+ assert.equal(devices[1].id, '1');
5220
+ assert.equal(devices[1].name, 'Camera 1 (1)');
5221
+ assert.equal(devices[1].videoSource, 'qtiqmmfsrc');
5222
+
5223
+ assert.equal(devices[2].id, '2');
5224
+ assert.equal(devices[2].name, 'Camera 2 (2)');
5225
+ assert.equal(devices[2].videoSource, 'qtiqmmfsrc');
5198
5226
  });
5199
5227
  });
5200
5228
 
5229
+
5201
5230
  describe("gstreamer command", () => {
5202
5231
  // https://github.com/edgeimpulse/edgeimpulse/issues/9506
5203
5232
  it("nvidia orin w/ basler camera", async () => {