TWI712012B - Artificial intelligence traffic detection system - Google Patents

Artificial intelligence traffic detection system Download PDF

Info

Publication number
TWI712012B
TWI712012B TW107135317A TW107135317A TWI712012B TW I712012 B TWI712012 B TW I712012B TW 107135317 A TW107135317 A TW 107135317A TW 107135317 A TW107135317 A TW 107135317A TW I712012 B TWI712012 B TW I712012B
Authority
TW
Taiwan
Prior art keywords
artificial intelligence
traffic
detection system
processor
vehicles
Prior art date
Application number
TW107135317A
Other languages
Chinese (zh)
Other versions
TW202004702A (en
Inventor
胡中平
連仲祺
Original Assignee
義碩智能股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 義碩智能股份有限公司 filed Critical 義碩智能股份有限公司
Priority to CN201811625749.XA priority Critical patent/CN110556000A/en
Priority to PH12019000145A priority patent/PH12019000145A1/en
Publication of TW202004702A publication Critical patent/TW202004702A/en
Application granted granted Critical
Publication of TWI712012B publication Critical patent/TWI712012B/en

Links

Images

Landscapes

  • Traffic Control Systems (AREA)

Abstract

The invention relates to an artificial intelligence traffic detection system, which continuously images an intersection image by a fisheye camera installed at an intersection, and analyzes the image by a processor with an artificial intelligence algorithm to obtain traffic information. After the traffic information is transmitted to a server, the server generates a time plan for controlling the traffic sign of the intersection based on the traffic information. The invention can provide traffic information in an instant and continuously without interruption, and helps to instantly generate a time plan which is most suitable for traffic signs of various intersections, thereby improving traffic congestion.

Description

人工智慧交通偵測系統Artificial Intelligence Traffic Detection System

本發明為一種交通偵測系統,係指一種運用人工智慧偵測交通狀況的系統。The present invention is a traffic detection system, which refers to a system that uses artificial intelligence to detect traffic conditions.

交通壅塞往往是都會區難解的問題,交通壅塞的原因除了車流量大以外,交通號誌所掌控車輛行進與停止的時間長短,也扮演著關鍵的角色。目前大多數的交通號誌均由設置於路口的交通控制器所掌控,多半以預設的時制計畫(timing plan)運行,而預設的時制計畫多半係由人員統計現場車流量後,再加以運算後得出預設時制計畫。Traffic congestion is often a difficult problem in metropolitan areas. In addition to the high volume of traffic, traffic congestion also plays a key role in controlling the length of time for vehicles to move and stop. At present, most traffic signs are controlled by traffic controllers set up at intersections. Most of them run on a preset timing plan, and most of the preset time schedules are based on personnel counting on-site traffic flow. After further calculation, the preset time system plan is obtained.

然而,由人力統計車流量,不但費時費力,也會因人員的疏忽而有誤差,且也難以進行長時間不間斷的統計。再者,也因為無法隨時配置人力進行現場監控,故無法隨著路口狀況即時調整交通號誌的時制。因此,現有技術確有其缺陷。However, it is time-consuming and laborious to count the traffic flow by manpower, and there are errors due to the negligence of the personnel, and it is also difficult to carry out long-term uninterrupted statistics. Furthermore, because it is impossible to deploy manpower for on-site monitoring at any time, it is impossible to adjust the time system of traffic signs in real time with the intersection conditions. Therefore, the prior art does have its drawbacks.

有鑑於此,本發明係針對現有技術中的缺點進行改良研發,能夠即時偵測路***通狀況,有助於即時調整交通號誌的時制。In view of this, the present invention is an improved research and development based on the shortcomings of the prior art, which can detect the traffic conditions at the intersection in real time, and help to adjust the time system of traffic signs in real time.

為達到上述之發明目的,本發明所採用的技術手段為提供一種人工智慧交通偵測系統,其中包括: 一魚眼攝影機,用於拍攝多張路口連續的影像; 一具有人工智慧演算法的處理器,接收所述多張連續的影像,該處理器藉由該人工智慧演算法分析所述多張連續的影像,獲得一交通資訊,該交通資訊包括在直行及轉彎等不同的行進方向上的各種車輛的數量;以及 一通訊裝置,耦接該處理器,用以傳送該交通資訊。In order to achieve the above-mentioned object of the invention, the technical means adopted by the present invention is to provide an artificial intelligence traffic detection system, which includes: a fisheye camera for shooting multiple consecutive images of intersections; a processing with artificial intelligence algorithms The processor receives the multiple continuous images, and the processor analyzes the multiple continuous images by the artificial intelligence algorithm to obtain traffic information. The traffic information includes traffic information in different directions such as going straight and turning. The number of various vehicles; and a communication device coupled to the processor for transmitting the traffic information.

本發明的優點在於,可實現長時間監控且收集到準確的車流資訊,以實現即時調整交通號誌的控制,改善交通雍塞的情況。The advantage of the present invention is that it can realize long-term monitoring and collect accurate traffic flow information, so as to realize the control of real-time adjustment of traffic signs and improve the traffic jam.

以下配合圖式及本發明之實施例,進一步闡述本發明為達成預定發明目的所採取的技術手段。The following describes the technical means adopted by the present invention to achieve the intended purpose of the invention in conjunction with the drawings and the embodiments of the present invention.

請參閱圖1所示,本發明之人工智慧交通偵測系統P包含有一魚眼攝影機10、一具有人工智慧演算法的處理器20以及一通訊裝置30。該人工智慧交通偵測系統P是用來偵測一路口的交通狀況,並且產生一交通資訊。該人工智慧交通偵測系統P將該交通資訊傳送給遠端的伺服器40,伺服器40根據該交通資訊產生交通號誌60的時制計畫(timing plan),並且可將該時制計畫傳送給控制該交通號誌60運作的交通號誌控制器50。Please refer to FIG. 1, the artificial intelligence traffic detection system P of the present invention includes a fisheye camera 10, a processor 20 with artificial intelligence algorithm, and a communication device 30. The artificial intelligence traffic detection system P is used to detect the traffic conditions at the intersection and generate traffic information. The artificial intelligence traffic detection system P transmits the traffic information to the remote server 40. The server 40 generates a timing plan for the traffic signal 60 based on the traffic information, and can transmit the timing plan Give the traffic signal controller 50 that controls the operation of the traffic signal 60.

魚眼攝影機10具有廣角的鏡頭,用以拍攝多張連續的影像。魚眼攝影機10可以設置於路口上方,以拍攝俯視影像。在圖2的實施例中,魚眼攝影機10架設在路口的交通號誌60的燈架70上,但並不以此為限。處理器20及該通訊裝置30係放置在一機箱200裡面,機箱200的外殼可以保護處理器20及通訊裝置30不會淋到雨或遭到人為的破壞。在圖2的實施例中,機箱200係設置在燈架70上,但並不以此為限。在一實施例中,魚眼攝影機10為一360度全景魚眼攝影機,具有500萬或者更高的畫素,能夠拍攝在路口左轉、直行或右轉的各種車輛,例如摩托車、三輪車、小客車、大客車、大貨車、聯結車等等兩輪以上的車輛。在其他實施例中,魚眼攝影機10亦可以是設置在路口其他適合的支架上,例如路標的支架,容納處理器20與通訊裝置30的機箱200則是設置於該支架上。The fisheye camera 10 has a wide-angle lens for shooting multiple continuous images. The fish-eye camera 10 can be set above the intersection to shoot overhead images. In the embodiment of FIG. 2, the fisheye camera 10 is installed on the light stand 70 of the traffic sign 60 at the intersection, but it is not limited to this. The processor 20 and the communication device 30 are placed in a case 200, and the shell of the case 200 can protect the processor 20 and the communication device 30 from rain or man-made damage. In the embodiment of FIG. 2, the case 200 is arranged on the light stand 70, but it is not limited to this. In one embodiment, the fish-eye camera 10 is a 360-degree panoramic fish-eye camera with 5 million or higher pixels, and can photograph various vehicles turning left, going straight or turning right at the intersection, such as motorcycles, tricycles, Vehicles with more than two wheels, such as small passenger cars, buses, large trucks, coupling cars, etc. In other embodiments, the fisheye camera 10 may also be set on other suitable brackets at the intersection, such as a bracket for road signs, and the chassis 200 containing the processor 20 and the communication device 30 is set on the bracket.

處理器20可以是NVIDIA公司所開發的 JETSON TX2平台或其他的人工智慧平台,Jetson TX2 是一款人工智慧超級電腦模組,採用 NVIDIA Pascal 架構,支援人工智慧的運算處理。處理器20耦接魚眼攝影機10,具有人工智慧,用以接收魚眼攝影機10所拍攝之多張連續的影像。在一實施例中,魚眼攝影機10藉由一網路線(例如RJ45)連接處理器20,魚眼攝影機10經由該網路線傳送影像給處理器20。該處理器20利用人工智慧演算法,從所述多張連續的影像中識別出不同種類的車輛以及其行進方向,以獲得一交通資訊。該交通資訊中可包含直行及轉彎的多種車輛的數量等。舉例而言,圖3的示意圖包括8個路口1~8,處理器20所產出的交通資訊係如每個路口所標示的表格,每一組交通資訊提供三個行進方向的車輛種類及數量。圖3中以A代表大客車、大貨車等大型車輛、以B代表休旅車、小客車等中型車輛、以C代表機車等小型車輛,例如交通資訊T1 顯示,從由南向北的路口1共有51台車通過,其中右轉離開並進入路口5的大型車輛有1台、中型車輛有4台、小型車輛有10台,直行離開並進入路口3的大型車輛有3台、中型車輛有20台、小型車輛有6台,左轉離開並進入路口8的大型車輛有2台、中型車輛有5台、小型車輛有0台,交通資訊T2 則顯示,在由南向北的路口3,共有47台車通過,其中從路口7左轉進入的大型車輛有0台、中型車輛有8台、小型車輛有0台,從路口1直行進入的大型車輛有3台、中型車輛有20台、小型車輛有6台,從路口6右轉進入的大型車輛有0台、中型車輛有2台、小型車輛有8台,依此類推可得之該路口的交通資訊。在其他實施例中,該處理器20從魚眼攝影機10所識別出的車輛,包括兩輪以上的車輛,例如摩托車、三輪車、小客車、大客車、貨車、聯結車…等等。The processor 20 may be a JETSON TX2 platform developed by NVIDIA or other artificial intelligence platforms. Jetson TX2 is an artificial intelligence supercomputer module that adopts the NVIDIA Pascal architecture and supports artificial intelligence computing processing. The processor 20 is coupled to the fisheye camera 10 and has artificial intelligence for receiving multiple continuous images captured by the fisheye camera 10. In one embodiment, the fisheye camera 10 is connected to the processor 20 via a network cable (for example, RJ45), and the fisheye camera 10 transmits images to the processor 20 via the network cable. The processor 20 uses artificial intelligence algorithms to identify different types of vehicles and their traveling directions from the multiple continuous images to obtain traffic information. The traffic information may include the number of various vehicles going straight and turning. For example, the schematic diagram in Fig. 3 includes 8 intersections 1 to 8. The traffic information generated by the processor 20 is a table marked for each intersection, and each set of traffic information provides the type and number of vehicles in the three directions of travel. . 3 to A representative of buses, trucks and other large vehicles to B on behalf of SUVs, small and medium-sized buses and other vehicles to locomotives and other small vehicles on behalf of C, such as traffic information T 1 show, from crossing from south to north 1 A total of 51 vehicles passed. Among them, 1 large vehicle left and entered junction 5, 4 medium vehicles, 10 small vehicles, 3 large vehicles leaving and entering junction 3, and 20 medium vehicles. There are 6 vehicles and small vehicles, 2 large vehicles, 5 medium vehicles, and 0 small vehicles turning left and entering junction 8. The traffic information T 2 shows that at junction 3 from south to north, A total of 47 vehicles passed through. Among them, there are 0 large vehicles entering from Junction 7, 8 medium vehicles, 0 small vehicles, 3 large vehicles entering straight from Junction 1, 20 medium vehicles, and small vehicles. There are 6 vehicles. There are 0 large vehicles, 2 medium vehicles, and 8 small vehicles entering right from junction 6, and the traffic information of the junction can be obtained by analogy. In other embodiments, the vehicles recognized by the processor 20 from the fisheye camera 10 include vehicles with more than two wheels, such as motorcycles, tricycles, minibuses, buses, trucks, connected cars, etc.

魚眼攝影機10與處理器20可以裝設在每一個路口,也可以是只裝設在路口1、4、6與7。如圖所示,例如路口3的交通資訊T2 ,其實可以根據路口7、1與6的交通資訊來獲得,因此,省略路口3的魚眼攝影機10與處理器20亦是可行的,以此類推則路口2、5、8之魚眼攝影機10亦可被省略。如果是在較小型的十字或T字路口,架設一隻360度全景魚眼攝影機10以及一處理器20,便可能足已拍攝到所有路口的交通影像,並產生各方向的交通資訊。在一實施例中,多個處理器20可以共用一個通訊裝置,以節省成本。在其他的實施例中,處理器20產生的交通資訊可以包括更多的內容,例如車行速度,每單位時間(例如小時或分鐘)的車流量等等。The fisheye camera 10 and the processor 20 can be installed at every intersection, or only at the intersections 1, 4, 6, and 7. As shown in the figure, for example, the traffic information T 2 of intersection 3 can actually be obtained based on the traffic information of intersections 7, 1, and 6. Therefore, it is also feasible to omit the fisheye camera 10 and the processor 20 of intersection 3. By analogy, the fisheye camera 10 at intersections 2, 5, and 8 can also be omitted. If it is a small cross or T-shaped intersection, setting up a 360-degree panoramic fisheye camera 10 and a processor 20 may be sufficient to capture traffic images of all intersections and generate traffic information in all directions. In one embodiment, multiple processors 20 can share a communication device to save cost. In other embodiments, the traffic information generated by the processor 20 may include more content, such as vehicle speed, traffic volume per unit time (for example, hour or minute), and so on.

在圖1所示的實施例中,處理器20包含一即時串流協定(Real Time Streaming Protocol, RTSP)影像解碼器21、一人工智慧判斷單元22及一儲存裝置23。即時串流協定影像解碼器21耦接儲存裝置23與人工智慧判斷單元22。即時串流協定影像解碼器21的輸入端耦接魚眼攝影機10的輸出,用以接收及解碼魚眼攝影機10拍攝的多張連續影像,並將解碼後的影像資料傳送至該人工智慧判斷單元22。In the embodiment shown in FIG. 1, the processor 20 includes a Real Time Streaming Protocol (RTSP) image decoder 21, an artificial intelligence judgment unit 22 and a storage device 23. The real-time streaming protocol video decoder 21 is coupled to the storage device 23 and the artificial intelligence judgment unit 22. The input terminal of the real-time streaming protocol image decoder 21 is coupled to the output of the fisheye camera 10 to receive and decode multiple continuous images taken by the fisheye camera 10, and transmit the decoded image data to the artificial intelligence judgment unit twenty two.

人工智慧判斷單元22包括人工智慧演算法及車輛資料庫,用以對多張連續的影像進行分析,以產生交通資訊。車輛資料庫是來自機器學習的結果,其中包括各種車輛的特徵資訊,該人工智慧演算法將影像中的車輛物件與車輛資料庫的特徵資訊進行比對,以識別出車輛的種類。在一實施例中,每一種車輛對應多筆的特徵資訊,這多筆的特徵資訊分別對應不同程度的魚眼變形(fisheye distortion)的車輛圖像。舉例來說,為了進行機器學習,需在各式路口(例如三叉路口、十字路口),各種天候情境(例如白天、晚上、睛天、陰天、雨天)下拍攝大量的連續的路口影像,這些路口影像是以上述之魚眼攝影機10所拍攝的魚眼影像。從這些魚眼影像中,各個車輛在各個位置的影像被用來進行機器學習以萃取出特徵資訊。在一實施例中,以這些魚眼影像進行機器學習的過程並不把魚眼影像或者魚眼影像中扭曲變形的車輛圖像進行還原或變形校正,因此這些魚眼影像中,所有因魚眼鏡頭而扭曲變形的車輛圖像都會被用於機器學習以萃取出特徵資訊。每一種車輛會對應到多筆的特徵資訊,而且每一筆特徵資訊對應的車輛圖像具有不同程度的扭曲變形。從這些扭曲變形的車輛圖像分別萃取出特徵資訊,有利於將來能迅速的從拍攝到的魚眼影像中直接識別出車輛。The artificial intelligence judgment unit 22 includes an artificial intelligence algorithm and a vehicle database for analyzing multiple consecutive images to generate traffic information. The vehicle database is the result of machine learning and includes characteristic information of various vehicles. The artificial intelligence algorithm compares the vehicle objects in the image with the characteristic information of the vehicle database to identify the type of vehicle. In one embodiment, each type of vehicle corresponds to multiple pieces of feature information, and the multiple pieces of feature information respectively correspond to vehicle images with different degrees of fisheye distortion. For example, in order to perform machine learning, it is necessary to shoot a large number of continuous intersection images at various intersections (such as three-way intersections, crossroads) and various weather situations (such as day, night, clear sky, cloudy, rainy). The intersection image is a fish-eye image taken by the aforementioned fish-eye camera 10. From these fisheye images, images of various vehicles at various locations are used for machine learning to extract feature information. In one embodiment, the process of machine learning using these fisheye images does not restore or correct the distortion of the fisheye images or the distorted vehicle images in the fisheye images. Therefore, in these fisheye images, all fisheye images are caused by fisheye images. The distorted and deformed vehicle images will be used in machine learning to extract feature information. Each type of vehicle corresponds to multiple pieces of characteristic information, and the vehicle image corresponding to each piece of characteristic information has different degrees of distortion. The feature information is extracted from these distorted vehicle images, which will help to quickly identify the vehicle directly from the captured fisheye images in the future.

在收到魚眼攝影機10傳來的影像之後,人工智慧判斷單元22藉由人工智慧演算法從該影像中找到所有像車子的物件,並且與車輛資料庫裡的特徵資訊進行比對,以識別出該影像中的所有車輛。在一實施例中,當人工智慧判斷單元從魚眼圖像識別出一車輛時,即給予該車輛一標示,例如圖4所示的一識別框80包括該車輛。藉由該標示及多張連續的魚眼影像,該人工智慧判斷單元22可以追蹤該車輛是直行,左轉或右轉。After receiving the image from the fisheye camera 10, the artificial intelligence judgment unit 22 uses an artificial intelligence algorithm to find all car-like objects in the image, and compares it with the characteristic information in the vehicle database to identify All vehicles in the image. In one embodiment, when the artificial intelligence judgment unit recognizes a vehicle from the fisheye image, it gives the vehicle a mark. For example, a recognition frame 80 shown in FIG. 4 includes the vehicle. With the aid of the mark and multiple continuous fisheye images, the artificial intelligence judgment unit 22 can track whether the vehicle is going straight, turning left or turning right.

人工智慧判斷單元22藉由人工智慧演算法識別影像中的車輛種類(例如摩托車、三輪車、小客車、大客車、貨車、聯結車等等)及識別各種車輛的行進方向(例如左轉,右轉,直行)。根據識別的結果,該人工智慧判斷單元22分別統計各種車輛在各個行進方向的車輛數目,以產出交通資訊。在其他實施例中,根據魚眼攝影機10的幀率(frame rate)(每秒拍攝幾張),該人工智慧判斷單元22更可以計算車行速度、單位時間的車流量,路口占有率等等的資料,並整合到交通資訊中 。The artificial intelligence judgment unit 22 uses artificial intelligence algorithms to identify the types of vehicles in the image (such as motorcycles, tricycles, minibuses, buses, trucks, connected cars, etc.) and identify the direction of travel of various vehicles (such as turning left and right). Turn and go straight). According to the recognition result, the artificial intelligence judgment unit 22 separately counts the number of vehicles in each direction of travel of various vehicles to generate traffic information. In other embodiments, according to the frame rate of the fisheye camera 10 (a few shots per second), the artificial intelligence judgment unit 22 can further calculate the speed of the vehicle, the traffic volume per unit time, the occupancy rate of the intersection, etc. Data and integrated into the traffic information.

舉例來說,車行速度的計算方式,可以是在魚眼攝影機10拍攝的魚眼影像中預設一測距範圍,該測距範圍的長度為M個像素,該M個像素的長度對應到實際的道路距離N,藉由追蹤車輛物件,並計算經過多少張連續的魚眼影像,影像中的車輛物件的位置通過該測距範圍,即可計算出車行速度,例如,在60張連續的魚眼影像中,一車輛物件的位置移動了該測距範圍,該測距範圍對應的實際道路距離為20公尺,該魚眼攝影機10的幀率(frame rate)為每秒30張影像,換言之,一車輛物件移動該測距範圍的時間為2秒(60/30)。則將距離20公尺除以行駛時間2秒,即可獲得該車輛物件的車行速度為10公尺/秒。單位時間的車流量可以是根據處理器統計每20秒鐘通過該路口的車輛總數來計算。路口佔有率(Occupancy)是用來評估是否塞車的一項資訊,路口佔有率的計算可以是在魚眼攝影機10拍攝的路口影像中預設一監視區域,該監視區域可以是對應例如十字路口中央的一塊區域。藉由計算在一分鐘的影像中,有多少張影像的監視區域有包括車輛物件,可以計算出路口佔有率。舉例來說,該魚眼攝影機10的幀率(frame rate)為每秒30張影像,1分鐘即為1800張影像,如果1800張連續的影像中,有180張影像的監視區域有包括車輛物件,則路口佔有率為監視區域有包括車輛物件的影像張數180除以1分鐘魚眼攝影機10產出的影像張數1800,等於10/100。路口占有率可以被伺服器40用來作為評估交通雍塞的資訊之一。舉例來說,當路口佔有率達到一門檻值(例如100/100),即表示該十字路口的中央區域持續有車子在通過,可能已經發生塞車的情況,則伺服器40可以據該路口佔有率即時調整該十字路口的各個交通號誌的時間控制,以維持各方向的交通順暢。For example, the calculation method of the vehicle speed may be to preset a distance measurement range in the fisheye image taken by the fisheye camera 10, the length of the distance measurement range is M pixels, and the length of the M pixels corresponds to The actual road distance N. By tracking the vehicle object and calculating how many consecutive fisheye images have passed, the vehicle object’s position in the image can be calculated through the range of the distance measurement range, for example, in 60 continuous images In the fisheye image of, the position of a vehicle object has moved the distance measurement range, the actual road distance corresponding to the distance measurement range is 20 meters, and the frame rate of the fisheye camera 10 is 30 images per second , In other words, the time for a vehicle object to move the ranging range is 2 seconds (60/30). Divide the distance of 20 meters by the travel time of 2 seconds to get the speed of the vehicle object as 10 meters per second. The traffic volume per unit time can be calculated based on the processor's statistics of the total number of vehicles passing through the intersection every 20 seconds. Intersection occupancy rate (Occupancy) is a piece of information used to evaluate whether there is a traffic jam. The calculation of intersection occupancy rate can be to preset a surveillance area in the intersection image taken by the fisheye camera 10, and the surveillance area can correspond to, for example, the center of the intersection. Area. By calculating the number of images in one minute of images, how many images include vehicle objects in the surveillance area, the intersection occupancy rate can be calculated. For example, the frame rate of the fisheye camera 10 is 30 images per second, and 1 minute is 1800 images. If there are 180 images in the 1800 continuous images, the surveillance area includes vehicle objects. , Then the intersection occupancy rate in the surveillance area is 180 divided by the number of images including vehicle objects 180 divided by the number of images produced by the fisheye camera 10 in 1 minute, which is equal to 10/100. The intersection occupancy rate can be used by the server 40 as one of the information for evaluating traffic congestion. For example, when the occupancy rate of an intersection reaches a threshold value (for example, 100/100), it means that there are continuous cars passing through the central area of the intersection, and traffic jams may have occurred, and the server 40 can use the intersection occupancy rate Immediately adjust the time control of each traffic signal at the intersection to maintain smooth traffic in all directions.

儲存裝置23係用以暫存人工智慧判斷單元22產出的交通資訊。在一實施例中,該儲存裝置23更儲存必要的影像及歷史交通資訊。儲存裝置23可以是例如硬碟、SSD硬碟等儲存媒體。The storage device 23 is used to temporarily store the traffic information generated by the artificial intelligence judgment unit 22. In one embodiment, the storage device 23 further stores necessary images and historical traffic information. The storage device 23 may be a storage medium such as a hard disk or an SSD hard disk.

通訊裝置30耦接於處理器20,用以傳送處理器20產生的交通資訊。在一實施例中,處理器20包括一網路介面(圖中未示出)耦接通訊裝置30,通訊裝置30與該網路介面之間以網路線(例如RJ45網路線)相連接。儲存裝置23中暫存的交通資訊經由該網路介面傳送至通訊裝置30。通訊裝置30可透過有線網路或無線網路與該伺服器40通訊,以傳送該交通資訊。在一實施例中,通訊裝置30為一路由器(router)。The communication device 30 is coupled to the processor 20 for transmitting traffic information generated by the processor 20. In one embodiment, the processor 20 includes a network interface (not shown in the figure) coupled to the communication device 30, and the communication device 30 is connected to the network interface by a network cable (for example, an RJ45 network cable). The traffic information temporarily stored in the storage device 23 is transmitted to the communication device 30 via the network interface. The communication device 30 can communicate with the server 40 via a wired network or a wireless network to transmit the traffic information. In one embodiment, the communication device 30 is a router.

伺服器40接收通訊裝置30傳來的交通資訊,並且根據該交通資訊產生一用於交通號誌60的時制計畫(timing plan),伺服器40可以是交通單位既有或新設的系統。交通號誌60是由交通號誌控制器50控制,伺服器40可藉由有線網路或無線網路將時制計畫傳送給交通號誌控制器50,交通號誌控制器50接收該時制計畫之後,即根據該時制計畫控制交通號誌60。在一實施例中,該時制計畫係包含對交通號誌60的時間控制,例如直行綠燈的秒數、右轉綠燈的秒數、左轉綠燈的秒數、紅燈的秒數、黃燈的秒數等等。The server 40 receives the traffic information from the communication device 30 and generates a timing plan for the traffic sign 60 based on the traffic information. The server 40 may be an existing or newly installed system of the traffic unit. The traffic signal 60 is controlled by the traffic signal controller 50. The server 40 can transmit the time schedule to the traffic signal controller 50 via a wired network or a wireless network, and the traffic signal controller 50 receives the time schedule. After drawing, control traffic sign 60 according to the time system plan. In one embodiment, the time schedule system includes time control of the traffic signal 60, such as the number of seconds for the green light to go straight, the number of seconds for the green light to turn right, the number of seconds for the green light to turn left, the seconds for the red light, and the yellow light. The number of seconds and so on.

從以上說明可以了解,本發明之人工智慧交通偵測系統P是用魚眼攝影機10監控路口的影像加上人工智慧影像分析,可以產出大數據,而且可以判斷轉向(例如左轉或右轉)的車流以及識別出機車(這是目前使用雷達偵測無法作到的功能)。It can be understood from the above description that the artificial intelligence traffic detection system P of the present invention uses the fisheye camera 10 to monitor the image of the intersection and the artificial intelligence image analysis, which can produce big data and can judge the direction of rotation (such as turning left or right) ) Traffic flow and identify the locomotive (this is a function that cannot be done with radar detection at present).

上述實施例的一項優點在於,魚眼攝影機10所拍到的影像是由位於魚眼攝影機10近端的處理器10分析,通訊裝置30只傳送處理器20產生的交通資訊給遠端的伺服器40,該交通資訊的資料量較少,因此對於通訊裝置30之伺服器40之間的網路的頻寬要求較低,有助於減少建置網路的成本,提高資料傳輸的可靠性及速度,有利於即時地進行時制計畫的調整。如果是將魚眼攝影機10的影像傳到雲端的伺服器處理,將會需要相當大的網路頻寬,除了會增加建置網路的成本,也可能因為網路壅塞而導致影像傳送失敗。An advantage of the above embodiment is that the image captured by the fisheye camera 10 is analyzed by the processor 10 located at the near end of the fisheye camera 10, and the communication device 30 only transmits the traffic information generated by the processor 20 to the remote servo The traffic information has a small amount of data, so the bandwidth requirements for the network between the servers 40 of the communication device 30 are lower, which helps to reduce the cost of building the network and improve the reliability of data transmission And the speed is conducive to real-time adjustment of the time system plan. If the image of the fisheye camera 10 is transmitted to a server in the cloud for processing, a considerable network bandwidth will be required. In addition to increasing the cost of building the network, it may also cause image transmission failure due to network congestion.

在圖5的示意圖中,多個路口的處理器20共用一通訊裝置30。在圖5中,路口A、B與C分別設有一交通號誌60,一魚眼攝影機10以及一處理器30。路口A、B與C可以是一條道路上的三個路口,這三個路口的處理器30都連接到一通訊裝置30。這三個處理器20所產生的交通資訊,由通訊裝置30傳送給遠端的交通單位既有或新設的伺服器40,伺服器40依據所獲得各路口的交通資訊,規劃出各路***通號誌60最佳的時制計畫,並且可將該時制計畫傳送給交通號誌控制器50,以控制各路口A、B與C的交通號誌60。為了改善一區域或一整條道路的交通,必須綜合考量多個路口的車流情況,圖4所示的架構係根據多個相關路口的車流,來規畫各路口的交通號誌之時制,能夠使整體的車流速度最佳化。In the schematic diagram of FIG. 5, processors 20 at multiple intersections share a communication device 30. In FIG. 5, intersections A, B, and C are respectively provided with a traffic sign 60, a fisheye camera 10, and a processor 30. The intersections A, B, and C may be three intersections on a road, and the processors 30 at these three intersections are all connected to a communication device 30. The traffic information generated by the three processors 20 is transmitted by the communication device 30 to the existing or newly installed server 40 of the remote traffic unit. The server 40 plans the traffic number of each intersection based on the obtained traffic information of each intersection The best time system plan of 60 is recorded, and the time system plan can be transmitted to the traffic signal controller 50 to control the traffic signal 60 of each intersection A, B, and C. In order to improve the traffic of a region or a whole road, the traffic flow of multiple intersections must be considered comprehensively. The architecture shown in Figure 4 is based on the traffic flow of multiple related intersections to plan the traffic signal timing system of each intersection. Optimize the overall traffic speed.

從以上說明可以了解,根據本發明之人工智慧交通偵測系統P可以即時的反映不同交通時段的車流情形,有助於優化交通單位既有交通號誌60的控制,使車流速度最佳化。舉例來說,當處理器20產出的交通資訊顯示東西向道路的車流量少,南北向車流大時,伺服器40即可以自動縮短東西向的綠燈時間,延長南北向道路的綠燈時間來疏解塞車問題。另一方面,透過長期收集的交通資訊可以對交通壅塞的成因進行分析,有助於交通管理調度及相關決策,建立整體宏觀的交通規劃。From the above description, it can be understood that the artificial intelligence traffic detection system P according to the present invention can instantly reflect the traffic situation of different traffic periods, which is helpful to optimize the control of the existing traffic signs 60 of the traffic unit and optimize the traffic flow speed. For example, when the traffic information output by the processor 20 shows that the traffic flow on the east-west road is low and the traffic flow is high in the north-south direction, the server 40 can automatically shorten the green light time of the east-west direction and extend the green light time of the north-south road to relieve the problem. Traffic jam problem. On the other hand, the long-term collection of traffic information can analyze the causes of traffic congestion, which is helpful for traffic management and dispatching and related decision-making, and establish an overall macroscopic traffic plan.

本發明的特點之一,在於應用了人工智慧來識別車輛,不僅準確率高,而且連機車這種體積較小的兩輪車輛,也都能夠準確的辨識出來。如果是以電腦影像分析的方式從路口影像找出車輛物件,容易因天候,光線,而降低車輛識別的準確性,效果明顯會比本發明差。One of the characteristics of the present invention is that it uses artificial intelligence to identify vehicles, which not only has a high accuracy rate, but also can accurately identify two-wheeled vehicles with small volumes such as locomotives. If the vehicle object is found from the intersection image by means of computer image analysis, it is easy to reduce the accuracy of vehicle recognition due to weather and light, and the effect is obviously worse than that of the present invention.

以上所述僅是本發明的實施例而已,並非對本發明做任何形式上的限制,雖然本發明已以實施例揭露如上,然而並非用以限定本發明,任何所屬技術領域中具有通常知識者,在不脫離本發明技術方案的範圍內,當可利用上述揭示的技術內容作出些許更動或修飾為等同變化的等效實施例,但凡是未脫離本發明技術方案的內容,依據本發明的技術實質對以上實施例所作的任何簡單修改、等同變化與修飾,均仍屬於本發明技術方案的範圍內。The above are only the embodiments of the present invention and do not limit the present invention in any form. Although the present invention has been disclosed as above in the embodiments, it is not intended to limit the present invention. Anyone with ordinary knowledge in the relevant technical field, Without departing from the scope of the technical solution of the present invention, when the technical content disclosed above can be used to make slight changes or modification into equivalent embodiments with equivalent changes, but any content that does not depart from the technical solution of the present invention is based on the technical essence of the present invention Any simple modifications, equivalent changes and modifications made to the above embodiments still fall within the scope of the technical solutions of the present invention.

P‧‧‧人工智慧交通偵測系統10‧‧‧魚眼攝影機20‧‧‧處理器21‧‧‧即時串流協定影像解碼器22‧‧‧人工智慧判斷單元23‧‧‧儲存裝置30‧‧‧通訊裝置40‧‧‧伺服器50‧‧‧交通號誌控制器60‧‧‧交通號誌70‧‧‧燈架80‧‧‧識別框100‧‧‧影像200‧‧‧機箱1、2、3、4、5、6、7、8‧‧‧路口T1、T2‧‧‧交通資訊P‧‧‧Artificial intelligence traffic detection system 10‧‧‧Fisheye camera 20‧‧‧Processor 21‧‧‧Real-time streaming protocol video decoder 22‧‧‧Artificial intelligence judgment unit 23‧‧‧Storage device 30‧ ‧‧Communication device 40‧‧‧Server 50‧‧‧Traffic signal controller 60‧‧‧Traffic signal 70‧‧‧Light stand 80‧‧‧Identification frame 100‧‧‧Image 200‧‧‧Chassis 1, 2, 3, 4, 5, 6, 7, 8‧‧‧Intersection T 1 , T 2 ‧‧‧Traffic information

圖1說明本發明一實施例。 圖2的示意圖說明本發明各個元件的裝設位置。 圖3為本發明之交通資訊示意圖。 圖4的示意圖說明本發明可在影像中標示車輛。 圖5為本發明應用在多個路口的示意圖。Figure 1 illustrates an embodiment of the invention. Fig. 2 is a schematic diagram illustrating the installation positions of various components of the present invention. Figure 3 is a schematic diagram of the traffic information of the present invention. Figure 4 is a schematic diagram illustrating that the present invention can mark vehicles in images. Figure 5 is a schematic diagram of the present invention applied to multiple intersections.

P‧‧‧人工智慧交通偵測系統 P‧‧‧Artificial Intelligence Traffic Detection System

10‧‧‧魚眼攝影機 10‧‧‧Fisheye Camera

20‧‧‧處理器 20‧‧‧Processor

21‧‧‧即時串流協定影像解碼器 21‧‧‧Real-time streaming protocol video decoder

22‧‧‧人工智慧判斷單元 22‧‧‧Artificial Intelligence Judgment Unit

23‧‧‧儲存裝置 23‧‧‧Storage device

30‧‧‧通訊裝置 30‧‧‧Communication device

40‧‧‧伺服器 40‧‧‧Server

50‧‧‧交通號誌控制器 50‧‧‧Traffic signal controller

60‧‧‧交通號誌 60‧‧‧Traffic Sign

Claims (15)

