TWI761047B - Method for verifying detection range of image detector - Google Patents
Method for verifying detection range of image detector Download PDFInfo
- Publication number
- TWI761047B TWI761047B TW110102400A TW110102400A TWI761047B TW I761047 B TWI761047 B TW I761047B TW 110102400 A TW110102400 A TW 110102400A TW 110102400 A TW110102400 A TW 110102400A TW I761047 B TWI761047 B TW I761047B
- Authority
- TW
- Taiwan
- Prior art keywords
- detection
- distance
- image detector
- target object
- target
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N17/00—Diagnosis, testing or measuring for television systems or their details
Landscapes
- Engineering & Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Biomedical Technology (AREA)
- General Health & Medical Sciences (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Length Measuring Devices By Optical Means (AREA)
- Burglar Alarm Systems (AREA)
- Train Traffic Observation, Control, And Security (AREA)
- Image Analysis (AREA)
Abstract
Description
本發明是有關於一種檢測方法,特別是有關於一種檢測影像偵測器的偵測範圍的方法。The present invention relates to a detection method, in particular, to a method for detecting the detection range of an image detector.
視覺影像偵測技術(Video Image Detection)可以對影像進行分析,透過對影像分析的過程及結果進行設定,可以針對各種移動物體進行各種事件觸發設定而達到預警的效果。為了得到最佳的預警效果,研究人員莫不致力於開發更快速或更精確的影像分析技術。Visual image detection technology (Video Image Detection) can analyze images. By setting the process and results of image analysis, various event trigger settings can be performed for various moving objects to achieve the effect of early warning. In order to get the best early warning effect, researchers are all committed to developing faster or more accurate image analysis techniques.
眾所周知,在進行影像分析之前必須先獲得影像,因此能夠達到預警效果的範圍就是影像偵測器的偵測範圍,所以如何確保影像偵測器的偵測範圍能夠涵蓋到預先設定的區域也是十分重要的。然而,相較於成為主流的影像分析技術的開發,如何準確且快速地判斷影像偵測器的實際偵測範圍的技術卻乏人問津,導致到目前為止大多都只能依賴人工方式進行實地拍攝及測量等操作才能完成對於影像偵測器的實際偵測範圍的確認工作,十分的耗費人力及時間。As we all know, images must be obtained before image analysis, so the range that can achieve the warning effect is the detection range of the image detector, so how to ensure that the detection range of the image detector can cover the preset area is also very important. of. However, compared with the development of the mainstream image analysis technology, the technology of how to accurately and quickly judge the actual detection range of the image detector is still lacking. It takes a lot of manpower and time to complete the confirmation of the actual detection range of the image detector through operations such as measurement and measurement.
有鑑於此,本發明的一個目的是提供一種檢測影像偵測器的偵測範圍的方法,其可自動化進行檢測操作以精確判斷影像偵測器的偵測範圍。In view of this, an object of the present invention is to provide a method for detecting the detection range of an image detector, which can automate the detection operation to accurately determine the detection range of the image detector.
從一個角度來看,本發明的說明內容提供了一種檢測影像偵測器的偵測範圍的方法,其適於檢測影像偵測器對位於一平面區域上的目標物的偵測狀況,其中,此平面區域包括沿著第一軸延伸的基準線,平面區域位於此基準線兩側的區域分別被定義為第一平面區域及第二平面區域,第一平面區域及第二平面區域分別包括相同尺寸的多個矩形區域,每一個矩形區域的相鄰兩邊分別沿著第一軸與第二軸延伸,每一個矩形區域沿著第一軸延伸的邊長為偵測間隔長度且沿著第二軸延伸的邊長為步進長度,影像偵測器正面朝向基準線拍攝平面區域,且目標物每次移動的最小距離等同於所述的步進長度。此方法包括:設定前次偵測真偽值的內容;使目標物移動至一個矩形區域位於基準線上的第一頂點;使目標物由第一頂點沿著第二軸往第一方向移動直到影像偵測器在目標物連續移動某一個預設距離的初判期間內都未偵測到目標物為止,並以目標物在初判期間最開始時的位置為初判邊界點;設定檢測結束距離,其中,檢測結束距離大於步進長度且小於初判邊界點至基準線之間的距離;以及,在獲得該初判邊界點之後,使該目標物沿著該第二軸進行多次往復移動以判定影像偵測器的偵測邊界檢定位置。其中,每一次往復移動包括:以目標物當前的位置為單次往復起點,並取得影像偵測器此時是否能偵測到目標物的結果作為本次偵測真偽值;當本次偵測真偽值與前次偵測真偽值相同,設定目標物的移動方向保持不變;當本次偵測真偽值與前次偵測真偽值不同且檢測結束距離大於步進長度時,反向改變目標物的移動方向;當本次偵測真偽值與前次偵測真偽值不同且檢測結束距離不大於步進長度時,停止繼續使目標物沿著第二軸進行多次往復移動,並輸出目標物到達此單次往復起點前的一個步進長度內的區域做為影像偵測器的偵測邊界檢定位置;設定當次往復移動距離,此當次往復移動距離不大於檢測結束距離且不小於步進長度;以及,使目標物從單次往復起點移動當次往復移動距離以到達單次往復終點,並改變檢測結束距離以使檢測結束距離等於當次往復移動距離,以及改變前次偵測真偽值以使前次偵測真偽值等於本次偵測真偽值。From one perspective, the description of the present invention provides a method for detecting the detection range of an image detector, which is suitable for detecting the detection status of the target object located on a plane area by the image detector, wherein, The plane region includes a reference line extending along the first axis, and the regions of the plane region located on both sides of the reference line are respectively defined as a first plane region and a second plane region, and the first plane region and the second plane region respectively include the same A plurality of rectangular areas of size, the adjacent two sides of each rectangular area extend along the first axis and the second axis respectively, the length of each rectangular area extending along the first axis is the detection interval length and along the second axis The side length of the shaft extension is the step length, the front of the image detector faces the reference line to capture the plane area, and the minimum distance of each movement of the target is equal to the step length. The method includes: setting the content of the true and false values of the previous detection; moving the target to a first vertex in a rectangular area located on the reference line; moving the target from the first vertex to the first direction along the second axis until the image The detector does not detect the target during the initial judgment period when the target object continuously moves a certain preset distance, and takes the position of the target object at the beginning of the initial judgment period as the initial judgment boundary point; set the detection end distance , wherein the detection end distance is greater than the step length and less than the distance between the initial judgment boundary point and the reference line; and, after obtaining the initial judgment boundary point, the target object is moved to and fro along the second axis for multiple times To determine the detection boundary detection position of the image detector. Among them, each reciprocating movement includes: taking the current position of the target as the starting point of a single reciprocation, and obtaining the result of whether the image detector can detect the target at this time as the authenticity value of this detection; The true and false values of the detection are the same as those of the previous detection, and the moving direction of the set target remains unchanged; when the true and false values of this detection are different from those of the previous detection and the detection end distance is greater than the step length , reverse the moving direction of the target; when the true and false values of the current detection are different from those of the previous detection and the detection end distance is not greater than the step length, stop continuing to make the target move along the second axis for multiple times. Move back and forth each time, and output the area within a step length before the target object reaches the starting point of this single reciprocation as the detection boundary verification position of the image detector; greater than the detection end distance and not less than the step length; and, move the target from the starting point of a single reciprocation by the current reciprocating distance to reach the single reciprocating end point, and change the detection end distance to make the detection end distance equal to the current reciprocating distance , and change the authenticity value of the previous detection so that the authenticity value of the previous detection is equal to the authenticity value of the current detection.
在一個實施例中,前述的預設距離為2Y,Y為步進長度。In one embodiment, the aforementioned preset distance is 2Y, and Y is the step length.
在一個實施例中,在目標物沿著第二軸往第一方向移動直到影像偵測器在目標物連續移動預設距離的初判期間內都未偵測到目標物之後,更使目標物繼續往第一方向移動到距離初判邊界點第一預設距離的回轉點。In one embodiment, after the target object moves in the first direction along the second axis until the image detector does not detect the target object within the initial judgment period during which the target object continuously moves the preset distance, the target object is further moved. Continue to move in the first direction to the turning point at the first preset distance from the initial judgment boundary point.
在一個實施例中,上述的第一預設距離為 ,其中,k為第一預設數值,Y為步進長度。 In one embodiment, the above-mentioned first preset distance is , where k is the first preset value, and Y is the step length.
在一個實施例中,在設定當次往復移動距離時係將當次往復移動距離設定為 ,其中,a為在執行當次往復移動之前已經執行的往復移動的次數。 In one embodiment, when setting the current reciprocating distance, the current reciprocating distance is set as , where a is the number of reciprocating movements performed before the current reciprocating movement.
在一個實施例中,目標物的尺寸被從預設標準依照一比例縮小。In one embodiment, the size of the target is scaled down from a preset standard.
綜合而言,本發明的說明內容提供的檢測影像偵測器的偵測範圍的方法可以使目標物依照特別設計的方式進行移動,並且在移動目標物的過程中配合影像偵測器的偵測結果來改變其移動方向。進一步的,由於目標物大多是在偵測範圍的邊緣處進行移動,所以可以減少花費在其它位置的檢測時間。因此,採用本說明內容提供的技術可以達到自動檢測影像偵測器的偵測範圍的效果,有效地減少人力以及時間的耗費。To sum up, the method for detecting the detection range of the image detector provided by the description of the present invention can make the target move in a specially designed way, and cooperate with the detection of the image detector in the process of moving the target. result to change its direction of movement. Further, since most of the objects move at the edge of the detection range, the detection time spent in other positions can be reduced. Therefore, by using the technology provided in this description, the effect of automatically detecting the detection range of the image detector can be achieved, and the labor and time consumption can be effectively reduced.
請參照圖1,其為根據本發明一實施例用於施行檢測影像偵測器的偵測範圍的方法的檢測平面的示意圖。如圖所示,在要檢測影像偵測器100的偵測範圍時,影像偵測器100會被放置在檢測平面10的附近並面對檢測平面10,而影像偵測器100的偵測對象則在檢測平面10上進行各項移動以供影像偵測器100偵測之用。在本實施例中,基準線120沿著軸12(後亦稱為第一軸)延伸,影像偵測器100正面朝向基準線120以拍攝平面區域10以及在其上移動的目標物;平面區域10以基準線120為界被定義為左半平面區域11(後亦稱為第一平面區域)及右半平面區域13(後亦稱為第二平面區域),左半平面區域11以及右半平面區域13分別包括了具有相同尺寸的多個矩形區域,例如矩形區域110與112。每一個矩形區域的相鄰兩邊分別沿著軸12以及軸14(後亦稱為第二軸)延伸,而且每一個矩形區域沿著軸12延伸的邊長為偵測間隔長度D,沿著軸14延伸的邊長為步進長度Y。為了偵測時方便控制目標物的移動,步進長度Y被設定為目標物每次移動時可達到的最小的移動距離。Please refer to FIG. 1 , which is a schematic diagram of a detection plane for implementing a method for detecting a detection range of an image detector according to an embodiment of the present invention. As shown in the figure, when the detection range of the
一般來說,影像偵測器100會存在一個視野範圍(Field of View),這個視野範圍會由影像偵測器100的製造規格來決定,而目標物在這個視野範圍(圖中所示的視野邊界100a與視野邊界100b所夾的範圍)中都是可見的。但是,由於目標物在影像偵測器100中的成象尺寸會隨著目標物與影像偵測器100之間的距離變化而改變,所以當目標物過於遠離影像偵測器100的時候,影像偵測器100雖然可以「看到」目標物,但卻有可能因為目標物在影像中的體積過小而無法明確地判斷出目標物就是事先設定的物件。也就是說,由於與影像偵測器100搭配的影像分析軟體的不同,能夠確實辨認出目標物是否為符合事先定義的物件的範圍很可能會有所差異,本發明所要檢測的就是影像偵測器100在搭配的影像分析軟體之後能夠有效辨識出目標物的範圍。為了解說上的方便,在本案中所提到的「偵測」二字不止包括影像偵測器100獲得目標物影像的操作,還包括判斷目標物是否符合事先定義的物件的操作。Generally speaking, the
以下利用圖2所示的流程圖配合圖1來說明本發明一實施例中的檢測影像偵測器的偵測範圍的方法。為了實施此方法,可以利用一個控制器(未繪示)來獲取影像偵測器的偵測結果以及控制目標物的移動與轉向。如圖2所示,在開始進行檢測的時候,控制器會先使目標物移動到矩形區域位於基準線上的一個頂點處(後亦稱為第一頂點),例如矩形區域110的頂點110a或頂點110b(步驟S200)。為了使後續闡述能較為簡潔,以下將以頂點110a做為第一頂點來進行說明。由於從各第一頂點開始的檢測操作都與從頂點110a開始的檢測操作類似,因此從其它第一頂點開始的檢測操作也同樣可以參照以下說明來進行。The method for detecting the detection range of the image detector in an embodiment of the present invention is described below using the flowchart shown in FIG. 2 and FIG. 1 . In order to implement this method, a controller (not shown) can be used to obtain the detection results of the image detector and to control the movement and steering of the target. As shown in FIG. 2 , when starting the detection, the controller will first move the target to a vertex of the rectangular area located on the reference line (hereinafter also referred to as the first vertex), such as the
在本實施例中,在移動到頂點110a之後,控制器就可以控制目標物開始沿著軸14(第二軸)進行移動(步驟S202)。在此處要注意的是,由於本發明是為了檢測影像偵測器100的偵測範圍,所以當所要檢測的是影像偵測器100在左半平面區域11的偵測範圍的時候,目標物就應該是沿著軸14而朝著圖式的左側移動;相對的,當所要檢測的是影像偵測器100在右半平面區域13的偵測範圍的時候,目標物就應該是沿著軸14而朝著圖式的右側移動。以下將以檢測左半平面區域11為例來進行說明,所以在步驟S202中,目標物是沿著軸14而朝著圖式的左側移動。類似的作法也可以適用於檢測右半平面區域13,因此將不重複進行說明。In this embodiment, after moving to the
如先前所提到的,在目標物移動的過程中可能因為目標物距離影像偵測器100過遠而使得影像偵測器100偵測失敗,因此,理論上來說,可以在目標物開始移動之後而影像偵測器100第一次無法偵測到目標物的時候,判定此處為影像偵測器100的偵測邊界。然而,在需要考量到可能存在由影像偵測器100的成像元件或影像分析軟體的不穩定性所造成的無法辨識物件的狀況,在本實施例中是採用影像偵測器100在目標物連續移動的距離(後稱初判期間)中都無法偵測到目標物的條件來判斷目標物是否已經超出了影像偵測器100的偵測邊界。於是,在步驟S204中,控制器可以在目標物開始移動之後,根據影像偵測器100的偵測結果來判斷影像偵測器100是否已經在連續移動預設距離內(亦即在初判期間裡)都無法偵測到目標物(步驟S204)。在步驟S204的判斷結果為否的時候,控制器可以使目標物繼續沿著第二軸以既有的方向繼續移動;相對的,在驟S204的判斷結果為是的時候,控制器就以目標物在初判期間最開始時的位置為初判邊界點(步驟S206)。As mentioned earlier, the
在經過步驟S206獲得初判邊界點之後,控制器就可以取得前次偵測真偽值及檢測結束距離以利後續操作的進行。其中,在第一次取用前次偵測真偽值的時候是使用預設的值(步驟S230),所以只要在進行步驟S208之前設定好前次偵測真偽值的內容即可;類似的,在第一次取用檢測結束距離的時候也是使用預設的值(步驟S240),所以也只要在進行步驟S208之前設定好檢測結束距離的值就可以。在步驟S230設定前次偵測真偽值的時候,建議將前次偵測真偽值設定為目標物在本方法中最剛開始的位置處是否能被影像偵測器100偵測到的結果。以本實施例來說,由於一開始是將目標物移動到位於基準線120上的一個點,所以可以控制器可以根據此時影像偵測器100對目標物的偵測結果來設定前次偵測真偽值的內容。例如,當影像偵測器100可以偵測到位在第一頂點110a的目標物的時候,可以使控制器將前次偵測真偽值設定為真;而當影像偵測器100無法偵測到位在第一頂點110a的目標物的時候,就可以使控制器將前次偵測真偽值設定為偽。在另一個實施例中,因為基準線120上的某一點是經過這一點而沿著軸14延伸的直線中距離影像偵測器100最近的點,所以當影像偵測器100無法偵測到位在基準線120上的目標物的時候,控制器就可以直接跳過後續的步驟並將目標物移動到基準線120上的其它位置之後再重新開始執行圖2所示的流程。After obtaining the initial judgment boundary point through step S206 , the controller can obtain the true and false values of the previous detection and the detection end distance to facilitate subsequent operations. Among them, the preset value is used when the authenticity value of the previous detection is used for the first time (step S230 ), so as long as the content of the authenticity value of the previous detection is set before the step S208 is performed; similar Yes, the preset value is also used when the detection end distance is taken for the first time (step S240 ), so it is only necessary to set the detection end distance value before proceeding to step S208 . When setting the authenticity value of the previous detection in step S230, it is recommended to set the authenticity value of the previous detection as the result of whether the target object can be detected by the
進一步的,在步驟S240中首次進行設定的檢測結束距離建議大於目標物的最小移動距離(即步進長度);此外,為了減少自動操作時產生錯誤的可能性,在步驟S240中還可以將檢測結束距離設定為小於初判邊界點至基準線120之間的距離,藉此避免目標物從左半平面區域11移動到右半平面區域13。請一併參照圖3,在其它實施例中,為了確保目標物不會從左半平面區域11移動到右半平面區域13,在步驟S204的判斷結果為是之後,控制器還可以進一步使目標物往原本的移動方向再移動到距離初判邊界點第一預設距離的回轉點(步驟S300),如此就可保證即使將檢測結束距離設定為從初判邊界點至基準線120之間的距離,目標物也不會被錯誤的移動到另一個半平面區域中。Further, it is suggested that the detection end distance set for the first time in step S240 is greater than the minimum moving distance (ie the step length) of the target; in addition, in order to reduce the possibility of errors during automatic operation, in step S240, the detection The ending distance is set to be smaller than the distance between the initial judgment boundary point and the
承上述,在取得了首次設定的前次偵測真偽值以及檢測結束距離之後,控制器可以控制目標物沿著第二軸進行數次的往復移動以藉此判斷影像偵測器的偵測邊界。為了使說明更加清楚,以下將經由沿著第二軸進行數次的往復移動而檢測出來的影像偵測器的偵測邊界稱為偵測邊界檢定位置。Based on the above, after obtaining the first set of the previous detection authenticity value and the detection end distance, the controller can control the target to reciprocate several times along the second axis to determine the detection of the image detector. boundary. In order to make the description clearer, the detection boundary of the image detector detected by the reciprocating movement along the second axis for several times is referred to as the detection boundary detection position.
在本實施例中,每一次沿著第二軸進行的往復移動包括了步驟S208之後的各步驟。首先,控制器可以經過影像偵測器100而獲得目標物當前的位置並將其定義為單次往復起點,然後同樣從影像偵測器100取得表示影像偵測器100此時是否能偵測到目標物的結果(後稱為本次偵測真偽值)以及取得先前設定好的前次偵測真偽值(步驟S208)。接下來,控制器會判斷所取得的本次偵測真偽值與前次偵測真偽值是否相同(步驟S210)。當步驟S210的判斷結果為是,就表示前次偵測真偽值與本次偵測真偽值同樣為真或同樣為偽,此時控制器就維持目標物的移動方向不變(步驟S214);相對的,當步驟S210的判斷結果為否,就表示前次偵測真偽值與本次偵測真偽值是一個為真且另一個為偽的狀況,此時控制器就要進一步判斷檢測結束距離是否大於步進長度(步驟S212)。當步驟S212的判斷結果為是,控制器就會改變目標物的移動方向而使目標物沿著軸14往相反的方向移動(步驟S216);相對的,當步驟S212的判斷結果為否,控制器就停止繼續使目標物沿著第二軸進行往復移動,並將目標物到達此單次往復起點前的一個步進長度內的區域輸出做為影像偵測器100的偵測邊界檢定位置(步驟S250)。In this embodiment, each reciprocating movement along the second axis includes steps after step S208. First, the controller can obtain the current position of the target object through the
根據上述,經過步驟S214或步驟S216而確定目標物接下來的移動方向之後,控制器進一步的設定了當次往復移動距離(步驟S218)。為了逐漸逼近到可能的偵測邊界檢定位置,在步驟S218設定當次往復移動距離時應該不大於檢測結束距離,而且,由於步進長度是目標物可以移動的最小距離,所以在設定當次往復移動距離時也應該使其不小於步進長度。接下來,在獲得當次往復移動距離之後,控制器就可以使目標物從目前的單次往復起點、依照先前決定的移動方向而移動當次往復移動距離,藉此到達除了目前的單次往復起點之外的點(後稱為單次往復終點);並且,控制器還可以一併改變檢測結束距離以使檢測結束距離等於步驟S218設定的當次往復移動距離,以及改變前次偵測真偽值以使前次偵測真偽值等於在步驟S208中取得的本次偵測真偽值(步驟S220)。According to the above, after determining the next moving direction of the target through step S214 or step S216 , the controller further sets the current reciprocating moving distance (step S218 ). In order to gradually approach the possible detection boundary detection position, in step S218, it is set that the current reciprocating moving distance should not be greater than the detection end distance. Moreover, since the step length is the minimum distance that the target can move, the current reciprocating distance is set in the current reciprocating distance. You should also move the distance so that it is not less than the step length. Next, after obtaining the current reciprocating distance, the controller can make the target move the current reciprocating distance from the current single reciprocating starting point and according to the previously determined moving direction, thereby reaching the current single reciprocating distance other than the current single reciprocating distance. Points other than the starting point (hereinafter referred to as the single reciprocating end point); and, the controller can also change the detection end distance to make the detection end distance equal to the current reciprocating movement distance set in step S218, and change the previous detection true distance. The false value is set so that the true and false values of the previous detection are equal to the true and false values of the current detection obtained in step S208 (step S220 ).
應注意的是,當次往復移動距離並不一定要在步驟S218所處的時間點才能設定。本領域的技術人員當可根據設定當次往復移動距離時所需要的條件而更換設定的時間,如此的修改並不違反本發明的技術內容。另一個需要注意的點是,因為控制器在首次執行步驟S208的時候還不曾執行步驟S220,所以在首次執行步驟S208的時候取得的前次偵測真偽值會是由步驟S230所設定的內容;但是在執行過一次往復移動之後,因為前次偵測真偽值已經被步驟S220改變過了,所以接下來的步驟S208取得的前次真偽值的內容就是由前一次往復移動中的步驟S220所設定的內容而不再是由步驟S230所設定的內容。It should be noted that the current reciprocating distance does not have to be set at the time point of step S218. Those skilled in the art can change the set time according to the conditions required for setting the current reciprocating distance, and such modification does not violate the technical content of the present invention. Another point to note is that since the controller has not executed step S220 when step S208 is executed for the first time, the previous detection authenticity value obtained when step S208 is executed for the first time will be the content set by step S230. ; But after having performed a reciprocating movement, because the previous detection true and false values have been changed by step S220, the content of the previous true and false values obtained by the next step S208 is exactly by the steps in the previous reciprocating movement The content set in S220 is no longer the content set in step S230.
以一個實際例子來看,控制器可以先控制目標物移動到基準線120上並沿著基準線120移動直到影像偵測器100可以偵測到目標物為止。接下來,控制器可以將首次偵測到目標物的時候目標物所在的位置設定為第一頂點,亦即,在此時才虛擬分割出對應的矩形區域。以下的說明基於下列設定:目標物是從圖1的下方沿著基準線120朝著影像偵測器100移動,並且在影像偵測器100在目標物到達第一頂點110a的時候偵測到目標物。Taking a practical example, the controller may first control the target to move on the
當目標物到達第一頂點110a之後,控制器就可以開始依照圖2或進一步搭配圖3所示的實施例開始進行影像偵測器100的偵測邊界的檢測操作。其中,在依照圖2的實施例進行檢測操作的時候,具體上在步驟S204可以採取連續移動兩倍的步進長度(2Y)的距離都未能偵測到目標物為判斷標準;在步驟S230設定前次偵測真偽值的時候可以將前次偵測真偽值設定為真;在步驟S218設定當次往復移動距離的時候可以將當次往復移動距離為
,其中,k是一個預設數值,a為在目標物到達第一頂點110a之後且在執行這一次的往復移動之前已經執行的往復移動的次數;在步驟S240設定檢測結束距離的時候可以將檢測結束距離設定為
。當然,k的選擇必須使步驟S240中所設定的檢測結束距離符合前述的規定。進一步的,若搭配圖3所示的實施例來輔助圖2的檢測操作的時候,步驟S300的第一距離可以被設定為
。更進一步的,可以將k設定為2。
After the target object reaches the
在經過圖2的操作而獲得對應的一個偵測邊界檢定位置之後,控制器可以先使目標物移動回到第一頂點110a。在這之後,控制器可以選擇從第一頂點110a沿著軸14往還沒檢測邊界的方向來執行圖2的流程以獲得另一個偵測邊界檢定位置。例如,若在目標物到達第一頂點110a的時候先利用前述的檢測方法檢測左半平面區域11而獲得對應的一個偵測邊界檢定位置,那麼在目標物回到第一頂點110a之後,控制器可以利用同樣的檢測方法來檢測右半平面區域13而獲得另一個對應的偵測邊界檢定位置。在另一個實施例中,當目標物回到第一頂點110a之後,控制器可以使目標物移動到另一個第一頂點110b並執行檢測方法而獲得另一個對應的偵測邊界檢定位置,並且在完整檢測完某一個半平面區域的偵測邊界檢定位置之後再開始檢測另一個半平面區域的偵測邊界檢定位置。After a corresponding detection boundary check position is obtained through the operation of FIG. 2 , the controller may first move the target object back to the
在所有的偵測邊界檢定位置都被確認了之後,這些偵測邊界檢定位置的外圍連線就可以定義出影像偵測器100的影像偵測邊界並同時界定出影像偵測器100的影像偵測範圍。After all the detection boundary check positions are confirmed, the peripheral connections of these detection boundary check positions can define the image detection boundary of the
值得一提的是,在任意實施例中,還可以在需要判斷影像偵測器100是否偵測到目標物的時候控制目標物在原地旋轉至少一圈,藉此減少前述因為影像偵測器100的成像元件或影像分析軟體的不穩定性而造成錯誤辨識結果的機率。It is worth mentioning that, in any embodiment, when it is necessary to determine whether the
最後,如前所述,由於目標物在影像偵測器100中的成象尺寸會隨著目標物與影像偵測器100之間的距離變化而改變,所以除了上述操作之外,還可以藉由將目標物的尺寸從預設標準依照某一比例縮小而模擬目標物遠離影像偵測器100而在影像尺寸上所帶來的效果。藉由此種縮小尺寸的技術的輔助,上述內容提供的技術就可以在較小的空間中完成偵測範圍的自動檢測操作。Finally, as mentioned above, since the image size of the target object in the
根據上述說明,本發明的說明內容提供的檢測影像偵測器的偵測範圍的方法可以使目標物依照特別設計的方式進行移動,並且在移動目標物的過程中配合影像偵測器的偵測結果來改變其移動方向。進一步的,由於目標物大多是在偵測範圍的邊緣處進行移動,所以可以減少花費在其它位置的檢測時間。因此,採用本說明內容提供的技術可以達到自動檢測影像偵測器的偵測範圍的效果,有效地減少人力以及時間的耗費。According to the above description, the method for detecting the detection range of the image detector provided by the description of the present invention can make the target object move in a specially designed way, and cooperate with the detection of the image detector in the process of moving the target object result to change its direction of movement. Further, since most of the objects move at the edge of the detection range, the detection time spent in other positions can be reduced. Therefore, by using the technology provided in this description, the effect of automatically detecting the detection range of the image detector can be achieved, and the labor and time consumption can be effectively reduced.
10:檢測平面
11:左半面區域
12、14:軸
13:右半面區域
100:影像偵測器
100a、100b:視野邊界
110、112:矩形區域
110a、110b:頂點
120:基準線
D:偵測間隔長度
S200~S250:本發明一實施例的施行步驟
S300:本發明一實施例中介於步驟S204與步驟S206之間的步驟
Y:步進長度10: Detection plane
11:
圖1為根據本發明一實施例用於施行檢測影像偵測器的偵測範圍的方法的檢測平面的示意圖。 圖2為根據本發明一實施例的檢測影像偵測器的偵測範圍的方法的流程圖。 圖3為根據本發明另一實施例的檢測影像偵測器的偵測範圍的方法在步驟S204與步驟S206之間的流程圖。 1 is a schematic diagram of a detection plane for implementing a method for detecting a detection range of an image detector according to an embodiment of the present invention. 2 is a flowchart of a method for detecting a detection range of an image detector according to an embodiment of the present invention. 3 is a flowchart of a method for detecting a detection range of an image detector according to another embodiment of the present invention between steps S204 and S206.
S200~S250:本發明一實施例的施行步驟 S200~S250: implementation steps of an embodiment of the present invention
Claims (6)
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW110102400A TWI761047B (en) | 2021-01-22 | 2021-01-22 | Method for verifying detection range of image detector |
CN202110190198.4A CN114827582A (en) | 2021-01-22 | 2021-02-18 | Method for detecting detection range of image detector |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW110102400A TWI761047B (en) | 2021-01-22 | 2021-01-22 | Method for verifying detection range of image detector |
Publications (2)
Publication Number | Publication Date |
---|---|
TWI761047B true TWI761047B (en) | 2022-04-11 |
TW202229817A TW202229817A (en) | 2022-08-01 |
Family
ID=82198844
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW110102400A TWI761047B (en) | 2021-01-22 | 2021-01-22 | Method for verifying detection range of image detector |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN114827582A (en) |
TW (1) | TWI761047B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW200825989A (en) * | 2006-12-13 | 2008-06-16 | Vanguard Security Engineering Corp | Image monitoring method and system for event detection |
CN102340628A (en) * | 2010-07-21 | 2012-02-01 | 鸿富锦精密工业(深圳)有限公司 | Camera and control method thereof |
TW201432218A (en) * | 2012-12-19 | 2014-08-16 | Basf Se | Detector for optically detecting at least one object |
TW201432283A (en) * | 2010-01-27 | 2014-08-16 | Intersil Inc | Systems, subsystems and methods that can be used to determine a distance or presence of one or more moving objects |
CN107451519A (en) * | 2016-05-31 | 2017-12-08 | 和硕联合科技股份有限公司 | Moving object detection method |
TW201930822A (en) * | 2018-01-10 | 2019-08-01 | 緯創資通股份有限公司 | Method for estimating object distance and electronic device |
-
2021
- 2021-01-22 TW TW110102400A patent/TWI761047B/en active
- 2021-02-18 CN CN202110190198.4A patent/CN114827582A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW200825989A (en) * | 2006-12-13 | 2008-06-16 | Vanguard Security Engineering Corp | Image monitoring method and system for event detection |
TW201432283A (en) * | 2010-01-27 | 2014-08-16 | Intersil Inc | Systems, subsystems and methods that can be used to determine a distance or presence of one or more moving objects |
CN102340628A (en) * | 2010-07-21 | 2012-02-01 | 鸿富锦精密工业(深圳)有限公司 | Camera and control method thereof |
TW201432218A (en) * | 2012-12-19 | 2014-08-16 | Basf Se | Detector for optically detecting at least one object |
CN107451519A (en) * | 2016-05-31 | 2017-12-08 | 和硕联合科技股份有限公司 | Moving object detection method |
TW201930822A (en) * | 2018-01-10 | 2019-08-01 | 緯創資通股份有限公司 | Method for estimating object distance and electronic device |
Also Published As
Publication number | Publication date |
---|---|
TW202229817A (en) | 2022-08-01 |
CN114827582A (en) | 2022-07-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TW202011733A (en) | Method and device for performing target sampling on pictures | |
US10922794B2 (en) | Image correction method and device | |
US10591291B2 (en) | Imaging device, rotating device, distance measuring device, distance measuring system and distance measuring method | |
EP3614307A1 (en) | Autonomous vehicle based position detection method and apparatus, device and medium | |
KR102476022B1 (en) | Face detection method and apparatus thereof | |
WO2020107326A1 (en) | Lane line detection method, device and computer readale storage medium | |
WO2023184868A1 (en) | Obstacle orientation determination method, apparatus and system, and device, medium and product | |
WO2021004263A1 (en) | Depth map processing method and apparatus, electronic device and readable storage medium | |
CN110991452B (en) | Parking space frame detection method, device, equipment and readable storage medium | |
CN113092079B (en) | Definition detection target and method, system, electronic equipment and detection platform thereof | |
WO2020087322A1 (en) | Lane line recognition method and device, and vehicle | |
TWI761047B (en) | Method for verifying detection range of image detector | |
JP2017130976A5 (en) | Image processing apparatus and image processing method | |
JP2008116206A (en) | Apparatus, method, and program for pattern size measurement | |
CN112446374A (en) | Method and device for determining target detection model | |
JP5862410B2 (en) | Number of people counting server, number of people counting device, and number of people counting system | |
CN113763376B (en) | Conveyor belt offset detection method, conveyor belt offset detection device, computer equipment and storage medium | |
JP2018501480A (en) | Method for detecting striations in tires | |
WO2017092589A1 (en) | Method and device for determining portrait contour in image | |
CN115683046A (en) | Distance measuring method, distance measuring device, sensor and computer readable storage medium | |
TWI429289B (en) | Imaging apparatus and method for positioning thereof | |
CN110782439B (en) | Method and device for auxiliary detection of image annotation quality | |
TWI748184B (en) | Defect detecting method, electronic device, and computer readable storage medium | |
KR20160079511A (en) | Device and method for recognizing parking stall | |
US20230237812A1 (en) | Traffic sign recognition device and traffic sign recognition method |