Skip to content

Commit

Permalink
predict: lock opencv version,
Browse files Browse the repository at this point in the history
 roll back to 9c flt
  • Loading branch information
koush committed Jun 3, 2024
1 parent 83a3352 commit 5eac8d0
Show file tree
Hide file tree
Showing 13 changed files with 18 additions and 18 deletions.
4 changes: 2 additions & 2 deletions plugins/coreml/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion plugins/coreml/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,5 @@
"devDependencies": {
"@scrypted/sdk": "file:../../sdk"
},
"version": "0.1.54"
"version": "0.1.55"
}
1 change: 1 addition & 0 deletions plugins/coreml/src/coreml/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"scrypted_yolov10m_320",
"scrypted_yolov10n_320",
"scrypted_yolo_nas_s_320",
"scrypted_yolov9e_320",
"scrypted_yolov9c_320",
"scrypted_yolov6n_320",
"scrypted_yolov6s_320",
Expand Down
2 changes: 1 addition & 1 deletion plugins/coreml/src/requirements.optional.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
opencv-python
opencv-python==4.9.0.80
1 change: 0 additions & 1 deletion plugins/coreml/src/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
# 2024-04-23 - modify timestamp to force pip reinstall
coremltools==7.1
Pillow>=5.4.1
4 changes: 2 additions & 2 deletions plugins/onnx/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion plugins/onnx/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,5 @@
"devDependencies": {
"@scrypted/sdk": "file:../../sdk"
},
"version": "0.1.93"
"version": "0.1.94"
}
2 changes: 1 addition & 1 deletion plugins/onnx/src/requirements.optional.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
opencv-python
opencv-python==4.9.0.80
4 changes: 2 additions & 2 deletions plugins/openvino/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion plugins/openvino/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,5 @@
"devDependencies": {
"@scrypted/sdk": "file:../../sdk"
},
"version": "0.1.89"
"version": "0.1.92"
}
2 changes: 1 addition & 1 deletion plugins/openvino/src/requirements.optional.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
opencv-python
opencv-python==4.9.0.80
6 changes: 3 additions & 3 deletions plugins/tensorflow-lite/src/predict/face_recognize.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ class FaceRecognizeDetection(PredictPlugin):
def __init__(self, nativeId: str | None = None):
super().__init__(nativeId=nativeId)

self.inputheight = 320
self.inputwidth = 320
self.inputheight = 640
self.inputwidth = 640

self.labels = {
0: "face",
Expand All @@ -31,7 +31,7 @@ def __init__(self, nativeId: str | None = None):
self.loop = asyncio.get_event_loop()
self.minThreshold = 0.7

self.detectModel = self.downloadModel("scrypted_yolov8n_flt_320")
self.detectModel = self.downloadModel("scrypted_yolov9c_flt")
self.faceModel = self.downloadModel("inception_resnet_v1")

def downloadModel(self, model: str):
Expand Down
4 changes: 2 additions & 2 deletions server/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5eac8d0

Please sign in to comment.