Skip to main content

How to take pictures

Basic principles

  1. The lesion must be the main thing in the picture
    1. Put the camera as close to the lesion as possible
  2. The image must be well focused
    1. Make sure that the lesion is what's in focus
  3. The image must be well lit
  4. Use multiple images of the same lesion
  5. The image must not be artificially edited or compressed

The lesion must be the main thing

To ensure that the device knows what to analyse, you must ensure that the lesion is the main element in the image.

This is what data scientists call Region of Interest, or ROI. For the condition to be properly analysed, the image must match region of interest. Othewise, you are adding noise to input and thus potentially hindering the output.

Put the camera close to the lesion

Ask youself: how does the device know what you want it to look at? Well, it does not know. That is why the device looks at the whole image. So the best way of ensuring that the device is analysing the right thing is capturing the lesion from as close as you can.

Now we are going to look at the same lesion, captured in two different photos:

How to do it wrong

As you can see, the following image is taken from far away.

ImageOutput

Detected conditions

The device has detected the following conditions.

  1. Non-specific lesion: 74.17%
  2. Psoriasis: 7.29%
  3. Nevus: 2.36%
  4. Actinic keratosis: 1.67%
  5. Eczema: 1.43%

As a result, the region of interest is not the most prominent element of the image. In other words: you can barely see the lesion. Instead, you added noise to the input by capturing the background and many freckles in the arm.

How to do it right

Now the same image, but with the camera closer to the lesion.

ImageOutput

Detected conditions

The device has detected the following conditions.

  1. Nevus: 62.76%
  2. Actinic porokeratosis: 4.93%
  3. Acanthosis nigricans: 4.09%
  4. Lentigo: 3.28%
  5. Seborrheic keratosis: 2.85%

Thanks to taking the image from closer up, you cannot see the table anymore, which reduces the noise. And furthermore: the lesion occupies a significant portion of the image. As a result: the outcome of the device is much better.

The image must be well focused

Tap to focus

The best way of ensuring that the image is focused is by tapping on the phone screen, right on top of the region of interest.

Put the lesion in focus

Your camera allows different things to be in focus. For photos to be correctly interpreted by the device, you need the lesion to be in focus.

How to do it wrong

In the following image, the user focused the area behind the nose, and the nose is out of focus:

ImageOutcome

Detected conditions

The device has detected the following conditions.

  1. Cutaneous lupus erythematosus: 28.83%
  2. Acne: 10.39%
  3. Basal cell carcinoma: 8.46%
  4. Haemangioma: 8.26%
  5. Sarcoidosis: 2.99%

Due to the fact that the region of interest is out of focus, you are removing the valuable information contained in the region of interest.

How to do it right

Now the user focused the nose, which is the region of interest:

ImageOutcome

Detected conditions

The device has detected the following conditions.

  1. Basal cell carcinoma: 91.56%
  2. Acne: 1.16%
  3. Non-specific lesion: 0.7%
  4. Haemangioma: 0.67%
  5. Squamous cell carcinoma: 0.56%

Thanks to focusing the lesion, the device has the information it needs about the lesion. As a result, because the lesion is properly focused, the outcome of the device is much better.

The image must be well lit

You must ensure that the image contains information. In other words: that the pixels reflect the features of the lesion. For that, you need to light the region of interest.

Use the flash

The flash is such a great invention. It even helps with the focus.

Use multiple images of the same lesion

To receive an output from the device, you only need to upload one image. With one image, the device works fine. However, you have the possibility of sending multiple images of the same skin structure in the same diagnostic report.

If you capture multiple images of the same skin lesion, the performance of the device will increase. Capturing multiple images of the same lesion only takes 10 extra seconds, if you follow the procedure explained in this animation:


Why does this work?

The reason this works is that, sometimes, a particular image may have some sort of noise of artifact. By sending multiple images that are slightly different, you remove the impact of any particular artifact.

The image must not be artificially compressed

Make sure there has been no size reduction

If you download images from the Internet, or if you received the images through WhatsApp, they may have been artificially compressed or reduced.

A good way of knowing if an image has been reduced is by checking the image size. The following table shows the typical size of images from different devices:

Device✅ Normal image size❌ Compressed image size
iPhone 6 (2014)3456 x 2304 pixels346 x 204 pixels
iPhone 13 (2021)4032 x 3024 pixels403 x 302 pixels
Xiaomi 12T Pro (2022)16384 x 12288 pixels819 x 614 pixels

Don't edit or draw over the image

❌ Wrong: draw over image✅ Correct: non-altered image