logo
Browse Source

update

Signed-off-by: junjie.jiangjjj <junjie.jiangjjj@zilliz.com>
v1
junjie.jiangjjj 2 years ago
parent
commit
4cc486b807
  1. 4
      __init__.py
  2. 2
      image_decode_cv2.py

4
__init__.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()

2
image_decode_cv2.py

@ -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

Loading…
Cancel
Save