關於我自己

2019年5月12日 星期日

波 Wave

波 Wave

什麼是構成波的元件?
1. 

1-1:Sin Wave:

1-2:Triangle Wave
1-3:Square Wave:



1-4:Sawtooth Wave :



 2. 雜訊 & 濾波(1D median filter)

2-1: 加入雜訊:

 2-2:小範圍的濾波:

 2-3:大範圍的濾波:

  Other:









2019年4月20日 星期六

C# 小筆記

1.
            byte x = 127;
            int b = x << 8;
            Console.WriteLine(Convert.ToString(b, toBase: 2));  // output: 111111100000000
            Console.WriteLine(Convert.ToString(b));             // 32512
            int c = b >> 8;
            Console.WriteLine(Convert.ToString(c, toBase: 2));  // output: 1111111
            Console.WriteLine(Convert.ToString(c));             // 127
            Console.WriteLine("按任意鍵結束....");
            Console.ReadKey();  

 

2019年1月8日 星期二

2019年1月4日 星期五

Python Flask + Keras 影像辨識+物體偵測 + 影像標題

環境:

Ubuntu 18.04.1 LTS

Python 3.6.6

參考:(CODE)

https://github.com/jrosebr1/simple-keras-rest-api

說明:

Flask => 網頁伺服器
Keras => 影像處理

 影像訓練的模組:

    1.Xception
    2.VGG16
    3.VGG19
    4.ResNet50
    5.InceptionV3
    6.InceptionResNetV2
    7.MobileNet
    8.DenseNet
    9.NASNet
    10.MobileNetV2

 使用訓練模組範例程式網址:(官網)

 https://keras.io/applications/

 影像辨識+物體偵測 + 影像標題

影像的原理:(我自己的感覺~跟OpenCV一樣~使用影像的函式)

  收集大量圖片利用訓練模組擷取特徵值~並建立影像資料庫跟標籤

再藉由輸入一張圖片去辨識,選擇訓練模組去辨識出該圖片定義為何種標籤

1.

2.

3.


 4.

5.

6.


7.

8.

物體偵測(Object Detection) + 影像標題(Image Captioning) 

參考網站:

 https://martin-thoma.com/object-detection/

CODE:

https://github.com/MartinThoma/algorithms

1.

2.

3.

4.


2019年1月2日 星期三

Flask MicroFramework

1.環境

環境:Linux Ubuntu 18
Python 3.6
*******************************************
pip install Flask

FLASK_APP=hello.py flask run

2.HelloWorld


3.路由


 4.Post or Get

 5.Post Json



6.網頁樣板: