|
Algorithm 1 Entry and Departure Model Training Algorithm |
Input: video V = <f1,f2,…,fn>, image classification algorithm set SUM_M, video interval time η, minimum tolerable noise rate ε.
Output: Entry and departure recognition model Mt.
|
-
1:
, where indicates a lightweight object detection module
-
2:
Define to store video image frame numbers and information after video image detection,
-
3:
The video image frame number set , where represents the extraction of the first component of the set
-
4:
,
-
5:
-
6:
, paragraph entry and departure training video
-
7:
All generated tag collections SUM_TAG =, where Auto-SD indicates the generated tag method; see Section 3.2 for details
-
8:
All generated tag noise rates δ = Ad-EDB(SUM_TAG), where Ad-EDB denotes the tag conditioning evaluation method; see Section 3.3 for details
-
9:
Image classification algorithm M =
-
10:
Entry and departure recognition model Mt = Train(M,S,SUM_TAG)
|