Skip to content

Commit dcaef04

Browse files
committed
lint
1 parent d88f44d commit dcaef04

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

intermediate_source/realtime_rpi.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ Once the OS boots and you complete the initial setup you'll need to edit the ``/
6060
# This needs to be at least 128M for the camera processing, if it's bigger you can just leave it as is.
6161
gpu_mem=128
6262
63-
And then reboot.
63+
And then reboot.
6464

6565
Installing PyTorch and picamera2
6666
-------------------------------
@@ -99,14 +99,14 @@ enough frames.
9999
.. code:: python
100100
101101
from picamera2 import Picamera2
102-
102+
103103
picam2 = Picamera2()
104-
104+
105105
# print available sensor modes
106106
print(picam2.sensor_modes)
107-
107+
108108
config = picam2.create_still_configuration(main={
109-
"size": (224, 224),
109+
"size": (224, 224),
110110
"format": "BGR888",
111111
}, display="main")
112112
picam2.configure(config)
@@ -120,7 +120,7 @@ object that we can use with PyTorch.
120120
121121
# read frame
122122
image = picam2.capture_image("main")
123-
123+
124124
# show frame for testing
125125
image.show()
126126
@@ -237,7 +237,7 @@ We can now put all the pieces together and run it:
237237
print(picam2.sensor_modes)
238238
239239
config = picam2.create_still_configuration(main={
240-
"size": (224, 224),
240+
"size": (224, 224),
241241
"format": "BGR888",
242242
}, display="main")
243243
picam2.configure(config)

0 commit comments

Comments
 (0)