use ai
0
AI_ENGINE/DATA/CON.mp4
Normal file → Executable file
BIN
AI_ENGINE/DATA/Trim.mp4
Normal file
BIN
AI_ENGINE/DATA/WD.mp4
Normal file
BIN
AI_ENGINE/DATA/WD_crop.mp4
Normal file
|
Before Width: | Height: | Size: 65 KiB |
|
Before Width: | Height: | Size: 76 KiB After Width: | Height: | Size: 72 KiB |
|
Before Width: | Height: | Size: 74 KiB After Width: | Height: | Size: 66 KiB |
|
Before Width: | Height: | Size: 72 KiB |
|
Before Width: | Height: | Size: 77 KiB After Width: | Height: | Size: 69 KiB |
|
Before Width: | Height: | Size: 77 KiB After Width: | Height: | Size: 70 KiB |
@@ -42,7 +42,7 @@ def _bi_sftp_upload():
|
||||
|
||||
remotepath = AI_CONST.FTP_LOCATION + os.sep + AI_CONST.FTP_BI_FILE_NAME + '.jpg'
|
||||
|
||||
#sftp.put(AI_CONST.FTP_BI_RESULT, remotepath)
|
||||
sftp.put(AI_CONST.FTP_BI_RESULT, remotepath)
|
||||
|
||||
sftp.close()
|
||||
transprot.close()
|
||||
|
||||
@@ -42,3 +42,6 @@ client.on_disconnect = on_disconnect
|
||||
client.username_pw_set(AI_CONST.MQTT_USER_ID,AI_CONST.MQTT_USER_PW)
|
||||
# address : localhost, port: 1883 에 연결
|
||||
client.connect(AI_CONST.MQTT_HOST, AI_CONST.MQTT_PORT)
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -56,9 +56,4 @@ client.username_pw_set(AI_CONST.MQTT_USER_ID, AI_CONST.MQTT_USER_PW)
|
||||
client.connect(AI_CONST.MQTT_HOST, AI_CONST.MQTT_PORT)
|
||||
client.subscribe(AI_CONST.MQTT_PPE_TOPIC) # ppe
|
||||
client.subscribe(AI_CONST.MQTT_FR_TOPIC) # FR
|
||||
|
||||
|
||||
|
||||
client.loop_forever()
|
||||
|
||||
|
||||
|
||||