9. The method of claim 1 , wherein in the detecting the data of the one page, whether a total value of a motion value of a current frame is smaller than a predetermined first critical value due to a lack of motion for a predetermined period of time is determined, and if the total value of the motion value is smaller than the first critical value, one frame is detected among a plurality of frames processed up to that point as the one page of the document, document recognition is performed on the one page, and the one page is stored as text data.
1. A method of generating an electronic document, the method comprising: photographing a document having a plurality of pages to generate moving picture data; detecting data of one page of the document by performing motion estimation on the moving picture data, performing document recognition on the data of the one page of the document, and storing the data of the one page of the document as first text data; detecting whether data of a next page is input by performing motion estimation on the moving picture data, and if the data of the next page is detected, performing document recognition on the data of the next page and storing the data of the next page as second text data; and storing the first text data and the second text data as one electronic document.