Vehicle counting method and device, electronic equipment and readable storage medium
The invention provides a vehicle counting method and device, electronic equipment and a readable storage medium, and the method comprises the steps: obtaining a foreground similarity map and a background similarity map according to a to-be-counted vehicle image of a target region and a prompt box in...
Gespeichert in:
Hauptverfasser: | , , , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention provides a vehicle counting method and device, electronic equipment and a readable storage medium, and the method comprises the steps: obtaining a foreground similarity map and a background similarity map according to a to-be-counted vehicle image of a target region and a prompt box in the to-be-counted vehicle image included in a prompt stack; obtaining a foreground region and a background region in the to-be-counted vehicle image according to the foreground similarity map and the background similarity map; obtaining a new target mask according to the foreground region and the background region, and stacking the new target mask into a mask stack; under the condition that the set counting cut-off condition is not met, the frame of the new target mask serves as a new prompt box to be put into a prompt stack, and the step of obtaining a foreground similarity map and a background similarity map according to the to-be-counted vehicle image and the prompt box in the to-be-counted vehicle image includ |
---|