Upload 6 files
Browse files- patch1.png1 +0 -0
- patch2.png2 +0 -0
- patch3.png3 +0 -0
- patch4.png4 +0 -0
- requirements.txt +1 -0
- script.py +8 -0
patch1.png1
ADDED
|
Binary file (150 kB). View file
|
|
|
patch2.png2
ADDED
|
Binary file (150 kB). View file
|
|
|
patch3.png3
ADDED
|
Binary file (150 kB). View file
|
|
|
patch4.png4
ADDED
|
Binary file (150 kB). View file
|
|
|
requirements.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
opencv-python
|
script.py
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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')
|