This is a library for using Cloud Vision in your flow function for flows.network.

Usage example

```rust use cloudvisionflows::textdetection; use lambdaflows::{requestreceived, sendresponse};

[no_mangle]

pub fn run() { requestreceived(|qry, body| { let text = textdetection(String::fromutf8(body).unwrap()); match text { Ok(r) => sendresponse( 200, vec![( String::from("content-type"), String::from("text/plain; charset=UTF-8"), )], r.asbytes().tovec(), ), Err(e) => sendresponse( 500, vec![( String::from("content-type"), String::from("text/plain; charset=UTF-8"), )], e.asbytes().tovec(), ), } }); } ```

The raw body of the request of this lambda function will be passed to text_detection then the function respond with the detected text.

The whole document is here.