scrypted-detection-trainer 0.1.12 → 0.1.13

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.
package/out/plugin.zip CHANGED
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "scrypted-detection-trainer",
3
- "version": "0.1.12",
3
+ "version": "0.1.13",
4
4
  "description": "Collect and label detections to fine-tune the Scrypted NVR object detection model.",
5
5
  "keywords": [
6
6
  "scrypted-plugin"
package/src/main.ts CHANGED
@@ -957,7 +957,7 @@ function loadBrowseImage(i, ev) {
957
957
  fullCanvas.onclick = () => openLightboxImg(img, ev.cameraName, ev.timestamp);
958
958
  }
959
959
  // Hide crop panel — no bounding box available
960
- const cropPanel = document.getElementById('bcanvas-crop-' + i)?.closest('.img-panel') as HTMLElement;
960
+ const cropPanel = document.getElementById('bcanvas-crop-' + i)?.closest('.img-panel');
961
961
  if (cropPanel) cropPanel.style.display = 'none';
962
962
  URL.revokeObjectURL(url);
963
963
  };