Skip to main content

load_reader

Function load_reader 

Source
pub fn load_reader(cfg: &Config) -> Result<Option<Reader>>
Expand description

Load the board reader named by CHESS_VISION_LOCAL_MODEL. When that’s empty, the one the Chess lab app ships (nets/board-reader.safetensors in CHESS_APP_DIR), so the server and the phones read photos with the same model. None when there’s neither.