Skip to content
Snippets Groups Projects
Commit 22401f52 authored by Vincent POLLET's avatar Vincent POLLET
Browse files

Also wrap bob.io.image.bob_to_opencvbgr

parent c3e05272
No related branches found
No related tags found
1 merge request!22Draft: Implements metadata handling for bob.io.stream.Stream and bob.io.stream.StreamFile
Pipeline #60058 failed
......@@ -197,3 +197,11 @@ def opencvbgr_to_bob(image):
except:
raise ModuleNotFoundError("bob.io.image required for this function")
return bob.io.image.opencvbgr_to_bob(image)
def bob_to_opencvbgr(image):
try:
import bob.io.image
except:
raise ModuleNotFoundError("bob.io.image required for this function")
return bob.io.image.bob_to_opencvbgr(image)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment