robotpy-cscore 2024.1.1.0__cp312-cp312-win_amd64.whl → 2024.2.1.0__cp312-cp312-win_amd64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of robotpy-cscore might be problematic. Click here for more details.
- cscore/__pycache__/__init__.cpython-312.pyc +0 -0
- cscore/__pycache__/_init_cscore.cpython-312.pyc +0 -0
- cscore/__pycache__/_logging.cpython-312.pyc +0 -0
- cscore/__pycache__/version.cpython-312.pyc +0 -0
- cscore/_cscore.cp312-win_amd64.pyd +0 -0
- cscore/_cscore.pyi +120 -26
- cscore/version.py +2 -2
- {robotpy_cscore-2024.1.1.0.dist-info → robotpy_cscore-2024.2.1.0.dist-info}/METADATA +4 -4
- {robotpy_cscore-2024.1.1.0.dist-info → robotpy_cscore-2024.2.1.0.dist-info}/RECORD +13 -13
- {robotpy_cscore-2024.1.1.0.dist-info → robotpy_cscore-2024.2.1.0.dist-info}/LICENSE +0 -0
- {robotpy_cscore-2024.1.1.0.dist-info → robotpy_cscore-2024.2.1.0.dist-info}/WHEEL +0 -0
- {robotpy_cscore-2024.1.1.0.dist-info → robotpy_cscore-2024.2.1.0.dist-info}/entry_points.txt +0 -0
- {robotpy_cscore-2024.1.1.0.dist-info → robotpy_cscore-2024.2.1.0.dist-info}/top_level.txt +0 -0
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
cscore/_cscore.pyi
CHANGED
|
@@ -365,6 +365,8 @@ class HttpCamera(VideoCamera):
|
|
|
365
365
|
"""
|
|
366
366
|
class HttpCameraKind:
|
|
367
367
|
"""
|
|
368
|
+
HTTP camera kind.
|
|
369
|
+
|
|
368
370
|
Members:
|
|
369
371
|
|
|
370
372
|
kUnknown : Unknown camera kind.
|
|
@@ -741,17 +743,19 @@ class VideoCamera(VideoSource):
|
|
|
741
743
|
"""
|
|
742
744
|
class WhiteBalance:
|
|
743
745
|
"""
|
|
746
|
+
White balance.
|
|
747
|
+
|
|
744
748
|
Members:
|
|
745
749
|
|
|
746
|
-
kFixedIndoor
|
|
750
|
+
kFixedIndoor : Fixed indoor white balance.
|
|
747
751
|
|
|
748
|
-
kFixedOutdoor1
|
|
752
|
+
kFixedOutdoor1 : Fixed outdoor white balance 1.
|
|
749
753
|
|
|
750
|
-
kFixedOutdoor2
|
|
754
|
+
kFixedOutdoor2 : Fixed outdoor white balance 2.
|
|
751
755
|
|
|
752
|
-
kFixedFluorescent1
|
|
756
|
+
kFixedFluorescent1 : Fixed fluorescent white balance 1.
|
|
753
757
|
|
|
754
|
-
kFixedFlourescent2
|
|
758
|
+
kFixedFlourescent2 : Fixed fluorescent white balance 2.
|
|
755
759
|
"""
|
|
756
760
|
__members__: typing.ClassVar[dict[str, VideoCamera.WhiteBalance]] # value = {'kFixedIndoor': <WhiteBalance.kFixedIndoor: 3000>, 'kFixedOutdoor1': <WhiteBalance.kFixedOutdoor1: 4000>, 'kFixedOutdoor2': <WhiteBalance.kFixedOutdoor2: 5000>, 'kFixedFluorescent1': <WhiteBalance.kFixedFluorescent1: 5100>, 'kFixedFlourescent2': <WhiteBalance.kFixedFlourescent2: 5200>}
|
|
757
761
|
kFixedFlourescent2: typing.ClassVar[VideoCamera.WhiteBalance] # value = <WhiteBalance.kFixedFlourescent2: 5200>
|
|
@@ -827,15 +831,21 @@ class VideoEvent(RawEvent):
|
|
|
827
831
|
...
|
|
828
832
|
def getProperty(self) -> VideoProperty:
|
|
829
833
|
"""
|
|
830
|
-
|
|
834
|
+
Returns the property associated with the event (if any).
|
|
835
|
+
|
|
836
|
+
:returns: The property associated with the event (if any).
|
|
831
837
|
"""
|
|
832
838
|
def getSink(self) -> VideoSink:
|
|
833
839
|
"""
|
|
834
|
-
|
|
840
|
+
Returns the sink associated with the event (if any).
|
|
841
|
+
|
|
842
|
+
:returns: The sink associated with the event (if any).
|
|
835
843
|
"""
|
|
836
844
|
def getSource(self) -> VideoSource:
|
|
837
845
|
"""
|
|
838
|
-
|
|
846
|
+
Returns the source associated with the event (if any).
|
|
847
|
+
|
|
848
|
+
:returns: The source associated with the event (if any).
|
|
839
849
|
"""
|
|
840
850
|
class VideoListener:
|
|
841
851
|
"""
|
|
@@ -982,41 +992,119 @@ class VideoProperty:
|
|
|
982
992
|
def __init__(self) -> None:
|
|
983
993
|
...
|
|
984
994
|
def get(self) -> int:
|
|
985
|
-
|
|
995
|
+
"""
|
|
996
|
+
Returns property value.
|
|
997
|
+
|
|
998
|
+
:returns: Property value.
|
|
999
|
+
"""
|
|
986
1000
|
def getChoices(self) -> list[str]:
|
|
987
|
-
|
|
1001
|
+
"""
|
|
1002
|
+
Returns the possible values for the enum property value.
|
|
1003
|
+
|
|
1004
|
+
This function is enum-specific.
|
|
1005
|
+
|
|
1006
|
+
:returns: The possible values for the enum property value.
|
|
1007
|
+
"""
|
|
988
1008
|
def getDefault(self) -> int:
|
|
989
|
-
|
|
1009
|
+
"""
|
|
1010
|
+
Returns property default value.
|
|
1011
|
+
|
|
1012
|
+
:returns: Property default value.
|
|
1013
|
+
"""
|
|
990
1014
|
def getKind(self) -> VideoProperty.Kind:
|
|
991
|
-
|
|
1015
|
+
"""
|
|
1016
|
+
Returns property kind.
|
|
1017
|
+
|
|
1018
|
+
:returns: Property kind.
|
|
1019
|
+
"""
|
|
992
1020
|
def getLastStatus(self) -> int:
|
|
993
|
-
|
|
1021
|
+
"""
|
|
1022
|
+
Returns the last status.
|
|
1023
|
+
|
|
1024
|
+
:returns: The last status.
|
|
1025
|
+
"""
|
|
994
1026
|
def getMax(self) -> int:
|
|
995
|
-
|
|
1027
|
+
"""
|
|
1028
|
+
Returns property maximum value.
|
|
1029
|
+
|
|
1030
|
+
:returns: Property maximum value.
|
|
1031
|
+
"""
|
|
996
1032
|
def getMin(self) -> int:
|
|
997
|
-
|
|
1033
|
+
"""
|
|
1034
|
+
Returns property minimum value.
|
|
1035
|
+
|
|
1036
|
+
:returns: Property minimum value.
|
|
1037
|
+
"""
|
|
998
1038
|
def getName(self) -> str:
|
|
999
|
-
|
|
1039
|
+
"""
|
|
1040
|
+
Returns property name.
|
|
1041
|
+
|
|
1042
|
+
:returns: Property name.
|
|
1043
|
+
"""
|
|
1000
1044
|
def getStep(self) -> int:
|
|
1001
|
-
|
|
1045
|
+
"""
|
|
1046
|
+
Returns property step size.
|
|
1047
|
+
|
|
1048
|
+
:returns: Property step size.
|
|
1049
|
+
"""
|
|
1002
1050
|
@typing.overload
|
|
1003
1051
|
def getString(self) -> str:
|
|
1004
|
-
|
|
1052
|
+
"""
|
|
1053
|
+
Returns the string property value.
|
|
1054
|
+
|
|
1055
|
+
This function is string-specific.
|
|
1056
|
+
|
|
1057
|
+
:returns: The string property value.
|
|
1058
|
+
"""
|
|
1005
1059
|
@typing.overload
|
|
1006
1060
|
def getString(self, buf: list[str]) -> str:
|
|
1007
|
-
|
|
1061
|
+
"""
|
|
1062
|
+
Returns the string property value as a reference to the given buffer.
|
|
1063
|
+
|
|
1064
|
+
This function is string-specific.
|
|
1065
|
+
|
|
1066
|
+
:param buf: The backing storage to which to write the property value.
|
|
1067
|
+
|
|
1068
|
+
:returns: The string property value as a reference to the given buffer.
|
|
1069
|
+
"""
|
|
1008
1070
|
def isBoolean(self) -> bool:
|
|
1009
|
-
|
|
1071
|
+
"""
|
|
1072
|
+
Returns true if property is a boolean.
|
|
1073
|
+
|
|
1074
|
+
:returns: True if property is a boolean.
|
|
1075
|
+
"""
|
|
1010
1076
|
def isEnum(self) -> bool:
|
|
1011
|
-
|
|
1077
|
+
"""
|
|
1078
|
+
Returns true if property is an enum.
|
|
1079
|
+
|
|
1080
|
+
:returns: True if property is an enum.
|
|
1081
|
+
"""
|
|
1012
1082
|
def isInteger(self) -> bool:
|
|
1013
|
-
|
|
1083
|
+
"""
|
|
1084
|
+
Returns true if property is an integer.
|
|
1085
|
+
|
|
1086
|
+
:returns: True if property is an integer.
|
|
1087
|
+
"""
|
|
1014
1088
|
def isString(self) -> bool:
|
|
1015
|
-
|
|
1089
|
+
"""
|
|
1090
|
+
Returns true if property is a string.
|
|
1091
|
+
|
|
1092
|
+
:returns: True if property is a string.
|
|
1093
|
+
"""
|
|
1016
1094
|
def set(self, value: int) -> None:
|
|
1017
|
-
|
|
1095
|
+
"""
|
|
1096
|
+
Sets property value.
|
|
1097
|
+
|
|
1098
|
+
:param value: Property value.
|
|
1099
|
+
"""
|
|
1018
1100
|
def setString(self, value: str) -> None:
|
|
1019
|
-
|
|
1101
|
+
"""
|
|
1102
|
+
Sets the string property value.
|
|
1103
|
+
|
|
1104
|
+
This function is string-specific.
|
|
1105
|
+
|
|
1106
|
+
:param value: String property value.
|
|
1107
|
+
"""
|
|
1020
1108
|
class VideoSink:
|
|
1021
1109
|
"""
|
|
1022
1110
|
A sink for video that accepts a sequence of frames.
|
|
@@ -1094,7 +1182,11 @@ class VideoSink:
|
|
|
1094
1182
|
Get the sink description. This is sink-kind specific.
|
|
1095
1183
|
"""
|
|
1096
1184
|
def getHandle(self) -> int:
|
|
1097
|
-
|
|
1185
|
+
"""
|
|
1186
|
+
Returns the VideoSink handle.
|
|
1187
|
+
|
|
1188
|
+
:returns: The VideoSink handle.
|
|
1189
|
+
"""
|
|
1098
1190
|
def getKind(self) -> VideoSink.Kind:
|
|
1099
1191
|
"""
|
|
1100
1192
|
Get the kind of the sink.
|
|
@@ -1220,6 +1312,8 @@ class VideoSource:
|
|
|
1220
1312
|
...
|
|
1221
1313
|
class Kind:
|
|
1222
1314
|
"""
|
|
1315
|
+
Video source kind.
|
|
1316
|
+
|
|
1223
1317
|
Members:
|
|
1224
1318
|
|
|
1225
1319
|
kUnknown : Unknown video source.
|
cscore/version.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: robotpy-cscore
|
|
3
|
-
Version: 2024.
|
|
3
|
+
Version: 2024.2.1.0
|
|
4
4
|
Summary: RobotPy bindings for cscore image processing library
|
|
5
5
|
Home-page: https://github.com/robotpy/robotpy-cscore
|
|
6
6
|
Author: RobotPy Development Team
|
|
@@ -9,9 +9,9 @@ License: BSD-3-Clause
|
|
|
9
9
|
Requires-Python: >=3.8
|
|
10
10
|
Description-Content-Type: text/x-rst
|
|
11
11
|
License-File: LICENSE
|
|
12
|
-
Requires-Dist: robotpy-wpiutil ==2024.
|
|
13
|
-
Requires-Dist: robotpy-wpinet ==2024.
|
|
14
|
-
Requires-Dist: pyntcore ==2024.
|
|
12
|
+
Requires-Dist: robotpy-wpiutil ==2024.2.1.0
|
|
13
|
+
Requires-Dist: robotpy-wpinet ==2024.2.1.0
|
|
14
|
+
Requires-Dist: pyntcore ==2024.2.1.0
|
|
15
15
|
|
|
16
16
|
robotpy-cscore
|
|
17
17
|
==============
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
cscore/__init__.py,sha256=VaZBAeqPudG-P5ca41SS9q7UNjEyfAM08xaXba1Q-uk,1091
|
|
2
2
|
cscore/__main__.py,sha256=JmC0gHCGkRWCrwjvp28hZlhr24b9Mol3lwlS1UF3Cls,4393
|
|
3
|
-
cscore/_cscore.cp312-win_amd64.pyd,sha256=
|
|
4
|
-
cscore/_cscore.pyi,sha256=
|
|
3
|
+
cscore/_cscore.cp312-win_amd64.pyd,sha256=67Zc7TRZA8NMf2Vl2Jh5ussCD0mFVOtygw0-zBOQcQM,3622912
|
|
4
|
+
cscore/_cscore.pyi,sha256=Dw4M5fQ95tmPem5BC7TVCW3-4Fynka-6TlpE5ZRuxCc,53708
|
|
5
5
|
cscore/_init_cscore.py,sha256=IJoWfQi1FpW48Uez-o9vS8SVCArHlmCAGt1BZkmbZmY,267
|
|
6
6
|
cscore/_logging.py,sha256=uv1Shlu49aPgQpRn5yD2ybT4N8ewJS3qUFOn8YTffwg,333
|
|
7
7
|
cscore/grip.py,sha256=qC6MbWvVllpnnsm10f31gqq4_PMWI_G9GKt3PfOaUpo,1042
|
|
8
8
|
cscore/imagewriter.py,sha256=RAWRRhL3DLNampZJjdd7Ye_8P1AmiYAZsWhnwov5id0,4537
|
|
9
9
|
cscore/pkgcfg.py,sha256=nkuqOy-Oy0Kw0pi8YXX9KfQCviwNliFZZlSOi2slsiw,791
|
|
10
10
|
cscore/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
11
|
-
cscore/version.py,sha256=
|
|
12
|
-
cscore/__pycache__/__init__.cpython-312.pyc,sha256=
|
|
13
|
-
cscore/__pycache__/_init_cscore.cpython-312.pyc,sha256=
|
|
14
|
-
cscore/__pycache__/_logging.cpython-312.pyc,sha256=
|
|
15
|
-
cscore/__pycache__/version.cpython-312.pyc,sha256=
|
|
11
|
+
cscore/version.py,sha256=eB6M4MTvPHNoDls6Ed4sfYYbZurBX8WOwPahqu0bU1E,175
|
|
12
|
+
cscore/__pycache__/__init__.cpython-312.pyc,sha256=VZZhpfaR296EeT1B0-pkici5YBbaJmkiDB3y0dWryRw,1075
|
|
13
|
+
cscore/__pycache__/_init_cscore.cpython-312.pyc,sha256=IkFticgFX3B3b0kFiDa9rpof_E1pOLTlNRHjbkabhcg,489
|
|
14
|
+
cscore/__pycache__/_logging.cpython-312.pyc,sha256=ZXHFsS6Vwd5fQfJJ029knMdNDDDSKJFwKY_NYaenRXQ,895
|
|
15
|
+
cscore/__pycache__/version.cpython-312.pyc,sha256=e7GGMiW-mFMU74gSxxm1fsqUmVlyaWevXuswdW-cDAM,328
|
|
16
16
|
cscore/cvnp/README.md,sha256=197MQ-gG-pZf9YAUZqcHXLKk8au8WtxXrfFf7lnwHAo,1175
|
|
17
17
|
cscore/cvnp/cvnp.cpp,sha256=Zo-8jL2qRbH9SG0605vQ0-I1NjQKRfVqLyV7YxJEfqU,6247
|
|
18
18
|
cscore/cvnp/cvnp.h,sha256=4ymsVQgp8nOJqVazCtENVMgfTJ32M_j0ShfltPxL5aw,14852
|
|
@@ -20,9 +20,9 @@ cscore/cvnp/cvnp_shared_mat.h,sha256=xNsaRqfhi_D4yxCZF55Or96MOTsLyg_Mn9gLeOPin88
|
|
|
20
20
|
cscore/cvnp/cvnp_synonyms.cpp,sha256=ZpLZzmK5ZcrIgLfi_j7eJ_NXLNtcb8ymDWehYuVVHvo,2419
|
|
21
21
|
cscore/cvnp/cvnp_synonyms.h,sha256=MgU4yOOXMhGGLrKb06dX4nsQLtqkq_1gDE6ToR3mjFo,589
|
|
22
22
|
cscore/src/main.cpp,sha256=H7WmA3wj-1pZduYdFBsrH1Ayfir4ur-bYsFhySe4Beo,532
|
|
23
|
-
robotpy_cscore-2024.
|
|
24
|
-
robotpy_cscore-2024.
|
|
25
|
-
robotpy_cscore-2024.
|
|
26
|
-
robotpy_cscore-2024.
|
|
27
|
-
robotpy_cscore-2024.
|
|
28
|
-
robotpy_cscore-2024.
|
|
23
|
+
robotpy_cscore-2024.2.1.0.dist-info/LICENSE,sha256=eday0nHMlO9Rc7a6n0ONgNEe6N20r5xNWivVL5n-fN4,3138
|
|
24
|
+
robotpy_cscore-2024.2.1.0.dist-info/METADATA,sha256=TZPlxLR73qnub99J1CPnjhBKpJHvl7N3oeYp858GWmc,1099
|
|
25
|
+
robotpy_cscore-2024.2.1.0.dist-info/WHEEL,sha256=j9Aissza3750LQHFAQyYerNjmkEON1-8w_RaZNFtKSs,102
|
|
26
|
+
robotpy_cscore-2024.2.1.0.dist-info/entry_points.txt,sha256=ZOi1FKkpTmx8xBqUtdp6Z4IzoCKfwDOKJoVDAF9qjhE,38
|
|
27
|
+
robotpy_cscore-2024.2.1.0.dist-info/top_level.txt,sha256=yKRnfRQe07G2XO6XXYgsj9CN2obAQX3D3gsGvcewpVw,7
|
|
28
|
+
robotpy_cscore-2024.2.1.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
{robotpy_cscore-2024.1.1.0.dist-info → robotpy_cscore-2024.2.1.0.dist-info}/entry_points.txt
RENAMED
|
File without changes
|
|
File without changes
|