An image processing apparatus, comprising: an apparatus main body; a first rotating body configured to be openable and closeable and provided in the apparatus main body; a second rotating body configured to be openable and closable from the first rotating body in a same direction as the first rotating body, the second rotating body being provided in the first rotating body; a linear connection member configured to connect the apparatus main body and the second rotating body to each other and to restrict a rotation angle of the second rotating body, and a sagging restriction mechanism configured to pull the linear connection member to suppress sagging of the linear connection member outside of the apparatus main body, wherein the sagging restriction mechanism comprises: an engagement portion configured to engage with an end portion of the linear connection member, and a sliding portion with which the linear connection member is movable and comes into contact in a longitudinal direction of the linear connection member, characterized in that the sagging restriction mechanism is provided in the apparatus main body and further comprises a direction change member configured to fold the linear connection member in a U-shape between the engagement portion and the sliding portion and to engage with the linear connection member between the engagement portion and the sliding portion such that the linear connection member is at least partially movable in the longitudinal direction, an elastic member configured to pull the direction change member, and an accommodation portion configured to accommodate a portion of the linear connection member and the direction change member, the portion of the linear connection member being folded by the direction change member. an apparatus main body; a first rotating body configured to be openable and closeable and provided in the apparatus main body; a second rotating body configured to be openable and closable from the first rotating body in a same direction as the first rotating body, the second rotating body being provided in the first rotating body; a linear connection member configured to connect the apparatus main body and the second rotating body to each other and to restrict a rotation angle of the second rotating body, and a sagging restriction mechanism configured to pull the linear connection member to suppress sagging of the linear connection member outside of the apparatus main body, wherein the sagging restriction mechanism comprises: an engagement portion configured to engage with an end portion of the linear connection member, and a sliding portion with which the linear connection member is movable and comes into contact in a longitudinal direction of the linear connection member, an engagement portion configured to engage with an end portion of the linear connection member, and a sliding portion with which the linear connection member is movable and comes into contact in a longitudinal direction of the linear connection member, characterized in that the sagging restriction mechanism is provided in the apparatus main body and further comprises a direction change member configured to fold the linear connection member in a U-shape between the engagement portion and the sliding portion and to engage with the linear connection member between the engagement portion and the sliding portion such that the linear connection member is at least partially movable in the longitudinal direction, an elastic member configured to pull the direction change member, and an accommodation portion configured to accommodate a portion of the linear connection member and the direction change member, the portion of the linear connection member being folded by the direction change member. a direction change member configured to fold the linear connection member in a U-shape between the engagement portion and the sliding portion and to engage with the linear connection member between the engagement portion and the sliding portion such that the linear connection member is at least partially movable in the longitudinal direction, an elastic member configured to pull the direction change member, and an accommodation portion configured to accommodate a portion of the linear connection member and the direction change member, the portion of the linear connection member being folded by the direction change member.