What does this Swiss black on yellow rectangular traffic sign with a symbol looking like a darts missile mean?

I’ve seen this traffic sign in Switzerland. What does the second panel from the top mean? The panel is a rectangle, maybe 1½ times wider than high, depicting on the left a symbol that looks like a darts missile drawn within a rhombus, and on the right the text ►1,8m◄. The latter may indicate a maximum width but there is a different panel for that, so I expect the meaning to be a bit different.

traffic sign

I could not find this sign on this list of traffic signs in Switzerland and Liechtenstein.

Something is only permitted with AWD when having permission from the municipality of Ennenda, but what?

A few km away I saw the panel again, with the same symbol on the left, but on the right a maximum mass (12 t) rather than a maximum width:

another panel

Whiten black contours around a skewed image

I have this image:

enter image description here

I want to whiten the black contours (borders) around it without affecting the image content. Here is the code I used:

import cv2 import numpy as np import shapely.geometry as shageo   img = cv2.imread('filename.jpg')  # get the gray image and do binaryzation gray = cv2.cvtColor(img, cv2.COLOR_RGB2GRAY) gray[gray < 20] = 0 gray[gray > 0] = 255  # get the largest boundry of the binary image to locate the target contours, _ = cv2.findContours(gray, cv2.RETR_EXTERNAL, cv2.CHAIN_APPROX_SIMPLE) rect = cv2.minAreaRect(contours[0]) box = cv2.boxPoints(rect) box = np.int0(box)  poly = shageo.Polygon(box) h, w = img.shape[:2] ind = np.zeros((h, w), np.bool)  # check if the point is inside the target or not for i in range(h):     for j in range(w):         p = shageo.Point(j, i)         if not p.within(poly):             ind[i, j] = True  # whiten the outside points img[ind] = (255, 255, 255) cv2.imwrite('result.jpg', img) 

Here is the result: enter image description here

As you see, the code works fine, but it’s very slow because of the for loops.

Any suggestion how to avoid the for loops or to make them faster?

Black unresponsive screen after leaving the computer on its own unsuspended for a couple hours

I have a ryzen 1600, MSI B450 Tomahawk motherboard, RX 580 4GB and am using Kubuntu 19.04. My only power setting is the default that the screen will turn off after 10 minutes but never suspend. If I leave it for a couple hours I will come back and just not be able to turn the screen back on even though the power light is still on and the fans are still on normally. It’s kind of frustrating if I leave something I’m working on to go do something else and come back and have to hard reset the PC.