-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcore.py
More file actions
40 lines (35 loc) · 917 Bytes
/
Copy pathcore.py
File metadata and controls
40 lines (35 loc) · 917 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
DataType = {
'IMAGE': 0,
'VIDEO': 1
}
OptionsColor = {
'NONE': 0,
'RGB': 1,
'GRAYSCALE': 2,
'HSV': 3,
'CMY': 4,
}
OptionsFlip = {
'NONE': 0,
'HORIZONTAL': 1,
'VERTICAL': 2
}
OptionsCrop = {
'NONE': 0,
'4:3': 1,
'16:9': 2,
'SQUARE': 3
}
Status = {
'SUCCESS': 0,
'FAILED': 1
}
HOST_IP = '::0'
HOST_PORT = 5555
BUFFER_SIZE = 4089
DELIMITER = '.'
IMAGE_FOLDER = 'E:\\Documents\\NetworkProgramming\\ServerImaginator\\data'
GENERATED_VIDEO = 'E:\\Documents\\NetworkProgramming\\ServerImaginator\\files\\ProcessedVideo.mp4'
ORIGINAL_VIDEO = 'E:\\Documents\\NetworkProgramming\\ServerImaginator\\files\\ReceivedVideo.mp4'
GENERATED_IMAGE = 'E:\\Documents\\NetworkProgramming\\ServerImaginator\\files\\ProcessedImage.png'
ORIGINAL_IMAGE = 'E:\\Documents\\NetworkProgramming\\ServerImaginator\\files\\ReceivedImage.png'