markup: move WORKDIR to utils.py
This commit is contained in:
@ -9,11 +9,7 @@ import dumper
|
||||
import random as rng
|
||||
from pathlib import Path
|
||||
|
||||
from django.conf import settings
|
||||
|
||||
from .utils import cv2_rect, set_file_perms
|
||||
|
||||
WORKDIR = os.path.join(settings.ASSET_DIR, 'markup', 'work')
|
||||
from .utils import cv2_rect, ensure_dir, set_file_perms, WORKDIR
|
||||
|
||||
# https://www.pyimagesearch.com/2014/10/20/finding-shapes-images-using-python-opencv/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user