- Aug 31 Tue 2021 14:02
-
A small pygame project
- Feb 03 Wed 2021 09:21
-
How to show an image in a figure instead of a back-end display?

from keras.datasets import mnist
import matplotlib.pyplot as plt
(train_images, train_labels), (test_images, test_labels) = mnist.load_data()
ind = 10
digit = train_images[ind]
plt.imshow(digit, cmap=plt.cm.binary)
plt.show()
x = train_images[ind,7:-7, 7:-7]
plt.imshow(x, cmap=plt.cm.binary)
plt.show()
- Aug 24 Fri 2018 10:56
-
使用Anaconda安裝OpenCV 3.4.1
- Dec 09 Sat 2017 20:06
-
Graphical User Interfaces with Tk
- Nov 14 Tue 2017 11:37
-
Installing OpenCV3.3.0 in Python 3.6.3::Anaconda3
- Nov 06 Mon 2017 10:54
-
安裝Anaconda3-5.0.1-Windows-x86_64
- Oct 29 Sat 2016 12:24
-
Python非官方套件
今天意外逛到一個不錯的網站pythonlibs,裡面整理了一些不錯的Python套件, 先記錄下來, 改天應該派得上用場!!!
參考資料1. Unofficial Windows Binaries for Python Extension Packages
參考資料1. Unofficial Windows Binaries for Python Extension Packages
- Oct 29 Sat 2016 12:08
-
Failed to Import cv2 in Python2.7

前幾天剛安裝OpenCV for Python, 今天準備測試時發生錯誤訊息
import cv2
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
<ipython-input-1-72fbbcfe2587> in <module>()
----> 1 import cv2
ImportError: DLL load failed: 找不到指定的程序。
- Oct 28 Fri 2016 12:37
-
使用VPython繪製3D
- Oct 26 Wed 2016 09:36
-
使用matplotlib繪圖
官網 Matplotlib Examples展示各式各樣繪圖範例, 實在太棒了!!!matplotlib第一印象就是跟MATLAB繪圖風格超像, 因此學他就對了!以下為官網展示範例中一部分, 先睹為快~ barh_demo fill_demo
- Oct 25 Tue 2016 20:17
-
安裝 Python Imaging Library (PIL)

下載 PIL-1.1.7.win32-py2.7PIL 1.1.7Python Imaging Library 1.1.7 Source Kit (all platforms) (November 15, 2009)
Python Imaging Library 1.1.7 for Python 2.4 (Windows only)
Python Imaging Library 1.1.7 for Python 2.5 (Windows only)
Python Imaging Library 1.1.7 for Python 2.6 (Windows only)
Python Imaging Library 1.1.7 for Python 2.7 (Windows only)
- Oct 25 Tue 2016 20:12
-
Installing OpenCV 2.4.11-7 Components for Python(x,y)






