Skip to content
Snippets Groups Projects
Commit cccd3d7f authored by Leo Sutevski's avatar Leo Sutevski
Browse files

.

parent e276a6b3
No related branches found
No related tags found
No related merge requests found
......@@ -211,9 +211,9 @@ class MemoryFrame:
'''Takes in an numpy array and converts it into grayscale image and encodes into base64'''
#t = time.time()
arr = self._readFrame()
arr = arr * 255 // np.max(arr)
#arr = (self._readFrame()*255//1023).astype(np.uint8)
#arr = self._readFrame()
#arr = arr * 255 // np.max(arr)
arr = (self._readFrame()*255//1023).astype(np.uint8)
#t1 = time.time()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment