CPC G06V 10/751 (2022.01) [G06T 1/60 (2013.01); G06V 10/761 (2022.01)] | 15 Claims |
1. A distributed picture retrieval method performed by a computer device acting as a retrieval node, the retrieval node comprising at least two video memory blocks, cache spaces being allocated between the at least two video memory blocks using a blockchain structure, the method comprising:
receiving a retrieval request, the retrieval request being used for indicating a to-be-detected feature of a target object in a picture;
searching the at least two video memory blocks for features matching the to-be-detected feature, each video memory block being a physical storage unit with a fixed length, and the video memory block comprising a specified quantity of storage units, the storage units corresponding to stored features, further comprising:
obtaining a feature library identifier corresponding to the to-be-detected feature:
obtaining features in the video memory block corresponding to the feature library identifier, the features representing objects in pictures stored in the video memory block;
calculating similarities between the features in the video memory block corresponding to the feature library identifier and the to-be-detected feature; and
determining first m features with the highest similarities in calculation results as the matching features, m being a positive integer; and
returning retrieval results, the retrieval results being used for indicating the matching features of objects in corresponding pictures stored in the at least two video memory blocks.
|