According to an embodiment of the present disclosure, provided is an X-ray apparatus which processes a photographed image of an object obtained by using a camera attached to the X-ray apparatus, and utilizes the image as an image marker in an X-ray photographed image. In addition, according to an embodiment of the present disclosure, provided is the X-ray apparatus which processes the photographed image of the object obtained by using the camera attached to the X-ray apparatus, and controls a position of machine equipment mechanical equipment of the X-ray apparatus. In addition, according to the present invention of the present disclosure, provided is the X-ray apparatus which processes the photographed image of the object obtained by using the camera attached to the X-ray apparatus, and controls a photographing environment of the X-ray apparatus.본 개시의 실시예는, 엑스선 장치에 부착된 카메라를 사용하여 획득한 대상체의 사진 촬영 이미지를 영상 처리하여 엑스선 촬영 영상에 이미지 마커로 활용하는 엑스선 장치를 제공할 수 있다. 또한, 본 개시의 일 실시예는, 엑스선 장치에 부착된 카메라를 사용하여 획득한 대상체의 사진 촬영 이미지를 영상 처리하여 엑스선 장치의 기구 장비의 위치를 제어하는 엑스선 장치를 제공할 수 있다.또한, 본 개시의 일 실시예는, 엑스선 장치에 부착된 카메라를 사용하여 획득한 대상체의 사진 촬영 이미지를 영상 처리하여 엑스선 장치의 촬영 환경을 제어하는 엑스선 장치를 제공할 수 있다.