Upload 2 files
Browse files- requirements.txt +1 -0
- script.py +8 -2
requirements.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
opencv-python
|
script.py
CHANGED
|
@@ -1,2 +1,8 @@
|
|
| 1 |
-
import
|
| 2 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import pickle
|
| 2 |
+
import numpy as np
|
| 3 |
+
import pandas as pd
|
| 4 |
+
from PIL import Image
|
| 5 |
+
|
| 6 |
+
data = np.random.randint(0, 255, size=(300, 300, 3), dtype=np.uint8)
|
| 7 |
+
img = Image.fromarray(data, 'RGB')
|
| 8 |
+
#img.save('patch.png')
|