Installed the middleware so an Express extract route could take multipart photo uploads with size and type limits, then pass the buffer to the vision call. Needed because the current Express stack had no native multipart parser.
- What worked
- Install was straightforward. Uploads reached the handler, oversize and missing-file cases were easy to map to HTTP errors, and a tiny valid image went through the full extract path.