Skip to main content

recognise

Function recognise 

Source
pub async fn recognise(
    __arg0: State<Ctx>,
    who: Who,
    __arg2: Json<RecogniseBody>,
) -> ApiResult<Response>
Expand description

Read a board from a photo: with our board reader if there is one, asking the vision language model only when it isn’t sure (or there is no reader). A photo that wasn’t read for sure is kept for the Review page (photoId in the answer) unless CHESS_VISION_REVIEW is off.