棒球被認為是台灣的國球,不管是場上的球員或是觀賽的球迷,有越來越多人開始投入這項運動。在棒球比賽中,投手扮演著非常重要的角色,一位好的投手可以主宰整場比賽的氣勢及節奏,然而裁判對於好球帶的判定是非常主觀的,往往成為影響比賽勝負的關鍵。有些職棒比賽採用電子好球帶輔助系統來提供投手好壞球資訊給觀眾球迷判定,但是在業餘比賽中會受限於場地限制或是設備較昂貴等因素而無法使用,因此本論文結合深度學習及影像處理技術做出類似但採用低成本的方式實做出一個好壞球辨識系統。 本論文之系統使用兩台低成本設備錄製投手投球影片,以YOLOv4模型進行棒球偵測,並且利用卡爾曼濾波器進行棒球軌跡預測及補影格。由於使用兩台攝影設備錄製影片,因此需要對影片做同步,本系統使用短時距傅立葉轉換擷取音訊特徵並且使用此特徵對齊影片時間。棒球比賽中的好球帶會依據本壘板位置及打者的身高做變化,本研究利用影像處理方式做本壘板偵測,並且使用OpenPose模型對打者進行骨架分析取得好球帶位置。 本研究利用實際至棒球場投球的資料集來評估本論文之系統有效性。根據實驗結果顯示,本系統在辨識好壞球時,準確率可以達到96%。;Baseball is considered the national sport of Taiwan, and there are more and more people committed to this sport, whether it is the players on the field or the fans watching the game. In a baseball game, the pitcher plays a major role who can dominate the momentum and rhythm of the game, but the decision of the referee on the strike zone is very subjective and often becomes the key to winning or losing the game. Some professional baseball games use electronic strike zone assistance systems to provide pitchers with strike and ball information to the fans, but this is impossible in amateur games due to venue constraints or expensive equipment. Therefore, this paper combines deep learning and image processing techniques to make a similar but low-cost way to implement a strike and ball recognition system. The system in this paper uses two low-cost devices to record pitcher′s pitching video, YOLOv4 model for baseball detection, and Kalman filter for baseball trajectory prediction and complementary frames. Since two cameras are used to record the video, it is necessary to synchronize the video. The system uses Short-time Fourier Transform to capture the audio features and uses this feature to align the video timing. The strike zone in a baseball game will change according to the position of the home plate and the height of the batter. This study uses image processing to detect the home plate and uses the OpenPose model to analyze the batter′s skeleton to obtain the location of the strike zone. This study uses the dataset which is actually pitching at the baseball field to evaluate the effectiveness of the system in this paper. According to the experimental results, the accuracy of the system in identifying strike and ball can reach 96%.