Getting Bedrock to Recognize Images
- Tim Burns
- Jun 6
- 1 min read
AWS's Bedrock documentation is a bit of a disaster. It took me a while to get some code to generate image descriptions. I finally found a good blog entry that helped: https://medium.com/@codingmatheus/sending-images-to-claude-3-using-amazon-bedrock-b588f104424f. Here it is.
% python web/app/aws/bedrock/describe_image.py
AI's description of the image:In the image, I see a black and white dog standing on a rocky path near a small stream in a dense, lush forest setting. The dog appears to be an alert and energetic Border Collie or similar breed, with a red collar or harness on. The surroundings are characterized by large rocks, fallen branches, and abundant greenery, creating a picturesque, natural environment.
Comments