Ролан
04/07/2021, 9:10 AMHampus Londögård
04/07/2021, 9:17 AMРолан
04/07/2021, 9:44 AMHampus Londögård
04/07/2021, 9:45 AMbytecode
for me was easier to use because it included wrappers and everything for native code.
The OpenCV wasn’t as simple to add (as you’ve to add the jar manually).
But OpenCV in Java with either bytecode
or opencv
api is not nice to use and there’s some big differences sometimes compared to Python.Ролан
04/07/2021, 9:47 AMBenchmark Mode Cnt Score Error Units
BenchmarkThresholding.block_mean_java avgt 5 18.321 ± 0.244 ms/op
BenchmarkThresholding.block_mean_native avgt 5 12.769 ± 0.479 ms/op
BenchmarkThresholding.block_minmax_java avgt 5 19.762 ± 0.352 ms/op
BenchmarkThresholding.block_minmax_native avgt 5 21.616 ± 0.122 ms/op
BenchmarkThresholding.block_otsu_java avgt 5 48.116 ± 1.703 ms/op
BenchmarkThresholding.block_otsu_native avgt 5 35.232 ± 0.266 ms/op
BenchmarkThresholding.global_fixed_java avgt 5 9.888 ± 0.812 ms/op
BenchmarkThresholding.global_fixed_native avgt 5 1.260 ± 0.151 ms/op
BenchmarkThresholding.global_otsu_java avgt 5 21.899 ± 1.578 ms/op
BenchmarkThresholding.global_otsu_native avgt 5 13.223 ± 1.488 ms/op
BenchmarkThresholding.local_mean_java avgt 5 100.411 ± 21.708 ms/op
BenchmarkThresholding.local_mean_native avgt 5 71.637 ± 2.955 ms/op
Hampus Londögård
04/07/2021, 9:49 AMРолан
04/07/2021, 9:49 AMHampus Londögård
04/07/2021, 9:50 AMaltavir
04/07/2021, 9:53 AMРолан
04/07/2021, 9:55 AMaltavir
04/07/2021, 9:57 AMРолан
04/07/2021, 9:57 AMaltavir
04/07/2021, 9:58 AMРолан
04/07/2021, 9:59 AMHampus Londögård
04/07/2021, 10:01 AMРолан
04/07/2021, 10:30 AM