摘要:
Embodiments of this application disclose a target tracking method and apparatus, a device, and a medium. The method includes: obtaining, by a server, a first video stream, and performing the following data processing for each video frame in the first video stream: performing, by the server, detection according to a target detection model and a current video frame, to obtain candidate regions in the current video frame; performing, by the server, extraction according to a feature extraction model and the candidate regions, to obtain a deep feature corresponding to each candidate region; calculating, by the server, a feature similarity corresponding to the each candidate region according to the deep feature corresponding to the each candidate region and a deep feature of a target detected in a previous video frame; and finally determining, by the server based on the feature similarity corresponding to the each candidate region, the target detected in the current video frame. Target detection is performed in a range of the current video frame by using the target detection model, and target tracking is performed based on the deep feature, so that occurrence of cases such as a tracking drift or losing a tracking target can be effectively prevented, to ensure the accuracy of target tracking.
摘要:
A video transcoding method and device, and a storage medium are disclosed in embodiments of the present disclosure. The method includes the following steps: obtaining a video sequence in source video data, and obtaining a source video frame in the video sequence, the source video data including a plurality of video sequences arranged in a sequence arrangement order; obtaining a first ratio of a sum of absolute transformed differences of an initial frame in the video sequence to a bit rate of the video sequence, and adjusting a quantization parameter of the source video frame based on the first ratio; encoding the source video frame based on an adjusted quantization parameter to obtain a target video frame, and replacing the source video frame with the target video frame to obtain a video sequence after the replacement; and adding the video sequence after the replacement to target video data according to the sequence arrangement order.
摘要:
Disclosed is a method for prompting dynamic information about a contact person. The method comprises: obtaining dynamic information about a contact person of a user; and displaying the dynamic information about the contact person in an instant messaging chat window of the user. Also disclosed is a device for prompting dynamic information about a contact person. After applying the method, the dynamic updated information about a contact person can be displayed in an instant messaging chat window of a user. Thus, when chatting with the contact person, the user can see a message about dynamic updated information about the contact person in the interactive chatting mode promptly. The user can obtain information and filter information more conveniently and with a shorter delay, thereby facilitating good communication between the user and the contact person and improving the user experience.