Skip to content

Commit

Permalink
predict: remove old pipline code
Browse files Browse the repository at this point in the history
  • Loading branch information
koush committed Mar 27, 2023
1 parent c70375d commit b55e7ca
Show file tree
Hide file tree
Showing 11 changed files with 45 additions and 1,105 deletions.
1 change: 0 additions & 1 deletion plugins/coreml/src/pipeline

This file was deleted.

11 changes: 3 additions & 8 deletions plugins/coreml/src/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
# plugin
Pillow>=5.4.1
PyGObject>=3.30.4
coremltools~=6.1
av>=10.0.0; sys_platform != 'linux' or platform_machine == 'x86_64' or platform_machine == 'aarch64'

# sort_oh
scipy
filterpy
numpy
# pillow for anything not intel linux, pillow-simd is available on x64 linux
Pillow>=5.4.1; sys_platform != 'linux' or platform_machine != 'x86_64'
pillow-simd; sys_platform == 'linux' and platform_machine == 'x86_64'
1 change: 0 additions & 1 deletion plugins/python-codecs/src/thread.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import asyncio
from typing import Any
import concurrent.futures

# vips is already multithreaded, but needs to be kicked off the python asyncio thread.
Expand Down
1 change: 0 additions & 1 deletion plugins/python-codecs/src/vipsimage.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
except:
Image = None
pyvips = None
pass
from thread import to_thread

class VipsImage(scrypted_sdk.VideoFrame):
Expand Down
Loading

0 comments on commit b55e7ca

Please sign in to comment.