A surgical instrument assembly comprising: a processor; a surgical instrument configured to operate on an anatomical structure, wherein the surgical instrument is a surgical drill; a display coupled to the processor and attached to the surgical instrument, the display configured to display X-ray data of the anatomical structure, the X-ray data generated by a medical imaging device; and a memory in communication with the processor, the memory having stored therein instructions that, upon execution of the processor, cause the processor to: identify an intramedullary nail from a plurality of intramedullary nails so as to determine an intramedullary nail identity, the intramedullary nail defining a plurality of locking holes sized to receive respective locking screws; receive a first X-ray image from the medical imaging device, the first X-ray image generated by the medical imaging device when the medical imaging device is in a first position such that the first X-ray image includes a portion of the intramedullary nail, the portion of the intramedullary nail including a portion of at least two of the plurality of locking holes; and based on the portion of the at least two locking holes and the intramedullary nail identity, determine a second position of the medical imaging device that is different than the first position, such that, when the medical imaging device is placed in the second position and generates a second X-ray image from the second position, the second X-ray image includes the at least two locking holes shown as respective circles. a processor; a surgical instrument configured to operate on an anatomical structure, wherein the surgical instrument is a surgical drill; a display coupled to the processor and attached to the surgical instrument, the display configured to display X-ray data of the anatomical structure, the X-ray data generated by a medical imaging device; and a memory in communication with the processor, the memory having stored therein instructions that, upon execution of the processor, cause the processor to: identify an intramedullary nail from a plurality of intramedullary nails so as to determine an intramedullary nail identity, the intramedullary nail defining a plurality of locking holes sized to receive respective locking screws; receive a first X-ray image from the medical imaging device, the first X-ray image generated by the medical imaging device when the medical imaging device is in a first position such that the first X-ray image includes a portion of the intramedullary nail, the portion of the intramedullary nail including a portion of at least two of the plurality of locking holes; and based on the portion of the at least two locking holes and the intramedullary nail identity, determine a second position of the medical imaging device that is different than the first position, such that, when the medical imaging device is placed in the second position and generates a second X-ray image from the second position, the second X-ray image includes the at least two locking holes shown as respective circles. identify an intramedullary nail from a plurality of intramedullary nails so as to determine an intramedullary nail identity, the intramedullary nail defining a plurality of locking holes sized to receive respective locking screws; receive a first X-ray image from the medical imaging device, the first X-ray image generated by the medical imaging device when the medical imaging device is in a first position such that the first X-ray image includes a portion of the intramedullary nail, the portion of the intramedullary nail including a portion of at least two of the plurality of locking holes; and based on the portion of the at least two locking holes and the intramedullary nail identity, determine a second position of the medical imaging device that is different than the first position, such that, when the medical imaging device is placed in the second position and generates a second X-ray image from the second position, the second X-ray image includes the at least two locking holes shown as respective circles.