MCPcopy Create free account
hub / github.com/buaacxf/VIPTR / ImgCV2PIL

Function ImgCV2PIL

dataload/dataAug.py:20–22  ·  view source on GitHub ↗
(img)

Source from the content-addressed store, hash-verified

18
19
20def ImgCV2PIL(img):
21 img = Image.fromarray(cv2.cvtColor(img, cv2.COLOR_BGR2RGB))
22 return img
23
24
25class RecConAug(object):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected