You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -122,9 +122,12 @@ export RAYON_NUM_THREADS=2
122
122
cargo run --release --example image_demo model/seeta_fd_frontal_v1.0.bin <path-to-image>
123
123
```
124
124
125
+
Note that Rayon can be disabled entirely at compile time by providing the `--no-default-features` flag.
126
+
125
127
## TODO
126
128
127
129
* Use stable SIMD intrinsics when available
130
+
* Benchmark benefit of parallelisation. Compiler improvements may have reduced the relative benefit of parallel processing, especially when running on smaller images. Simplify where possible.
128
131
* Parallelize remaining CPU intensive loops
129
132
* Tests (it would make sense to start with an integration test for `Detector::detect`, based on the results retrieved from the original library)
0 commit comments