Tenken commited on
Commit
10159a7
1 Parent(s): d592fc3

Upload 2 files

Browse files
Files changed (2) hide show
  1. requirements.txt +1 -0
  2. script.py +8 -2
requirements.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ opencv-python
script.py CHANGED
@@ -1,2 +1,8 @@
1
- import numpy as np
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')