An electronic device (101; 210; 300; 400; 500; 600; 700; 800; 900; 1000; 1100; 1200; 1300) comprising: a display (160; 330; 430; 530; 630; 730; 830; 930; 1030; 1130; 1230; 1330); a memory (130; 350; 450); and a processor (120; 340; 440) operatively connected to the display (160; 330; 430; 530; 630; 730; 830; 930; 1030; 1130; 1230; 1330) and the memory (130; 350; 450), wherein the memory (130; 350; 450) stores instructions that, when executed by the processor (120; 340; 440), cause the processor (120; 340; 440) to: generate first depth information in a first direction from an object (221; 571; 671; 771; 871; 971; 1071; 1171; 1271; 1371), generate a first point cloud (680; 781; 781a, 781b; 982; 983; 1381) of the object (221; 571; 671; 771; 871; 971; 1071; 1171; 1271; 1371) based on the first depth information, generate a first bounding box (890; 990; 1191) containing one or more points of the first point cloud (680; 781; 781a, 781b; 982; 983; 1381), generate second depth information in a second direction from the object (221; 571; 671; 771; 871; 971; 1071; 1171; 1271; 1371), the second direction being different from the first direction, generate a second point cloud of the object based on the second depth information, generate a second bounding box containing one or more points of the second point cloud, generate a third bounding box by combining the first (890; 990; 1191) and second bounding boxes, and display the third bounding box on the display (160; 330; 430; 530; 630; 730; 830; 930; 1030; 1130; 1230; 1330). a display (160; 330; 430; 530; 630; 730; 830; 930; 1030; 1130; 1230; 1330); a memory (130; 350; 450); and a processor (120; 340; 440) operatively connected to the display (160; 330; 430; 530; 630; 730; 830; 930; 1030; 1130; 1230; 1330) and the memory (130; 350; 450), wherein the memory (130; 350; 450) stores instructions that, when executed by the processor (120; 340; 440), cause the processor (120; 340; 440) to: generate first depth information in a first direction from an object (221; 571; 671; 771; 871; 971; 1071; 1171; 1271; 1371), generate a first point cloud (680; 781; 781a, 781b; 982; 983; 1381) of the object (221; 571; 671; 771; 871; 971; 1071; 1171; 1271; 1371) based on the first depth information, generate a first bounding box (890; 990; 1191) containing one or more points of the first point cloud (680; 781; 781a, 781b; 982; 983; 1381), generate second depth information in a second direction from the object (221; 571; 671; 771; 871; 971; 1071; 1171; 1271; 1371), the second direction being different from the first direction, generate a second point cloud of the object based on the second depth information, generate a second bounding box containing one or more points of the second point cloud, generate a third bounding box by combining the first (890; 990; 1191) and second bounding boxes, and display the third bounding box on the display (160; 330; 430; 530; 630; 730; 830; 930; 1030; 1130; 1230; 1330). generate first depth information in a first direction from an object (221; 571; 671; 771; 871; 971; 1071; 1171; 1271; 1371), generate a first point cloud (680; 781; 781a, 781b; 982; 983; 1381) of the object (221; 571; 671; 771; 871; 971; 1071; 1171; 1271; 1371) based on the first depth information, generate a first bounding box (890; 990; 1191) containing one or more points of the first point cloud (680; 781; 781a, 781b; 982; 983; 1381), generate second depth information in a second direction from the object (221; 571; 671; 771; 871; 971; 1071; 1171; 1271; 1371), the second direction being different from the first direction, generate a second point cloud of the object based on the second depth information, generate a second bounding box containing one or more points of the second point cloud, generate a third bounding box by combining the first (890; 990; 1191) and second bounding boxes, and display the third bounding box on the display (160; 330; 430; 530; 630; 730; 830; 930; 1030; 1130; 1230; 1330).