# Brand detect

## Overview

In today's digital landscape, brands are a vital aspect of any business. A brand logo serves as a symbol of identity, recognition, and trust. Managing and protecting brand assets is essential for maintaining brand consistency, ensuring compliance, and maximizing brand visibility. Our model is designed to streamline this process by automating the detection and categorization of brand logos within your digital assets, facilitating effective brand asset management.

The Brand recognizer is powered by state-of-the-art machine learning algorithms, and trained on vast datasets containing diverse brands from a wide selection of industries. This enables the model to accurately recognize and detect brand logos with varying sizes, orientations, and backgrounds within the provided images.

The model supports a vast number of popular brands and enables efficient brand analytics and monitoring, providing valuable insights and efficient brand management within our service.

## Use cases

The following are some use cases, suitable for our Brand recognition model:

* **Brand monitoring and compliance** - By identifying brand logos in user-generated content, the model assists in brand monitoring, ensuring compliance with brand guidelines and protecting brand integrity.
* **Brand analytics** - The model provides insights into brand visibility and presence by analyzing the frequency and distribution of detected brand logos across digital assets. This information can be used for brand performance evaluation and marketing strategies.
* **Competition Analysis** - By recognizing competitor brand logos within the digital assets, the model aids in conducting competitive analysis, identifying market trends, and evaluating brand positioning.
* **Image Retrieval** - The Brand Recognizer enables efficient searching and retrieval of digital assets by logo-based queries. Users can locate specific assets based on recognized brands.
* **Digital rights management** - Copyright and licensing agreements can be enforced with automatic logo detection and tracking. This ensures compliance with intellectual property regulations.

## API endpoints

An up-to-date reference with all API endpoints is available here:

{% embed url="<https://developers.scaleflex.com/#e92cea63-5e2c-4ee0-b719-8d5d7bdc530f>" %}

## Example API responses

