Do I need device.startPipeline()? Can I check I am correct?
When I run the following code:
# Pipeline defined, now the device connection
with dai.Device(pipeline) as device:
# Start pipeline
print("***Start warning section")
device.startPipeline()
print("\n***End warning section")
I get the following warning:
***Start warning section
Warning (from warnings module):
File "C:\Users\.....\hello_world.py", line 21
device.startPipeline()
DeprecationWarning: Device(pipeline) starts the pipeline automatically. Use Device() and startPipeline(pipeline) otherwise
***End warning section
If I comment out the startPipeline command it seems to work fine, no warning. I guess I do not need the device.startPipeline() is that correct?