--- title: Object Detection with Bounding Boxes for Smart Home Devices type: templates hide_menu: true category: Computer Vision cat: computer-vision order: 1103 meta_description: Template for using Label Studio to perform object detection with rectangular bounding boxes for smart home devices. --- ![Screenshot of labeling interface](/images/templates-misc/smart-home.png) Object Detection with Bounding Boxes labeled data is essential for AI in smart home devices as it enables accurate identification and tracking of objects in real-time, facilitating tasks such as home security monitoring, automation of household appliances, and efficient energy management. Accurate labeling ensures that these models can differentiate between various items, ensuring reliable responses to user commands and interactions within the living environment. One of the primary challenges in this domain lies in the time-intensive nature of labeling data, often exacerbated by inconsistencies in annotations and the need for domain expertise to understand intricate objects in diverse settings. Label Studio addresses these obstacles through a robust hybrid approach that combines AI-assisted pre-labeling with human expert validation. This allows for rapid initial labeling while ensuring high accuracy through review by subject matter experts. The platform’s collaboration tools enable efficient workflows, allowing teams to communicate seamlessly, and its customizable templates are specifically tailored for bounding box tasks, enhancing annotator efficiency and scalability. This results in a noticeable reduction in labeling time, improved model performance, and the capability to scale effortlessly as project demands grow. Open in Label Studio ## Labeling configuration ```html ``` This configuration defines rectangular bounding box labels that you can apply to images of smart home devices. Each label corresponds to a specific type of smart home device and is assigned a distinct background color for easy identification on the image. ```json { "x": 50, # top left corner of the bounding box from 0 to 100% of the image width "y": 60, # top left corner of the bounding box from 0 to 100% of the image height "width": 10, # width of the bounding box from 0 to 100% of the image width "height": 20, # height of the bounding box from 0 to 100% of the image height "rotation": 45 # rotation angle in degrees around the top left corner of the bounding box } ``` When you rotate bounding boxes of smart home devices through the labeling interface's Info panel, the rotation anchor point is the top left corner of the rectangle, and this is how the rotation angle is stored in the annotation results. ```html