Darkflow: Running demo without display

Created on 31 May 2017  路  3Comments  路  Source: thtrieu/darkflow

Hi,

I have issues with my X server, so I wanted to try running the demo without displaying the image window, just saving the results to a file. Is there an option to do this?

Most helpful comment

@halt9, output window is displayed by this line, if you want window to be hidden, then just comment this line
#cv2.imshow('', postprocessed). I hope that helps

All 3 comments

If by "demo" you are talking about processing a video with darkflow then I believe doing that without displaying the output window is not currently possible (unless you want to modify some code) - however there is an open pull request (https://github.com/thtrieu/darkflow/pull/207) that directly addresses that - so you'll probably have to wait until that is merged unless you want to pull from his fork.

@halt9, output window is displayed by this line, if you want window to be hidden, then just comment this line
#cv2.imshow('', postprocessed). I hope that helps

Thanks @abagshaw and @Prakash19921206 !

Was this page helpful?
0 / 5 - 0 ratings