mirror of
https://github.com/This-weiyuqing/ECG_by_Diffenert_CNN_Test.git
synced 2026-10-18 03:13:39 +08:00
load two layer of cnn
This commit is contained in:
1 parent
815bd40d40
commit
5f757ad939
11 files changed
+158
-126
No files matched your search
@@ -0,0 +1,19 @@
|
||||
## read_img.py
|
||||
|
||||
import cv2
|
||||
import os
|
||||
import matplotlib.pyplot as plt
|
||||
from PIL import Image
|
||||
|
||||
source_path='E:/CToE/Pictures'
|
||||
|
||||
def show_pic():
|
||||
# img=cv2.imread(os.path.join(source_path,'t1.png'))
|
||||
img=Image.open(os.path.join(source_path,'1.png'))
|
||||
# plt.imshow(img)
|
||||
info = plt.imshow(img)
|
||||
print(info)
|
||||
plt.show()
|
||||
|
||||
if __name__ == '__main__':
|
||||
show_pic()
|
||||
Reference in new issue
Block a user