A computer-implemented method for anonymizing raw surgical procedure videos recorded by a recording device within an operating room, the method comprising: receiving a set of raw surgical videos produced by the recording device and corresponding to a surgical procedure performed within the operating room; merging the set of raw surgical videos to generate a surgical procedure video corresponding to the surgical procedure, wherein the surgical procedure video comprises a set of raw video images; and detecting image-based personally-identifiable information embedded in the set of raw video images of the surgical procedure video, wherein detecting the image-based personally-identifiable information embedded in the set of raw video images of the surgical procedure video further includes: scanning the set of raw video images to detect a video segment corresponding to an out-of-body event when the recording device was taken out of a patient's body, wherein personally-identifiable information can be captured by the recording device during the out-of-body event; and in response to detecting an out-of-body event within the set of raw video images, blurring out, editing out or otherwise de-identifying each video image in the detected video segment corresponding to the detected out-of-body event, so that any personally-identifiable information embedded within the detected video segment cannot be identified. receiving a set of raw surgical videos produced by the recording device and corresponding to a surgical procedure performed within the operating room; merging the set of raw surgical videos to generate a surgical procedure video corresponding to the surgical procedure, wherein the surgical procedure video comprises a set of raw video images; and detecting image-based personally-identifiable information embedded in the set of raw video images of the surgical procedure video, wherein detecting the image-based personally-identifiable information embedded in the set of raw video images of the surgical procedure video further includes: scanning the set of raw video images to detect a video segment corresponding to an out-of-body event when the recording device was taken out of a patient's body, wherein personally-identifiable information can be captured by the recording device during the out-of-body event; and in response to detecting an out-of-body event within the set of raw video images, blurring out, editing out or otherwise de-identifying each video image in the detected video segment corresponding to the detected out-of-body event, so that any personally-identifiable information embedded within the detected video segment cannot be identified. scanning the set of raw video images to detect a video segment corresponding to an out-of-body event when the recording device was taken out of a patient's body, wherein personally-identifiable information can be captured by the recording device during the out-of-body event; and in response to detecting an out-of-body event within the set of raw video images, blurring out, editing out or otherwise de-identifying each video image in the detected video segment corresponding to the detected out-of-body event, so that any personally-identifiable information embedded within the detected video segment cannot be identified. <EOS>