Update README.md
Browse files
README.md
CHANGED
@@ -9,7 +9,8 @@ tags:
|
|
9 |
---
|
10 |
|
11 |
An image classification model for detecting car crashes from traffic cams. An easier to run version of Crashly is currently in development. To run this model, use the following code snippet.
|
12 |
-
|
|
|
13 |
from PIL import Image
|
14 |
import tensorflow as tf
|
15 |
|
@@ -42,4 +43,4 @@ if __name__ == "__main__":
|
|
42 |
# Use `tensor()` in order to get a pointer to the tensor.
|
43 |
output_data = interpreter.get_tensor(output_details[0]['index'])
|
44 |
print(output_data)
|
45 |
-
|
|
|
9 |
---
|
10 |
|
11 |
An image classification model for detecting car crashes from traffic cams. An easier to run version of Crashly is currently in development. To run this model, use the following code snippet.
|
12 |
+
```
|
13 |
+
import numpy as np
|
14 |
from PIL import Image
|
15 |
import tensorflow as tf
|
16 |
|
|
|
43 |
# Use `tensor()` in order to get a pointer to the tensor.
|
44 |
output_data = interpreter.get_tensor(output_details[0]['index'])
|
45 |
print(output_data)
|
46 |
+
```
|