Browse Source
update
Signed-off-by: junjie.jiangjjj <junjie.jiangjjj@zilliz.com>
v1
junjie.jiangjjj
2 years ago
2 changed files with
3 additions and
3 deletions
-
__init__.py
-
image_decode_cv2.py
|
|
@ -12,9 +12,9 @@ |
|
|
|
# See the License for the specific language governing permissions and |
|
|
|
# limitations under the License. |
|
|
|
|
|
|
|
from .image_decode_cv2 import ImageDecodeCV2 |
|
|
|
from .image_decode_cv2 import ImageDecoder |
|
|
|
|
|
|
|
|
|
|
|
# The factory method |
|
|
|
def test_cv2(): |
|
|
|
return ImageDecodeCV2() |
|
|
|
return ImageDecoder() |
|
|
|
|
|
@ -6,7 +6,7 @@ import cv2 |
|
|
|
import requests |
|
|
|
import numpy as np |
|
|
|
|
|
|
|
from towhee.types import Image |
|
|
|
from towhee._types import Image |
|
|
|
from towhee.operator import PyOperator, SharedType |
|
|
|
from towhee import register |
|
|
|
from towhee.utils import ndarray_utils |
|
|
|