In recent years, image recognition applications have developed rapidly. A large number of studies and techniques have emerged in different fields, such as face recognition, pedestrian and vehicle re-identification, landmark retrieval, and product recognition. In this paper, we propose a practical lightweight image recognition system, named PP-ShiTu, consisting of the following 3 modules, mainbody detection, feature extraction and vector search. We introduce popular strategies including metric learning, deep hash, knowledge distillation and model quantization to improve accuracy and inference speed. With strategies above, PP-ShiTu works well in different scenarios with a set of models trained on a mixed dataset. Experiments on different datasets and benchmarks show that the system is widely effective in different domains of image recognition. All the above mentioned models are open-sourced and the code is available in the GitHub repository PaddleClas on PaddlePaddle.
翻译:近年来,图像识别应用迅速发展,在不同领域出现了大量研究和技术,如面部识别、行人和车辆的重新识别、里程碑检索和产品识别。在本文件中,我们提议了一个名为PP-ShiTu的实用轻量级图像识别系统,由以下3个模块、主体检测、特征提取和矢量搜索组成。我们引入了普及战略,包括计量学习、深散、知识蒸馏和模型量化,以提高准确性和推断速度。根据上述战略,PP-ShiTu在不同情景下运行良好,有一套经过混合数据集培训的模型。对不同数据集和基准的实验表明,该系统在不同图像识别领域广泛有效。上述所有模型都是开源的,代码可以在PaddlePaddle的GitHub仓库Paddleclas上查阅。