Dunant commited on
Commit
2f1254f
·
verified ·
1 Parent(s): a24eb19

Upload 6 files

Browse files
Files changed (6) hide show
  1. patch1.png1 +0 -0
  2. patch2.png2 +0 -0
  3. patch3.png3 +0 -0
  4. patch4.png4 +0 -0
  5. requirements.txt +1 -0
  6. script.py +8 -0
patch1.png1 ADDED
Binary file (14 kB). View file
 
patch2.png2 ADDED
Binary file (269 kB). View file
 
patch3.png3 ADDED
Binary file (7.22 kB). View file
 
patch4.png4 ADDED
Binary file (41.1 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')