--- title: Shelf Photo Analyzer emoji: ๐Ÿช colorFrom: red colorTo: yellow sdk: streamlit sdk_version: 1.28.0 app_file: app.py pinned: false license: apache-2.0 --- # ๐Ÿช Shelf Photo Analyzer Professional AI-powered tool for merchandisers and retail managers to analyze product displays on store shelves. Get instant analysis with actionable recommendations to improve product placement and boost sales. ## โœจ Features - ๐Ÿ“ธ **Photo Upload** - Support for JPG, PNG, WebP formats up to 10MB - ๐Ÿ” **Product Detection** - AI-powered product recognition and analysis - ๐Ÿค– **Smart Analysis** - Uses GPT-4 Vision API for accurate shelf assessment - ๐Ÿ“Š **Compliance Scoring** - 1-10 score for product placement effectiveness - ๐Ÿ’ก **Actionable Recommendations** - Specific suggestions with impact estimates - ๐Ÿ“ฑ **Mobile Friendly** - Responsive design for field use - ๐Ÿ“ˆ **Impact Forecasting** - Estimated sales improvement from changes ## ๐Ÿš€ Quick Start 1. **Enter** your OpenAI API key 2. **Upload** a clear photo of the store shelf 3. **Enter** the product name you want to analyze 4. **Select** analysis depth (Basic/Detailed/Expert) 5. **Click** "๐Ÿš€ Analyze Photo" and wait 15-30 seconds 6. **Review** results and follow the recommendations ## Analysis Results The AI provides comprehensive analysis including: - โœ… **Product Detection** - Whether product is visible on shelf - ๐Ÿ“ฆ **Facing Count** - Number of visible product units - ๐Ÿ“ **Shelf Position** - Top/middle/bottom placement - ๐Ÿ’ฐ **Price Visibility** - Whether pricing is clearly shown - ๐Ÿงน **Product Condition** - Cleanliness and damage assessment - ๐Ÿ† **Overall Score** - 1-10 rating for placement effectiveness - ๐ŸŽฏ **Confidence Level** - AI certainty in the analysis ## Recommendations Engine Get prioritized action items with: - ๐Ÿšจ **Priority Levels** - Critical, high, medium, low priorities - โฑ๏ธ **Time Estimates** - How long each fix will take - ๐Ÿ“ˆ **Impact Predictions** - Expected sales/visibility improvements - ๐Ÿ”ง **Difficulty Rating** - How easy each recommendation is to implement ## ๐Ÿ”‘ API Key Required - **OpenAI**: Get from [OpenAI Platform](https://platform.openai.com/api-keys) ## ๐Ÿ›ก๏ธ Privacy - API keys never stored permanently - Images processed temporarily only - No data retention ## ๐Ÿ“„ License Licensed under Apache License 2.0 ## ๐Ÿ‘จโ€๐Ÿ’ป Author **Marek Staniszewski** Heuristica ๐ŸŒ [www.heuristica.pl](http://www.heuristica.pl) ๐Ÿ“ง staniszewski@heuristica.pl For questions, suggestions, or support, please contact the author. --- **Shelf Photo Analyzer** - Professional shelf analysis tool ๐Ÿช