Page 1117 - 3-2
P. 1117

else :
                            TTS_Play(' 다시 한번 말씀 해 주세요.')
                            screen.blit(face4, (0,0))
                            pygame.display.flip()
                            voice_insert()


                    elif re.search(u' 재부팅', transcribe_streaming_module.word, re.I):
                        os.system('sudo reboot')
                        end = 1


                      elif re.search(u' 전원 종료', transcribe_streaming_module.word, re.I):
                        os.system('sudo shutdown')
                        end = 1


                      elif re.search(u' 가만', transcribe_streaming_module.word, re.I) or re.search(u'  가마니',
            transcribe_streaming_module.word, re.I):
                        TTS_Play(' 추적을 중지합니다.')
                        ser.write('b')
                        if start_play:
                            screen.blit(face2, (0,0))




                            else:
                            screen.blit(face1, (0,0))
                        end = 1


                    elif re.search(u' 따라', transcribe_streaming_module.word, re.I):
                        TTS_Play(' 추적을 시작합니다.')
                        if start_play:
                            screen.blit(face2, (0,0))


                        else:
                            screen.blit(face1, (0,0))
                        ser.write('a')
                        end = 1


                    elif re.search(u' 선풍기', transcribe_streaming_module.word, re.I) or re.search(u'   선풍기',
            transcribe_streaming_module.word, re.I):
                        if re.search(u' 꺼', transcribe_streaming_module.word, re.I):
                            TTS_Play(' 선풍기를 작동 중지 합니다.')
                            if start_play:
                                screen.blit(face2, (0,0))


                          else:


                                                        - 1117 -
   1112   1113   1114   1115   1116   1117   1118   1119   1120   1121   1122