Skip to content

Commit

Permalink
Fix bugs & release v1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
LiiNen committed Jun 5, 2021
1 parent 62ee32b commit f438b05
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
2 changes: 1 addition & 1 deletion CV_skeleton_provider/SPimage.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def forImage(opt):
#temp_rect = (int(temp[0]), int(temp[1]), int(temp[2])-10, int(temp[3]-10))
#frame, unused_rect = preBack(frame, selectRect_bool, temp_rect)
print('imported none')
frame = preBack(frame, selectRect_bool, rect_init)
frame, preBack_rect = preBack(frame, selectRect_bool, rect_init)
if gray_bool:
frame = preGray(frame, source)
if(draw_on == 'transform'):
Expand Down
2 changes: 1 addition & 1 deletion CV_skeleton_provider/SPvideo.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from CV_skeleton_provider.utils_preprocessor import preBack
from CV_skeleton_provider.utils_preprocessor import preGray
from CV_skeleton_provider.utils_preprocessor import preGamma
from utils_preprocessor import preBlackProportion
from CV_skeleton_provider.utils_preprocessor import preBlackProportion

def forVideo(opt):
print('video')
Expand Down
1 change: 0 additions & 1 deletion CV_skeleton_provider/utils_preprocessor.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ def findWhite(frame):

for index, colour in enumerate(colours):
if(colour[0] == 0 & colour[1] == 0 & colour[2] == 0):
cv2.imwrite('color.jpg', output)
return (100*counts[index])/(h*w)

def preBlackProportion(frame):
Expand Down
7 changes: 2 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

setup(
name = 'CV_skeleton_provider',
version = '0.1.18',
version = '1.0.1',
description = 'provide skeleton of a person',
author = 'LiiNen',
author_email = '[email protected]',
Expand All @@ -14,13 +14,10 @@
package_data = {},
zip_safe = False,
classifiers = [
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
],
)

0 comments on commit f438b05

Please sign in to comment.