Include Model File during module compilation
Closed this issue · 0 comments
mstallmo commented
The model file is currently opened with File::open
at initialization of object detection during run-time. Instead of doing this at run time we should include the bytes statically at compile time with the include_bytes!
macro.
This will make the library much more portable and not require downloading external model files at runtime.
Link to documentation for include_bytes!
https://doc.rust-lang.org/std/macro.include_bytes.html