lipreading-by-convolutional-neural-network-keras
lipreading-by-convolutional-neural-network-keras copied to clipboard
How does the trigger method heardEnter() works?
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()
.....
Any kind of help would be appreciated.
@apoorvpatne10 facing the same issue, did you solved this?