Browse Source

chore(pip): add requirements.txt and Pipenv file

pull/5/head
the-wastl 5 years ago
parent
commit
7c751d9718
4 changed files with 18 additions and 0 deletions
  1. +2
    -0
      .flake8
  2. +13
    -0
      Pipfile
  3. +1
    -0
      main.py
  4. +2
    -0
      requirements.txt

+ 2
- 0
.flake8 View File

@@ -0,0 +1,2 @@
[flake8]
max-line-length = 120

+ 13
- 0
Pipfile View File

@@ -0,0 +1,13 @@
[[source]]
name = "pypi"
url = "https://pypi.org/simple"
verify_ssl = true

[dev-packages]

[packages]
numpy = "==1.16.2"
opencv-python = "==4.0.0.21"

[requires]
python_version = "3.7"

+ 1
- 0
main.py View File

@@ -27,6 +27,7 @@ logging.basicConfig(level=logging.INFO,
logger = logging.getLogger("main")
logger.setLevel(logging.INFO)


# The following function is used to determine the placement of
# text, at the moment it is incomplete
# function takes corners and text

+ 2
- 0
requirements.txt View File

@@ -0,0 +1,2 @@
numpy==1.16.2
opencv-python==4.0.0.21

Loading…
Cancel
Save