<table data-full-width="true"><thead><tr><th>Input image</th><th>Input image</th></tr></thead><tbody><tr><td><img src="https://2536208400-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fqsq2dR7Fjagf5eTifWZx%2Fuploads%2FTiaK9z18sK2HLxEL0IbW%2FLewis_Hamilton_Header.png?alt=media&#x26;token=8ae38935-d051-4cdf-b09a-38c60fc2c58c" alt=""></td><td><img src="https://2536208400-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fqsq2dR7Fjagf5eTifWZx%2Fuploads%2F1nJEVkC7STndBnoM2gXF%2FGettyImages-1238711174-1.jpg?alt=media&#x26;token=1b8e73de-e4a2-4186-b111-918d8ae49f49" alt=""></td></tr><tr><td><strong>Output preview</strong></td><td><strong>Output preview</strong></td></tr><tr><td><img src="https://2536208400-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fqsq2dR7Fjagf5eTifWZx%2Fuploads%2FeqZGMK8Y4WjPcshy847m%2F96a02c7b-e992-45b6-8c7d-1f3aff00a933.png?alt=media&#x26;token=462ae05a-8571-4fe1-8c19-6e04909aa81e" alt=""></td><td><img src="https://2536208400-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fqsq2dR7Fjagf5eTifWZx%2Fuploads%2FtlPHw3kf4XUqID454Z0T%2Fd9ce9912-e6fb-4992-a244-2dc94c062983.jpg?alt=media&#x26;token=f1805879-08b0-4d93-bb27-5e4c5ab8c4df" alt=""></td></tr><tr><td><strong>API response</strong></td><td><strong>API response</strong></td></tr><tr><td><pre class="language-json"><code class="lang-json">{
    "status": "success",
    "version": "2.9.3",
    "request_uuid": "259d598f-a01d-4828-988f-7745302043aa",
    "sha1": "db2b587ac357cf459a900f429098cac7fcfafaf1",
    "brand": {
        "extracted": [
            {
                "dimensions": {
                    "top": 799,
                    "bottom": 954,
                    "left": 174,
                    "right": 337
                },
                "vertices": [
                    {
                        "x": 174,
                        "y": 799
                    },
                    {
                        "x": 337,
                        "y": 799
                    },
                    {
                        "x": 337,
                        "y": 954
                    },
                    {
                        "x": 174,
                        "y": 954
                    }
                ],
                "classes": [
                    {
                        "class": "ineos",
                        "label": "Ineos"
                    }
                ],
                "meta": {
                    "id": "6b653e36-159d-11ee-92e7-b5eae7b56dc2",
                    "type": "logo",
                    "clarity": 0.8488425301290431,
                    "ocr_confirmed": false
                }
            },
            {
                "dimensions": {
                    "top": 483,
                    "bottom": 686,
                    "left": 735,
                    "right": 1005
                },
                "vertices": [
                    {
                        "x": 735,
                        "y": 483
                    },
                    {
                        "x": 1005,
                        "y": 483
                    },
                    {
                        "x": 1005,
                        "y": 686
                    },
                    {
                        "x": 735,
                        "y": 686
                    }
                ],
                "classes": [
                    {
                        "class": "ineos",
                        "label": "Ineos"
                    }
                ],
                "meta": {
                    "id": "6b762e20-159d-11ee-92e7-b5eae7b56dc2",
                    "type": "logo",
                    "clarity": 0.9131165825918466
                }
            },
            {
                "dimensions": {
                    "top": 585,
                    "bottom": 629,
                    "left": 572,
                    "right": 693
                },
                "vertices": [
                    {
                        "x": 572,
                        "y": 585
                    },
                    {
                        "x": 693,
                        "y": 585
                    },
                    {
                        "x": 693,
                        "y": 629
                    },
                    {
                        "x": 572,
                        "y": 629
                    }
                ],
                "classes": [
                    {
                        "class": "ineos",
                        "label": "Ineos"
                    }
                ],
                "meta": {
                    "id": "6b762e21-159d-11ee-92e7-b5eae7b56dc2",
                    "type": "logo",
                    "clarity": 0.8134818898436957
                }
            },
            {
                "dimensions": {
                    "top": 590,
                    "bottom": 635,
                    "left": 333,
                    "right": 444
                },
                "vertices": [
                    {
                        "x": 333,
                        "y": 590
                    },
                    {
                        "x": 444,
                        "y": 590
                    },
                    {
                        "x": 444,
                        "y": 635
                    },
                    {
                        "x": 333,
                        "y": 635
                    }
                ],
                "classes": [
                    {
                        "class": "ubs",
                        "label": "UBS"
                    }
                ],
                "meta": {
                    "id": "6b653e37-159d-11ee-92e7-b5eae7b56dc2",
                    "type": "logo",
                    "clarity": 0.7896246827042861,
                    "ocr_confirmed": false
                }
            },
            {
                "dimensions": {
                    "top": 473,
                    "bottom": 541,
                    "left": 355,
                    "right": 421
                },
                "vertices": [
                    {
                        "x": 355,
                        "y": 473
                    },
                    {
                        "x": 421,
                        "y": 473
                    },
                    {
                        "x": 421,
                        "y": 541
                    },
                    {
                        "x": 355,
                        "y": 541
                    }
                ],
                "classes": [
                    {
                        "class": "mercedes-benz",
                        "label": "Mercedes-Benz"
                    }
                ],
                "meta": {
                    "id": "6b653e38-159d-11ee-92e7-b5eae7b56dc2",
                    "type": "logo",
                    "clarity": 0.758294096513573,
                    "ocr_confirmed": false
                }
            },
            {
                "dimensions": {
                    "top": 432,
                    "bottom": 479,
                    "left": 478,
                    "right": 525
                },
                "vertices": [
                    {
                        "x": 478,
                        "y": 432
                    },
                    {
                        "x": 525,
                        "y": 432
                    },
                    {
                        "x": 525,
                        "y": 479
                    },
                    {
                        "x": 478,
                        "y": 479
                    }
                ],
                "classes": [
                    {
                        "class": "monster_energy",
                        "label": "Monster Energy"
                    }
                ],
                "meta": {
                    "id": "6b653e39-159d-11ee-92e7-b5eae7b56dc2",
                    "type": "logo",
                    "clarity": 0.6406417129487874,
                    "ocr_confirmed": false
                }
            },
            {
                "dimensions": {
                    "top": 652,
                    "bottom": 704,
                    "left": 566,
                    "right": 704
                },
                "vertices": [
                    {
                        "x": 566,
                        "y": 652
                    },
                    {
                        "x": 704,
                        "y": 652
                    },
                    {
                        "x": 704,
                        "y": 704
                    },
                    {
                        "x": 566,
                        "y": 704
                    }
                ],
                "classes": [
                    {
                        "class": "hewlett_packard_enterprise",
                        "label": "Hewlett Packard Enterprise"
                    }
                ],
                "meta": {
                    "id": "6b653e3a-159d-11ee-92e7-b5eae7b56dc2",
                    "type": "logo",
                    "clarity": 0.6718056289900787,
                    "ocr_confirmed": false
                }
            },
            {
                "dimensions": {
                    "top": 466,
                    "bottom": 565,
                    "left": 582,
                    "right": 677
                },
                "vertices": [
                    {
                        "x": 582,
                        "y": 466
                    },
                    {
                        "x": 677,
                        "y": 466
                    },
                    {
                        "x": 677,
                        "y": 565
                    },
                    {
                        "x": 582,
                        "y": 565
                    }
                ],
                "classes": [
                    {
                        "class": "petronas",
                        "label": "Petronas"
                    }
                ],
                "meta": {
                    "id": "6b653e3b-159d-11ee-92e7-b5eae7b56dc2",
                    "type": "logo",
                    "clarity": 0.7984981628947344,
                    "ocr_confirmed": false
                }
            },
            {
                "dimensions": {
                    "top": 726,
                    "bottom": 795,
                    "left": 337,
                    "right": 715
                },
                "vertices": [
                    {
                        "x": 337,
                        "y": 726
                    },
                    {
                        "x": 715,
                        "y": 726
                    },
                    {
                        "x": 715,
                        "y": 795
                    },
                    {
                        "x": 337,
                        "y": 795
                    }
                ],
                "classes": [
                    {
                        "class": "petronas",
                        "label": "Petronas"
                    }
                ],
                "meta": {
                    "id": "6b653e3c-159d-11ee-92e7-b5eae7b56dc2",
                    "type": "logo",
                    "clarity": 0.9134711968459155,
                    "ocr_confirmed": true
                }
            },
            {
                "dimensions": {
                    "top": 548,
                    "bottom": 573,
                    "left": 330,
                    "right": 447
                },
                "vertices": [
                    {
                        "x": 330,
                        "y": 548
                    },
                    {
                        "x": 447,
                        "y": 548
                    },
                    {
                        "x": 447,
                        "y": 573
                    },
                    {
                        "x": 330,
                        "y": 573
                    }
                ],
                "classes": [
                    {
                        "class": "amg",
                        "label": "AMG"
                    }
                ],
                "meta": {
                    "id": "6b653e3d-159d-11ee-92e7-b5eae7b56dc2",
                    "type": "logo",
                    "clarity": 0.6982388736604558,
                    "ocr_confirmed": false
                }
            },
            {
                "dimensions": {
                    "top": 655,
                    "bottom": 682,
                    "left": 330,
                    "right": 457
                },
                "vertices": [
                    {
                        "x": 330,
                        "y": 655
                    },
                    {
                        "x": 457,
                        "y": 655
                    },
                    {
                        "x": 457,
                        "y": 682
                    },
                    {
                        "x": 330,
                        "y": 682
                    }
                ],
                "classes": [
                    {
                        "class": "crowdstrike",
                        "label": "CrowdStrike"
                    }
                ],
                "meta": {
                    "id": "6b653e3e-159d-11ee-92e7-b5eae7b56dc2",
                    "type": "logo",
                    "clarity": 0.6548185074579731,
                    "ocr_confirmed": false
                }
            }
        ],
        "has_logo": true
    },
    "file_downloaded_in": 0.09
}
</code></pre></td><td><pre class="language-json"><code class="lang-json">{
    "status": "success",
    "version": "2.9.3",
    "request_uuid": "5700077b-5b64-4b25-b386-06f4e6f99dec",
    "sha1": "e2f203d123d1f863efbe4efe69efd92654979275",
    "brand": {
        "extracted": [
            {
                "dimensions": {
                    "top": 237,
                    "bottom": 293,
                    "left": 746,
                    "right": 883
                },
                "vertices": [
                    {
                        "x": 746,
                        "y": 237
                    },
                    {
                        "x": 883,
                        "y": 237
                    },
                    {
                        "x": 883,
                        "y": 293
                    },
                    {
                        "x": 746,
                        "y": 293
                    }
                ],
                "classes": [
                    {
                        "class": "bybit",
                        "label": "Bybit"
                    }
                ],
                "meta": {
                    "id": "2b725a20-159c-11ee-9b4b-37b8298fd492",
                    "type": "logo",
                    "clarity": 0.8146587118747994,
                    "ocr_confirmed": false
                }
            },
            {
                "dimensions": {
                    "top": 285,
                    "bottom": 372,
                    "left": 180,
                    "right": 560
                },
                "vertices": [
                    {
                        "x": 180,
                        "y": 285
                    },
                    {
                        "x": 560,
                        "y": 285
                    },
                    {
                        "x": 560,
                        "y": 372
                    },
                    {
                        "x": 180,
                        "y": 372
                    }
                ],
                "classes": [
                    {
                        "class": "oracle",
                        "label": "Oracle"
                    }
                ],
                "meta": {
                    "id": "2b725a21-159c-11ee-9b4b-37b8298fd492",
                    "type": "logo",
                    "clarity": 0.8986810549427108,
                    "ocr_confirmed": false
                }
            },
            {
                "dimensions": {
                    "top": 160,
                    "bottom": 186,
                    "left": 585,
                    "right": 646
                },
                "vertices": [
                    {
                        "x": 585,
                        "y": 160
                    },
                    {
                        "x": 646,
                        "y": 160
                    },
                    {
                        "x": 646,
                        "y": 186
                    },
                    {
                        "x": 585,
                        "y": 186
                    }
                ],
                "classes": [
                    {
                        "class": "tezos",
                        "label": "Tezos"
                    }
                ],
                "meta": {
                    "id": "2b725a22-159c-11ee-9b4b-37b8298fd492",
                    "type": "logo",
                    "clarity": 0.4980267747106751,
                    "ocr_confirmed": false
                }
            },
            {
                "dimensions": {
                    "top": 321,
                    "bottom": 369,
                    "left": 690,
                    "right": 738
                },
                "vertices": [
                    {
                        "x": 690,
                        "y": 321
                    },
                    {
                        "x": 738,
                        "y": 321
                    },
                    {
                        "x": 738,
                        "y": 369
                    },
                    {
                        "x": 690,
                        "y": 369
                    }
                ],
                "classes": [
                    {
                        "class": "tezos",
                        "label": "Tezos"
                    }
                ],
                "meta": {
                    "id": "2b725a23-159c-11ee-9b4b-37b8298fd492",
                    "type": "logo",
                    "clarity": 0.597878191955334,
                    "ocr_confirmed": false
                }
            },
            {
                "dimensions": {
                    "top": 427,
                    "bottom": 452,
                    "left": 626,
                    "right": 655
                },
                "vertices": [
                    {
                        "x": 626,
                        "y": 427
                    },
                    {
                        "x": 655,
                        "y": 427
                    },
                    {
                        "x": 655,
                        "y": 452
                    },
                    {
                        "x": 626,
                        "y": 452
                    }
                ],
                "classes": [
                    {
                        "class": "puma",
                        "label": "PUMA"
                    }
                ],
                "meta": {
                    "id": "2b725a24-159c-11ee-9b4b-37b8298fd492",
                    "type": "logo",
                    "clarity": 0.5123256180944338,
                    "ocr_confirmed": false
                }
            },
            {
                "dimensions": {
                    "top": 401,
                    "bottom": 414,
                    "left": 124,
                    "right": 180
                },
                "vertices": [
                    {
                        "x": 124,
                        "y": 401
                    },
                    {
                        "x": 180,
                        "y": 401
                    },
                    {
                        "x": 180,
                        "y": 414
                    },
                    {
                        "x": 124,
                        "y": 414
                    }
                ],
                "classes": [
                    {
                        "class": "siemens",
                        "label": "Siemens"
                    }
                ],
                "meta": {
                    "id": "2b725a25-159c-11ee-9b4b-37b8298fd492",
                    "type": "logo",
                    "clarity": 0.6122472914369587,
                    "ocr_confirmed": false
                }
            },
            {
                "dimensions": {
                    "top": 397,
                    "bottom": 448,
                    "left": 691,
                    "right": 812
                },
                "vertices": [
                    {
                        "x": 691,
                        "y": 397
                    },
                    {
                        "x": 812,
                        "y": 397
                    },
                    {
                        "x": 812,
                        "y": 448
                    },
                    {
                        "x": 691,
                        "y": 448
                    }
                ],
                "classes": [
                    {
                        "class": "rauch",
                        "label": "Rauch"
                    }
                ],
                "meta": {
                    "id": "2b725a26-159c-11ee-9b4b-37b8298fd492",
                    "type": "logo",
                    "clarity": 0.7545594366073807,
                    "ocr_confirmed": true
                }
            },
            {
                "dimensions": {
                    "top": 230,
                    "bottom": 264,
                    "left": 387,
                    "right": 463
                },
                "vertices": [
                    {
                        "x": 387,
                        "y": 230
                    },
                    {
                        "x": 463,
                        "y": 230
                    },
                    {
                        "x": 463,
                        "y": 264
                    },
                    {
                        "x": 387,
                        "y": 264
                    }
                ],
                "classes": [
                    {
                        "class": "citrix_systems",
                        "label": "Citrix Systems"
                    }
                ],
                "meta": {
                    "id": "2b725a27-159c-11ee-9b4b-37b8298fd492",
                    "type": "logo",
                    "clarity": 0.7476709675969357,
                    "ocr_confirmed": true
                }
            },
            {
                "dimensions": {
                    "top": 218,
                    "bottom": 231,
                    "left": 846,
                    "right": 919
                },
                "vertices": [
                    {
                        "x": 846,
                        "y": 218
                    },
                    {
                        "x": 919,
                        "y": 218
                    },
                    {
                        "x": 919,
                        "y": 231
                    },
                    {
                        "x": 846,
                        "y": 231
                    }
                ],
                "classes": [
                    {
                        "class": "tag_heuer",
                        "label": "Tag Heuer"
                    }
                ],
                "meta": {
                    "id": "2b725a28-159c-11ee-9b4b-37b8298fd492",
                    "type": "logo",
                    "clarity": 0.1704610042789269,
                    "ocr_confirmed": false
                }
            },
            {
                "dimensions": {
                    "top": 120,
                    "bottom": 355,
                    "left": 0,
                    "right": 390
                },
                "vertices": [
                    {
                        "x": 0,
                        "y": 120
                    },
                    {
                        "x": 390,
                        "y": 120
                    },
                    {
                        "x": 390,
                        "y": 355
                    },
                    {
                        "x": 0,
                        "y": 355
                    }
                ],
                "classes": [
                    {
                        "class": "red_bull",
                        "label": "Red Bull"
                    }
                ],
                "meta": {
                    "id": "2b725a29-159c-11ee-9b4b-37b8298fd492",
                    "type": "logo",
                    "clarity": 0.9012839524460063,
                    "ocr_confirmed": true
                }
            },
            {
                "dimensions": {
                    "top": 405,
                    "bottom": 426,
                    "left": 71,
                    "right": 113
                },
                "vertices": [
                    {
                        "x": 71,
                        "y": 405
                    },
                    {
                        "x": 113,
                        "y": 405
                    },
                    {
                        "x": 113,
                        "y": 426
                    },
                    {
                        "x": 71,
                        "y": 426
                    }
                ],
                "classes": [
                    {
                        "class": "armor_all",
                        "label": "Armor All"
                    }
                ],
                "meta": {
                    "id": "2b725a2a-159c-11ee-9b4b-37b8298fd492",
                    "type": "logo",
                    "clarity": 0.4053942317393592,
                    "ocr_confirmed": true
                }
            },
            {
                "dimensions": {
                    "top": 420,
                    "bottom": 442,
                    "left": 149,
                    "right": 185
                },
                "vertices": [
                    {
                        "x": 149,
                        "y": 420
                    },
                    {
                        "x": 185,
                        "y": 420
                    },
                    {
                        "x": 185,
                        "y": 442
                    },
                    {
                        "x": 149,
                        "y": 442
                    }
                ],
                "classes": [
                    {
                        "class": "hewlett_packard_enterprise",
                        "label": "Hewlett Packard Enterprise"
                    }
                ],
                "meta": {
                    "id": "2b725a2b-159c-11ee-9b4b-37b8298fd492",
                    "type": "logo",
                    "clarity": 0.4566395577699587,
                    "ocr_confirmed": false
                }
            }
        ],
        "has_logo": true
    }
}
</code></pre></td></tr></tbody></table>
