jioaxi 1 rok pred
rodič
commit
168a384583

+ 6 - 0
.ipynb_checkpoints/Untitled-checkpoint.ipynb

@@ -0,0 +1,6 @@
+{
+ "cells": [],
+ "metadata": {},
+ "nbformat": 4,
+ "nbformat_minor": 5
+}

+ 1 - 0
Day01/first.py

@@ -0,0 +1 @@
+print("健康的我")

+ 6 - 0
Day03/.ipynb_checkpoints/Untitled-checkpoint.ipynb

@@ -0,0 +1,6 @@
+{
+ "cells": [],
+ "metadata": {},
+ "nbformat": 4,
+ "nbformat_minor": 5
+}

Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 48 - 0
Day03/.ipynb_checkpoints/day03卷积特征-checkpoint.ipynb


Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 69 - 0
Day03/.ipynb_checkpoints/day03笔记-checkpoint.ipynb


+ 33 - 0
Day03/Untitled.ipynb

@@ -0,0 +1,33 @@
+{
+ "cells": [
+  {
+   "cell_type": "code",
+   "execution_count": null,
+   "id": "05001071-cd05-4000-bc4a-fb61b399c104",
+   "metadata": {},
+   "outputs": [],
+   "source": []
+  }
+ ],
+ "metadata": {
+  "kernelspec": {
+   "display_name": "Python 3 (ipykernel)",
+   "language": "python",
+   "name": "python3"
+  },
+  "language_info": {
+   "codemirror_mode": {
+    "name": "ipython",
+    "version": 3
+   },
+   "file_extension": ".py",
+   "mimetype": "text/x-python",
+   "name": "python",
+   "nbconvert_exporter": "python",
+   "pygments_lexer": "ipython3",
+   "version": "3.9.13"
+  }
+ },
+ "nbformat": 4,
+ "nbformat_minor": 5
+}

+ 12 - 0
Day03/codes/ex01.py

@@ -0,0 +1,12 @@
+import cv2
+import numpy as np
+import matplotlib.pyplot as plt
+img = cv2.imread("gpu.bmp")
+
+# 格式转换
+# img_out = cv2.cvtColor(img, cv2.COLOR_RGB2GRAY)
+img_out = cv2.cvtColor(img, cv2.COLOR_RGB2BGR)
+
+plt.imshow(img_out)
+# plt.imshow(img_out, cmap="gray")
+plt.show()

+ 12 - 0
Day03/codes/ex_qt01.py

@@ -0,0 +1,12 @@
+# 进入模块
+from PyQt5.Qtwidgets from QApplication
+from PyQt5.Qtwidgets from QDialog
+
+#创建Qt应用
+app = QApplication([])  #参数:命令行参数
+"""
+    Qt的应用必须在App之间
+"""
+dlg = QDialog()
+dlg.show()
+app.exec()  #让应用程序进入消息循环

+ 9 - 0
Day03/codes/notes.txt

@@ -0,0 +1,9 @@
+1.条件
+  安装的模块:PyQt5,PyQt5-tools
+  where python 确定python安装路径:${PYTHON_HOME}
+  安装的模块在
+      ${PYTHON_HOME}/Lib/site-packages/PyQt5
+      ${PYTHON_HOME}/Lib/site-packages/PyQt5-tools
+      ${PYTHON_HOME}/Lib/site-packages/qt5-application
+      ${PYTHON_HOME}/Lib/site-packages/qt5-application/Qt/bin
+           |-designer.exe GUI(Graphic  User Tn)

Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 48 - 0
Day03/day03卷积特征.ipynb


Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 69 - 0
Day03/day03笔记.ipynb


BIN
Day03/gpu.bmp


+ 6 - 0
Untitled.ipynb

@@ -0,0 +1,6 @@
+{
+ "cells": [],
+ "metadata": {},
+ "nbformat": 4,
+ "nbformat_minor": 5
+}

+ 5 - 0
ex01.py

@@ -0,0 +1,5 @@
+import numpy
+import cv2
+img_array = [[[0,0,255,66]for i in range(255)]for j in range(100)]
+img_numpy = numpy.array(img_array)
+cv2.imwrite("1.jpg",img_numpy)

Niektoré súbory nie sú zobrazené, pretože je v týchto rozdielových dátach zmenené mnoho súborov