Skip to content

Commit

Permalink
update v1.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
jadehh committed Dec 12, 2022
1 parent 34eb98b commit 657126a
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 26 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Acllite v1.0.0
## Acllite v1.0.2

### 更新日志
* update 新增AclliteImage转cv2 Image
Expand Down
1 change: 1 addition & 0 deletions acllite/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from acllite.version import version as __version__
11 changes: 4 additions & 7 deletions acllite/cameracapture.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,10 @@
import os
import time
import sys
BASE_DIR = os.path.dirname(os.path.abspath(__file__))
sys.path.append(BASE_DIR)

from lib.acllite_so import libacllite
import constants as const
from acllite_image import AclLiteImage
from acllite_logger import log_error, log_info
from acllite.lib.acllite_so import libacllite
import acllite.constants as const
from acllite.acllite_image import AclLiteImage
from acllite.acllite_logger import log_error, log_info

CAMERA_OK = 0
CAMERA_ERROR = 1
Expand Down
12 changes: 4 additions & 8 deletions acllite/dvpp_vdec.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
import sys
import os
BASE_DIR = os.path.dirname(os.path.abspath(__file__))
sys.path.append(BASE_DIR)
import numpy as np
import acl
import queue
import constants as const
import acllite_utils as utils
import acllite_logger as acl_log
from acllite_image import AclLiteImage
import acllite.constants as const
import acllite.acllite_utils as utils
import acllite.acllite_logger as acl_log
from acllite.acllite_image import AclLiteImage

READ_TIMEOUT = 5
WAIT_INTERVAL = 0.1
Expand Down
9 changes: 9 additions & 0 deletions acllite/version.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @File : version.py
# @Author : jade
# @Date : 2022/12/12 17:35
# @Email : [email protected]
# @Software : Samples
# @Desc :
version = "1.0.2"
14 changes: 5 additions & 9 deletions acllite/videocapture.py
Original file line number Diff line number Diff line change
@@ -1,18 +1,14 @@
import sys
import os
BASE_DIR = os.path.dirname(os.path.abspath(__file__))
sys.path.append(BASE_DIR)
import av
import threading
import numpy as np
import acl
import time

import constants as const
import acllite_utils as utils
import acllite_logger as acl_log
import dvpp_vdec as dvpp_vdec
from acllite_image import AclLiteImage
import acllite.constants as const
import acllite.acllite_utils as utils
import acllite.acllite_logger as acl_log
import acllite.dvpp_vdec as dvpp_vdec
from acllite.acllite_image import AclLiteImage

WAIT_INTERVAL = 0.01
WAIT_READY_MAX = 10
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def find_packages(path,pack_list):
find_packages("acllite",pack_list)
setup(
name="acllite",
version="1.0.1",
version="1.0.2",
keywords=("pip", "acllite", ""),
description="acllite",
long_description=long_description,
Expand Down

0 comments on commit 657126a

Please sign in to comment.