In main.py, I'm curious about how the heardEnter() method is working. When will it ever return true? In my case, I get frames: 999 heardEnter: False record_index: -1 for 999th iteration and nothing happens.
def heardEnter():
i,o,e = select.select([sys.stdin],[],[],0.0001)
for s in i:
if s == sys.stdin:
input = sys.stdin.readline()
return True
return False
...
...
...
while fps._numFrames < args["num_frames"]:
.....
triggered=heardEnter()
.....
In main.py, I'm curious about how the
heardEnter()
method is working. When will it ever return true? In my case, I getframes: 999 heardEnter: False record_index: -1
for 999th iteration and nothing happens.Any kind of help would be appreciated.