hivision\plugin\beauty\lut/lut_origin.png'): can't open/read file: check file path/integrity
Traceback (most recent call last):
File "app.py", line 3, in
from demo.processor import IDPhotoProcessor
File "C:\Users\stone\Desktop\HivisionIDPhotos\demo\processor.py", line 2, in
from hivision import IDCreator
File "C:\Users\stone\Desktop\HivisionIDPhotos\hivision__init.py", line 1, in
from .creator import IDCreator, Params as IDParams, Result as IDResult
File "C:\Users\stone\Desktop\HivisionIDPhotos\hivision\creator__init__.py", line 16, in
from hivision.plugin.beauty.handler import beauty_face
File "C:\Users\stone\Desktop\HivisionIDPhotos\hivision\plugin\beauty\init.py", line 1, in
from .beauty_tools import BeautyTools
File "C:\Users\stone\Desktop\HivisionIDPhotos\hivision\plugin\beauty\beauty_tools.py", line 10, in
from .whitening import MakeWhiter
File "C:\Users\stone\Desktop\HivisionIDPhotos\hivision\plugin\beauty\whitening.py", line 50, in
make_whiter = MakeWhiter(default_lut)
File "C:\Users\stone\Desktop\HivisionIDPhotos\hivision\plugin\beauty\whitening.py", line 38, in init
self.lut_white = LutWhite(lut_image)
File "C:\Users\stone\Desktop\HivisionIDPhotos\hivision\plugin\beauty\whitening.py", line 14, in init__
self.lut = self._create_lut(lut_image)
File "C:\Users\stone\Desktop\HivisionIDPhotos\hivision\plugin\beauty\whitening.py", line 24, in _create_lut
cube64 = lut_image[cy : cy + self.CUBE64_SIZE, cx : cx + self.CUBE64_SIZE]
TypeError: 'NoneType' object is not subscriptable
hivision\plugin\beauty\lut/lut_origin.png'): can't open/read file: check file path/integrity Traceback (most recent call last): File "app.py", line 3, in
from demo.processor import IDPhotoProcessor
File "C:\Users\stone\Desktop\HivisionIDPhotos\demo\processor.py", line 2, in
from hivision import IDCreator
File "C:\Users\stone\Desktop\HivisionIDPhotos\hivision__init.py", line 1, in
from .creator import IDCreator, Params as IDParams, Result as IDResult
File "C:\Users\stone\Desktop\HivisionIDPhotos\hivision\creator__init__.py", line 16, in
from hivision.plugin.beauty.handler import beauty_face
File "C:\Users\stone\Desktop\HivisionIDPhotos\hivision\plugin\beauty\ init.py", line 1, in
from .beauty_tools import BeautyTools
File "C:\Users\stone\Desktop\HivisionIDPhotos\hivision\plugin\beauty\beauty_tools.py", line 10, in
from .whitening import MakeWhiter
File "C:\Users\stone\Desktop\HivisionIDPhotos\hivision\plugin\beauty\whitening.py", line 50, in
make_whiter = MakeWhiter(default_lut)
File "C:\Users\stone\Desktop\HivisionIDPhotos\hivision\plugin\beauty\whitening.py", line 38, in init
self.lut_white = LutWhite(lut_image)
File "C:\Users\stone\Desktop\HivisionIDPhotos\hivision\plugin\beauty\whitening.py", line 14, in init__
self.lut = self._create_lut(lut_image)
File "C:\Users\stone\Desktop\HivisionIDPhotos\hivision\plugin\beauty\whitening.py", line 24, in _create_lut
cube64 = lut_image[cy : cy + self.CUBE64_SIZE, cx : cx + self.CUBE64_SIZE]
TypeError: 'NoneType' object is not subscriptable