View my_id.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am jruivo-dev on github. | |
* I am jruivo (https://keybase.io/jruivo) on keybase. | |
* I have a public key ASAqIVaa_eWerEIvAqTi_00K_7qfToWRLMrynDeX10-7PQo | |
To claim this, I am signing this object: |
View gist:0decb79c832e267bb40521c8c15f6dfa
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from google.colab import files | |
uploaded = files.upload() | |
for fn in uploaded.keys(): | |
print('User uploaded file "{name}" with length {length} bytes'.format( | |
name=fn, length=len(uploaded[fn]))) | |
dog = uploaded['dog.jpg'] | |
img = cv2.imdecode(np.frombuffer(dog, np.uint8), cv2.IMREAD_COLOR) |