aws-solutions / content-analysis-on-aws

As of August 30, 2023, this AWS Solution is no longer available. Existing deployments will continue to run. The functionality provided by Content Analysis on AWS will be superseded with functionality in Media2Cloud on AWS and Content Localization on AWS. We encourage you to explore these solutions.
https://aws.amazon.com/solutions/implementations/aws-content-analysis/
Apache License 2.0
96 stars 47 forks source link

Bounding Boxes do not line up on images correctly #75

Closed mwl387 closed 1 year ago

mwl387 commented 2 years ago

Describe the bug I have ingested an image (not a video) into my running solution. Analysis is run through Rekognition. But when I try to find the objects that Rekognition has bounding boxes for (e.g. labels with '*'), the bounding boxes do not line up with the picture.

I've tried this on multiple browsers and multiple OS's with the same result. If I zoom my browser (200%+), then the boxes align with the image.

To Reproduce

Expected behavior Bounding boxes appear on top of the detected object.

Please complete the following information about the solution:

To get the version of the solution, you can look at the description of the created CloudFormation stack. For example, "(SO0021) - Video On Demand workflow with AWS Step Functions, MediaConvert, MediaPackage, S3, CloudFront and DynamoDB. Version v5.0.0". If the description does not contain the version information, you can look at the mappings section of the template:

Mappings:
  SourceCode:
    General:
      S3Bucket: "solutions"
      KeyPrefix: "video-on-demand-on-aws/v5.0.0"

Screenshots If applicable, add screenshots to help explain your problem (please DO NOT include sensitive information).

I used this image and saw the behavior: https://d1.awsstatic.com/aws-key-pages/homepage-key-pages/Coca-Cola.df943d34f24c3b17d8299855add943413d426de3.jpg

Additional context Add any other context about the problem here.

mwl387 commented 2 years ago

Further experimentation, it looks like it's related to the width of my browser. If I'm at max width, then the boxes are off. But if I reduce the width, then the boxes start showing up correctly.

raulmlamzn commented 1 year ago

Thank you for your suggestion. We've carefully considered your feedback and have decided not to include this feature in a future release.