一種人工智慧交通偵測系統,其中包括:一魚眼攝影機,用於拍攝路口多張連續的影像;一具有人工智慧演算法的處理器,接收所述多張連續的影像,該處理器藉由該人工智慧演算法從所述多張連續的影像中識別出不同種類的車輛以及其行進方向,以獲得一交通資訊,該交通資訊包括直行的多種車輛的數量及轉彎的多種車輛的數量;以及一通訊裝置,耦接該處理器,用以傳送該交通資訊;其中,該直行的多種車輛的數量及該轉彎的多種車輛的數量,並非經由識別在多個方向車道上的車輛所獲得的數量。 An artificial intelligence traffic detection system, which includes: a fish-eye camera for shooting multiple consecutive images of an intersection; a processor with an artificial intelligence algorithm that receives the multiple consecutive images, and the processor uses The artificial intelligence algorithm recognizes different types of vehicles and their traveling directions from the multiple consecutive images to obtain traffic information, the traffic information including the number of vehicles traveling straight and the number of vehicles turning; and A communication device, coupled to the processor, for transmitting the traffic information; wherein the number of the various vehicles traveling straight and the number of the various vehicles turning are not the number obtained by identifying vehicles on lanes in multiple directions . 如請求項1所述之人工智慧交通偵測系統,其中所述魚眼攝影機為360度全景魚眼攝影機。 The artificial intelligence traffic detection system according to claim 1, wherein the fish-eye camera is a 360-degree panoramic fish-eye camera. 如請求項2所述之人工智慧交通偵測系統,其中所述魚眼攝影機設於一路口之上方,以拍攝俯視影像。 The artificial intelligence traffic detection system according to claim 2, wherein the fish-eye camera is set above an intersection to shoot a top view image. 如請求項1所述之人工智慧交通偵測系統,其中該處理器包含:一即時串流協定影像解碼器,接收及解碼所述多張連續的影像;一人工智慧判斷單元,耦接該即時串流協定影像解碼器,該人工智慧判斷單元接收該解碼後的多張連續的影像,並利用該人工智慧演算法分析該解碼後的多張連續的影像,以識別出多種不同的車輛及其行進方向,並統計不同車輛在不同行進方向的數量,以產生該交通資訊。 The artificial intelligence traffic detection system according to claim 1, wherein the processor includes: a real-time streaming protocol image decoder that receives and decodes the multiple continuous images; and an artificial intelligence judgment unit coupled to the real-time Streaming protocol image decoder, the artificial intelligence judgment unit receives the decoded multiple continuous images, and uses the artificial intelligence algorithm to analyze the decoded multiple continuous images to identify a variety of different vehicles and their The direction of travel, and count the number of different vehicles in different directions to generate the traffic information. 如請求項4所述之人工智慧交通偵測系統,其中該處理器中包含有一儲存裝置,用以暫存該交通資訊。 The artificial intelligence traffic detection system according to claim 4, wherein the processor includes a storage device for temporarily storing the traffic information. 如請求項1所述之人工智慧交通偵測系統,其中該魚眼攝影機係設置於一交通號誌的燈架上、或設置於該路口其他支架上。 The artificial intelligence traffic detection system according to claim 1, wherein the fisheye camera is installed on a light stand of a traffic sign, or on other supports at the intersection. 如請求項6所述之人工智慧交通偵測系統,其中該處理器與該通訊裝置係設置於該燈架或該支架上的一個機箱內。 The artificial intelligence traffic detection system according to claim 6, wherein the processor and the communication device are arranged in a case on the light stand or the bracket. 如請求項1所述之人工智慧交通偵測系統,其中該通訊裝置係以無線或有線網路傳送該交通資訊給一伺服器。 The artificial intelligence traffic detection system according to claim 1, wherein the communication device transmits the traffic information to a server via a wireless or wired network. 如請求項1所述之人工智慧交通偵測系統,其中該處理器更以一識別框標示所識別出的車輛。 The artificial intelligence traffic detection system according to claim 1, wherein the processor further marks the recognized vehicle with a recognition frame. 如請求項1所述之人工智慧交通偵測系統,其中該交通資訊更包括車行速度、單位時間的車流量以及路口占有率的至少其中之一。 The artificial intelligence traffic detection system according to claim 1, wherein the traffic information further includes at least one of vehicle speed, traffic volume per unit time, and intersection occupancy rate. 如請求項1所述之人工智慧交通偵測系統,其中該處理器從所述多張連續的影像中所識別出的車輛,包括摩托車或三輪車。 The artificial intelligence traffic detection system according to claim 1, wherein the vehicle identified by the processor from the plurality of consecutive images includes a motorcycle or a tricycle. 如請求項1所述之人工智慧交通偵測系統,其中該處理器係根據該魚眼攝影機所拍攝到的魚眼影像進行車輛的識別,並不把該魚眼影像或該魚眼影像中的車輛物件進行變形校正。 The artificial intelligence traffic detection system according to claim 1, wherein the processor performs vehicle identification based on the fisheye image captured by the fisheye camera, and does not recognize the fisheye image or the fisheye image Deformation correction of vehicle objects. 如請求項1所述之人工智慧交通偵測系統,其中該魚眼攝影機藉由一網路線連接該處理器。 The artificial intelligence traffic detection system according to claim 1, wherein the fisheye camera is connected to the processor through a network cable. 如請求項4所述之人工智慧交通偵測系統,其中該人工智慧判斷單元包括該人工智慧演算法與一車輛資料庫,該車輛資料庫包括各種車輛的特徵資訊,供該人工智慧演算法比對該影像中的車輛物件。 The artificial intelligence traffic detection system according to claim 4, wherein the artificial intelligence judgment unit includes the artificial intelligence algorithm and a vehicle database, and the vehicle database includes characteristic information of various vehicles for the artificial intelligence algorithm to compare For the vehicle object in the image. 如請求項14所述之人工智慧交通偵測系統,其中在該車輛資料庫中,每一種車輛對應多筆的該特徵資訊,該多筆的該特徵資訊分別對應不同程度的魚眼變形的車輛圖像。 The artificial intelligence traffic detection system according to claim 14, wherein in the vehicle database, each type of vehicle corresponds to multiple pieces of the characteristic information, and the multiple pieces of the characteristic information correspond to vehicles with different degrees of fisheye deformation. image.
TW107135317A 2018-06-04 2018-10-05 Artificial intelligence traffic detection system TWI712012B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201811625749.XA CN110556000A (en) 2018-06-04 2018-12-28 Artificial intelligence traffic detection system
PH12019000145A PH12019000145A1 (en) 2018-06-04 2019-03-28 Artificial intelligence traffic detection system

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US201862679983P 2018-06-04 2018-06-04
US62/679,983 2018-06-04

Publications (2)

Publication Number Publication Date
TW202004702A TW202004702A (en) 2020-01-16
TWI712012B true TWI712012B (en) 2020-12-01

Family

ID=69942200

Family Applications (1)

