An electronic device comprising: a communication interface to make communication with an external device, at least one camera module to capture an image based on a specified angle of view; a memory; a transparent display to display the image; and a processor electrically connected with the camera module and the transparent display, wherein the processor is configured to: detect a plurality of first objects included in the captured image; extract a plurality of second objects (1,5), from a content analysis database constructed in the memory, among the plurality of first objects; output a first user interface including image content for the plurality of second objects(1, 5) and a control tap to control whether the image data setting is performed with respect to each of the plurality of second objects; control whether image data setting is performed with respect to the plurality of second objects (1, 5), based on a user input applied to the control tap; perform setting of image data of objects associated with the plurality of first objects except for the extracted second objects (1,5), for which user input has been applied via the control tap, such that a region, which corresponds to objects associated with the plurality of first objects except for the extracted second objects (1,5), for which user input has been applied via the control tap, in the transparent display has a specified light transmittance value; and transmit, to the external device, information on the image data setting and data on the first image, based on the communication interface, a communication interface to make communication with an external device, at least one camera module to capture an image based on a specified angle of view; a transparent display to display the image; and a processor electrically connected with the camera module and the transparent display, wherein the processor is configured to: detect a plurality of first objects included in the captured image; extract a plurality of second objects (1,5), from a content analysis database constructed in the memory, among the plurality of first objects; output a first user interface including image content for the plurality of second objects(1, 5) and a control tap to control whether the image data setting is performed with respect to each of the plurality of second objects; control whether image data setting is performed with respect to the plurality of second objects (1, 5), based on a user input applied to the control tap; perform setting of image data of objects associated with the plurality of first objects except for the extracted second objects (1,5), for which user input has been applied via the control tap, such that a region, which corresponds to objects associated with the plurality of first objects except for the extracted second objects (1,5), for which user input has been applied via the control tap, in the transparent display has a specified light transmittance value; and transmit, to the external device, information on the image data setting and data on the first image, based on the communication interface, detect a plurality of first objects included in the captured image; extract a plurality of second objects (1,5), from a content analysis database constructed in the memory, among the plurality of first objects; output a first user interface including image content for the plurality of second objects(1, 5) and a control tap to control whether the image data setting is performed with respect to each of the plurality of second objects; control whether image data setting is performed with respect to the plurality of second objects (1, 5), based on a user input applied to the control tap; perform setting of image data of objects associated with the plurality of first objects except for the extracted second objects (1,5), for which user input has been applied via the control tap, such that a region, which corresponds to objects associated with the plurality of first objects except for the extracted second objects (1,5), for which user input has been applied via the control tap, in the transparent display has a specified light transmittance value; and transmit, to the external device, information on the image data setting and data on the first image, based on the communication interface,