An electronic device comprising: a camera; a display; a communication interface; a memory storing one or more instructions; and a processor configured to execute the one or more instructions stored in the memory to: generate an event and transmit, to a display apparatus, the generated event to instruct a plurality of markers to be displayed on a screen of the display apparatus; determine, from among images obtained from the camera, an image, from which at least a region of a wall surface in the vicinity of the display apparatus is to be extracted, based on recognition of the plurality of markers displayed on the screen of the display apparatus in response to the generated event; extract, from the determined image, a region corresponding to a shape obtained based on the recognized plurality of markers; generate a background image to be displayed on the screen of the display apparatus, by correcting an image of the extracted region in which opposite sides have different lengths by extending or reducing a length of at least one side of the image of the extracted region to be the same as a length of the opposite side of the image of the extracted region and/or rotating the image of the extracted region; and transmit the generated background image to the display apparatus so that the generated background image is displayed on the screen of the display apparatus. a camera; a display; a communication interface; a memory storing one or more instructions; and a processor configured to execute the one or more instructions stored in the memory to: generate an event and transmit, to a display apparatus, the generated event to instruct a plurality of markers to be displayed on a screen of the display apparatus; determine, from among images obtained from the camera, an image, from which at least a region of a wall surface in the vicinity of the display apparatus is to be extracted, based on recognition of the plurality of markers displayed on the screen of the display apparatus in response to the generated event; extract, from the determined image, a region corresponding to a shape obtained based on the recognized plurality of markers; generate a background image to be displayed on the screen of the display apparatus, by correcting an image of the extracted region in which opposite sides have different lengths by extending or reducing a length of at least one side of the image of the extracted region to be the same as a length of the opposite side of the image of the extracted region and/or rotating the image of the extracted region; and transmit the generated background image to the display apparatus so that the generated background image is displayed on the screen of the display apparatus. generate an event and transmit, to a display apparatus, the generated event to instruct a plurality of markers to be displayed on a screen of the display apparatus; determine, from among images obtained from the camera, an image, from which at least a region of a wall surface in the vicinity of the display apparatus is to be extracted, based on recognition of the plurality of markers displayed on the screen of the display apparatus in response to the generated event; extract, from the determined image, a region corresponding to a shape obtained based on the recognized plurality of markers; generate a background image to be displayed on the screen of the display apparatus, by correcting an image of the extracted region in which opposite sides have different lengths by extending or reducing a length of at least one side of the image of the extracted region to be the same as a length of the opposite side of the image of the extracted region and/or rotating the image of the extracted region; and transmit the generated background image to the display apparatus so that the generated background image is displayed on the screen of the display apparatus.