I am trying to get the average merged image to show it with the following code:
import numpy as np
import cv2
import matplotlib.pyplot as plt
dolphin=cv2.imread('dolphin.png',0)
bicycle=cv2.imread('bicycle.png',0)

The following code adds two images, and the result is the same as shown in the course. But just adding avg = img1 + img2 does not work.

sumimg=cv2.add(dolphin,bicycle)
cv2.imshow('Sum image', sumimg)
The two images added together without any changes are the washout areas due to the addition of more than 255 for this element, so the value is set to 255
cv2.waitKey(0)
cv2.destroyAllWindows()
The following code just gives me a white image. When I try to display half the intensity of a dolphin or a cycle ... the same result, except for a few black dots

avgimg=cv2.add(dolphin/2,bicycle/2)
same result obtained avgimg = img1 / 2 + img2 / 2
cv2.imshow('Avg image', avgimg)
cv2.waitKey(0)
cv2.destroyAllWindows()
The Udacity course shows that if you add images divided by 2, you should get the following:

, : 2, 255, 255, ?