A method of performing real-time object detection using an object real-time detection model, comprising:
- obtaining an identification image of a preset size by pre-processing an input image;
- obtaining object central point data and object size data by processing the identification image using the object real-time detection model, wherein the object central point data represents a position of an object central point in the identification image and the object size data represents a width and a height of an object in the identification image;
- and
- obtaining an object detection result by determining an object region in the input image according to the object central point data and the object size data;
- wherein obtaining the object central point data and the object size data by processing the identification image using the object real-time detection model comprises:
- extracting a semantic feature map of at least one feature layer relating to the object from the identification image by using a feature extraction network in the object real-time detection model;
- obtaining a target feature map by performing up-sampling for the semantic feature map of the at least one feature layer and performing fusion for feature maps obtained by up-sampling using a feature fusion network in the object real-time detection model;
- and
- obtaining the object central point data and the object size data by extracting an object central point and an object size from the target feature map using a data obtaining network in the object real-time detection model;
- wherein the feature extraction network comprises a first ShuffleNet network and the method further comprises obtaining the feature extraction network in the object real-time detection model by:
- obtaining a trained second ShuffleNet network by training a second ShuffleNet network using a training set;
- updating the first ShuffleNet network using one or more network structure parameter values of the trained second ShuffleNet network;
- and
- obtaining a trained first ShuffleNet network by training the updated first ShuffleNet network and taking the trained first ShuffleNet network as the feature extraction network.