Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
parkpow
GitHub Repository: parkpow/deep-license-plate-recognition
Path: blob/master/benchmark/benchmark_blur.md
1089 views

Blur SDK Benchmark

The results are obtained using benchmark_snapshot.py.

  • The images used are assets/car-4k.jpg and assets/cars-4k.jpg resized to target resolution.

  • API is called 50 times for each configuration.

  • API calls are parallelized. The client code makes 4 calls concurrently.

  • Default config with blur enabled by setting PLATES=10 and FACES=10

git clone https://github.com/parkpow/deep-license-plate-recognition.git cd deep-license-plate-recognition python3 -m benchmark.benchmark_snapshot --blur --sdk-url http://localhost:8001

Notes

  • Speed is duration / number_of_calls.

  • All numbers are in milliseconds.

Current Version Benchmarks

PlateRecognizer Blur: v1.0.8 PlateRecognizer Snapshot: v1.54.0

Local Machine Benchmark - 12th Gen Intel Core i3-1215U (6 Cores, 8 Threads, 16 GiB RAM)

Processor: Intel Core i3-1215U @ 1.20GHz Manufacturer: GenuineIntel NumCores: 6 NumLogicals: 8 CPUFrequency: 4400 Passmark: 10432

WORKERS = 1

Image: assets/car-4k.jpg

ResolutionSpeedPeak CPU% (Blur, Snapshot)Peak MEM in MiB (Blur, Snapshot)
800x600185.257.04, 7.51529.71, 508.80
1280x720180.445.23, 8.20426.93, 510.40
1920x1080241.546.40, 9.40430.35, 520.90
2560x1440353.345.86, 8.45489.37, 529.97
3840x2160598.460.96, 8.65510.27, 580.17

WORKERS = 1

Image: assets/cars-4k.jpg

ResolutionSpeedPeak CPU% (Blur, Snapshot)Peak MEM in MiB (Blur, Snapshot)
800x600388.045.84, 7.52289.65, 338.73
1280x720377.640.62, 9.11346.34, 340.29
1920x1080400.141.80, 9.82295.51, 350.61
2560x1440447.442.29, 10.08303.67, 370.47
3840x2160631.354.01, 8.31375.21, 410.12

WORKERS = 2

Image: assets/cars-4k.jpg

ResolutionSpeedPeak CPU% (Blur, Snapshot)Peak MEM in MiB (Blur, Snapshot)
800x600744.045.21, 8.79396.69, 338.70
1280x720742.740.71, 9.52359.91, 338.91
1920x1080779.940.22, 9.63323.12, 350.52
2560x1440878.343.36, 10.31372.47, 370.47
3840x21601237.252.9, 8.71375.41, 410.03

Previous Version Benchmarks

AWS Instance Type - t2-large 2-vCPU(2 core) 8 GiB Memory

Processor: Intel Xeon CPU E5-2686 v4 @ 2.30GHz NumSockets: 1 Manufacturer: GenuineIntel NumCores: 2 NumLogicals: 2 CPUFrequency: 2300 Passmark: 2420.9990

WORKERS = 1

Image: assets/car-4k.jpg

ResolutionSpeedPeak CPU% (Blur, Snapshot)Peak MEM in MiB (Blur, Snapshot)
800x600406.9144.84, 28.51705.61, 235.30
1280x720426.6125.23, 48.10681.43, 235.30
1920x1080528.0115.30, 46.70692.35, 236.80
2560x1440975.7112.86, 46.75746.27, 235.77

WORKERS = 2

Image: assets/car-4k.jpg

ResolutionSpeedPeak CPU% (Blur, Snapshot)Peak MEM in MiB (Blur, Snapshot)
800x600350.0177.74, 35.43851.23, 378.21
1280x720350.7155.78, 66.82765.73, 382.18
1920x1080435.9149.61, 61.38781.14, 390.07
2560x1440786.3194.81, 83.06868.37, 441.07

AWS Instance Type - t3-xlarge 4-vCPU(2 core) 16 GiB Memory

Processor: Intel Xeon Platinum 8259CL @ 2.50GHz NumSockets: 1 Manufacturer: GenuineIntel NumCores: 2 NumLogicals: 4 CPUFrequency: 2499 Passmark: 4039.57

WORKERS = 1

Image: assets/car-4k.jpg

ResolutionSpeedPeak CPU% (Blur, Snapshot)Peak MEM in MiB (Blur, Snapshot)
800x600375.0265.66, 29.75499.87, 222.80
1280x720384.7225.70, 41.67519.84, 226.04
1920x1080519.1212.69,57.34497.72, 227.89
2560x1440964.2209.77, 47.42568.27, 238.00

WORKERS = 2

Image: assets/car-4k.jpg

ResolutionSpeedPeak CPU% (Blur, Snapshot)Peak MEM in MiB (Blur, Snapshot)
800x600306.2356.95, 39.761319.49, 387.57
1280x720303.5333.44, 73.561273.29, 392.47
1920x1080387.6303.41, 83.801297.73, 404.14
2560x1440717.5338.79, 104.971362.45, 448.89

WORKERS = 4

Image: assets/car-4k.jpg

ResolutionSpeedPeak CPU% (Blur, Snapshot)Peak MEM in MiB (Blur, Snapshot)
800x600295.1378.88, 41.191665.84, 661.40
1280x720291.8396.42, 68.4141630.47, 690.65
1920x1080360.1371.16, 93.141711.66, 715.22
2560x1440614.7402.30, 164.911800.31, 790.79