Commit 547ef415 authored by josh's avatar josh
Browse files

check push

parent 2a5bfa69
...@@ -178,7 +178,9 @@ class HDRFileDB( HDRDatabaseInterface ): ...@@ -178,7 +178,9 @@ class HDRFileDB( HDRDatabaseInterface ):
def getImageArray( self, imageId: str ) -> np.array: def getImageArray( self, imageId: str ) -> np.array:
print( imageId )
baseDir = self._idToBasePath( imageId ) baseDir = self._idToBasePath( imageId )
print( baseDir )
imageFilePath = [ p for p in baseDir.rglob( "{}.*".format( imageId ) ) ][0] imageFilePath = [ p for p in baseDir.rglob( "{}.*".format( imageId ) ) ][0]
return np.array( Image.open( imageFilePath ) ) return np.array( Image.open( imageFilePath ) )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment