下面是JPEG图像查找分辨率的源代码:def jpeg_res:“”“”This function prints the resolution of the jpeg image file passed into it“”“。
Benchmarks Timings at 240p: - Face locations: 0.0819s - Face landmarks: 0.0029s - Encode face : 0.4879s - End-to-end: 0.5978s Timings at 480p: - Face locations: 0.3257s - Face landmarks: 0.0028s - Encode face : 0.4959s - End-to-end: 0.8203s Timings at 720p: - Face locations: 0.7046s - Face landmarks: 0.0028s - Encode face : 0.4993s - End-to-end: 1.1888s Timings at 1080p: - Face locations: 1.5179s - Face landmarks: 0.0030s - Encode face : 0.4838s - End-to-end: 1.9404s。