Application Number Title Priority Date Filing Date
TW107135317A TWI712012B (en) 2018-06-04 2018-10-05 Artificial intelligence traffic detection system

Country Status (1)

Country Link
TW (1) TWI712012B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI777620B (en) * 2021-06-17 2022-09-11 訊力科技股份有限公司 Automated traffic steering quantitative survey report output system and method
TWI812191B (en) * 2022-04-26 2023-08-11 睿星科技股份有限公司 Artificial intelligent traffic signal controlling system, method and computer program product thereof

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011033042A1 (en) * 2009-09-16 2011-03-24 Road Safety Management Ltd Traffic signal control system and method
CN103456171A (en) * 2013-09-04 2013-12-18 北京英泰智软件技术发展有限公司 Vehicle flow detection system and method based on fish-eye lens and image correction method
CN105575125A (en) * 2015-12-15 2016-05-11 上海微桥电子科技有限公司 Vehicle flow video detection and analysis system
CN206147948U (en) * 2016-10-28 2017-05-03 杭州利艾智能科技有限公司 Urban traffic control system
US20170169705A1 (en) * 2015-12-15 2017-06-15 Nissan North America, Inc. Traffic signal timing estimation using an artificial neural network model
CN107945544A (en) * 2017-12-12 2018-04-20 常州大学 A kind of artificial intelligence system based on Dynamic Vehicle assignment of traffic traffic lights

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011033042A1 (en) * 2009-09-16 2011-03-24 Road Safety Management Ltd Traffic signal control system and method
EP2478508B1 (en) * 2009-09-16 2014-12-17 Road Safety Management Ltd Traffic signal control system and method
CN103456171A (en) * 2013-09-04 2013-12-18 北京英泰智软件技术发展有限公司 Vehicle flow detection system and method based on fish-eye lens and image correction method
CN105575125A (en) * 2015-12-15 2016-05-11 上海微桥电子科技有限公司 Vehicle flow video detection and analysis system
US20170169705A1 (en) * 2015-12-15 2017-06-15 Nissan North America, Inc. Traffic signal timing estimation using an artificial neural network model
CN206147948U (en) * 2016-10-28 2017-05-03 杭州利艾智能科技有限公司 Urban traffic control system
CN107945544A (en) * 2017-12-12 2018-04-20 常州大学 A kind of artificial intelligence system based on Dynamic Vehicle assignment of traffic traffic lights

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
廖家宜,"深度學習不僅協助交通執法 更在零售競爭脫穎而出",<https://www.digitimes.com.tw/iot/package_show.asp?cat=158&id=0000524443_14I39AVT5YUKW82GOZZHY&packageid=12799>,DIGITIMES 科技網,上傳時間:2018年2月9日
廖家宜,"深度學習不僅協助交通執法 更在零售競爭脫穎而出",<https://www.digitimes.com.tw/iot/package_show.asp?cat=158&id=0000524443_14I39AVT5YUKW82GOZZHY&packageid=12799>,DIGITIMES 科技網,上傳時間:2018年2月9日 張殷綺,"人工智慧交通號誌 可望緩解決塞車問題",<https://www.digitimes.com.tw/iot/article.asp?cat=158&cat1=10&cat2=10&id=0000521442_3M53AUKV5JVAGN19EPGG8>,上傳日期:2018年1月19日 義隆電子,"義隆電CompuTex創新出擊以人工智慧(AI)技術推3D人臉辨識方案及城市智慧交通車流解決方案",<http://www.emc.com.tw/twn/news_1_1.asp?id=155>,上傳時間:2018年5月30日 *
張殷綺,"人工智慧交通號誌 可望緩解決塞車問題",<https://www.digitimes.com.tw/iot/article.asp?cat=158&cat1=10&cat2=10&id=0000521442_3M53AUKV5JVAGN19EPGG8>,上傳日期:2018年1月19日
義隆電子,"義隆電CompuTex創新出擊以人工智慧(AI)技術推3D人臉辨識方案及城市智慧交通車流解決方案",<http://www.emc.com.tw/twn/news_1_1.asp?id=155>,上傳時間:2018年5月30日

Also Published As

Publication number Publication date
TW202004702A (en) 2020-01-16

Similar Documents

Publication Publication Date Title
CN111145545B (en) Road traffic behavior unmanned aerial vehicle monitoring system and method based on deep learning
CN103473926B (en) The interlock road traffic parameter collection of rifle ball and capturing system violating the regulations
CN103927878B (en) A kind of automatic shooting device for parking offense and automatically grasp shoot method
CN104506804B (en) Motor vehicle abnormal behaviour monitoring device and its method on a kind of through street
US20210201672A1 (en) Video-based main road cooperative signal machine control method
CN102759347B (en) Online in-process quality control device and method for high-speed rail contact networks and composed high-speed rail contact network detection system thereof
US10699568B1 (en) Video-based crossroad signal machine control method
CN102819954A (en) Traffic region dynamic map monitoring and predicating system
TWI712012B (en) Artificial intelligence traffic detection system
US20220237919A1 (en) Method, Apparatus, and Computing Device for Lane Recognition
CN106683400A (en) Method and a system for obtaining evidence by capturing vehicles at traffic crossing under panoramic video detection
TW201919017A (en) System and method for automatically proving traffic violation vehicles
CN206162876U (en) Road speed limit prison bat system based on visibility detection
CN111275957A (en) Traffic accident information acquisition method, system and camera
CN115188189A (en) Special lane dynamic setting method for supporting automatic driving truck vehicle queue operation
WO2018209470A1 (en) License plate identification method and system
CN109874099B (en) Networking vehicle-mounted equipment flow control system
CN110556000A (en) Artificial intelligence traffic detection system
CN204291236U (en) Motor vehicle abnormal behaviour monitoring device on a kind of through street
CN117275216A (en) Multifunctional unmanned aerial vehicle expressway inspection system
KR101859329B1 (en) System of crackdown on illegal parking
CN111627224A (en) Vehicle speed abnormality detection method, device, equipment and storage medium
TWI526996B (en) Abnormal trade proofing electronic toll collecting method and system
KR102256205B1 (en) Device and method for calculation vehicle position in an image, and traffic analysis system using the same
KR20220036240A (en) Traffic information analysis apparatus and method