robotpy-cscore 2025.1.1.0__cp311-cp311-win_amd64.whl → 2025.2.1.1__cp311-cp311-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.

Binary file
Binary file
Binary file
Binary file
cscore/_cscore.pyi CHANGED
@@ -2,6 +2,7 @@ from __future__ import annotations
2
2
  import numpy
3
3
  import typing
4
4
  import wpiutil
5
+ import wpiutil._wpiutil
5
6
  __all__ = ['AxisCamera', 'CameraServer', 'CvSink', 'CvSource', 'HttpCamera', 'ImageSink', 'ImageSource', 'MjpegServer', 'RawEvent', 'UsbCamera', 'UsbCameraInfo', 'VideoCamera', 'VideoEvent', 'VideoListener', 'VideoMode', 'VideoProperty', 'VideoSink', 'VideoSource', 'runMainRunLoop', 'runMainRunLoopTimeout', 'stopMainRunLoop']
6
7
  class AxisCamera(HttpCamera):
7
8
  """
@@ -372,6 +373,19 @@ class CvSink(ImageSink):
372
373
  message); the frame time is in the same time base as wpi::Now(),
373
374
  and is in 1 us increments.
374
375
  """
376
+ def lastFrameTime(self) -> int:
377
+ """
378
+ Get the last time a frame was grabbed. This uses the same time base as
379
+ wpi::Now().
380
+
381
+ :returns: Time in 1 us increments.
382
+ """
383
+ def lastFrameTimeSource(self) -> wpiutil._wpiutil.TimestampSource:
384
+ """
385
+ Get the time source for the timestamp the last frame was grabbed at.
386
+
387
+ :returns: Time source
388
+ """
375
389
  class CvSource(ImageSource):
376
390
  """
377
391
  A source for user code to provide OpenCV images as video frames.
cscore/version.py CHANGED
@@ -1,4 +1,4 @@
1
1
  # file generated by setuptools_scm
2
2
  # don't change, don't track in version control
3
- __version__ = version = '2025.1.1.0'
4
- __version_tuple__ = version_tuple = (2025, 1, 1, 0)
3
+ __version__ = version = '2025.2.1.1'
4
+ __version_tuple__ = version_tuple = (2025, 2, 1, 1)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: robotpy-cscore
3
- Version: 2025.1.1.0
3
+ Version: 2025.2.1.1
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==2025.1.1.0
13
- Requires-Dist: robotpy-wpinet==2025.1.1.0
14
- Requires-Dist: pyntcore==2025.1.1.0
12
+ Requires-Dist: robotpy-wpiutil==2025.2.1.1
13
+ Requires-Dist: robotpy-wpinet==2025.2.1.1
14
+ Requires-Dist: pyntcore==2025.2.1.1
15
15
 
16
16
  robotpy-cscore
17
17
  ==============
@@ -1,27 +1,27 @@
1
1
  cscore/__init__.py,sha256=xtJaSt6Uiihii-R_9XYbQVovx_D3Q-tqZpnyt6i2s0I,1119
2
2
  cscore/__main__.py,sha256=No4nfyEHnbuyavQ9yInscvbiEGFPxxse9klZ-DSVMhc,4588
3
- cscore/_cscore.cp311-win_amd64.pyd,sha256=1LMG23UecvybYjj_jvFBrF7CVVUSbele0JIyPr56_1k,3597312
4
- cscore/_cscore.pyi,sha256=ee7ZZD0ToofOFlZ05GqTx67uej0xBbmFgBKJ1fJECQA,58863
3
+ cscore/_cscore.cp311-win_amd64.pyd,sha256=RcaVzioEy6j-ZytZb7W8PDQVysHOYtGzKJFGsAdkTZA,3600384
4
+ cscore/_cscore.pyi,sha256=02ElQ4WIlwvsuD9UQNoiBLmD0BpJ_H5ta9aqoy4D_Og,59323
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=okKD6v028VuAPyWiulU6a9Qzj_gRBik-sp0v1AUAk7Q,175
12
- cscore/__pycache__/__init__.cpython-311.pyc,sha256=NycO83Jp6K7suvUjcs9W47IwV_6BARVOM_72lYZc2BA,1321
13
- cscore/__pycache__/_init_cscore.cpython-311.pyc,sha256=hSzYtkCirAn4t5Oe-BwNV-balc4GzBkaVIxEWCXvevc,576
14
- cscore/__pycache__/_logging.cpython-311.pyc,sha256=YdcKslM3Xk1Onm3hUZiGQnl0ceHIMRo5HZ3Y0J-eqHw,984
15
- cscore/__pycache__/version.cpython-311.pyc,sha256=COQMAIbB_Lks8JGkMukjL7naSTn9xY5ublBM5d3hYmI,334
11
+ cscore/version.py,sha256=Pv5bqqWF8O7MZ9UBdKxr9Pd1kPhUciGBNLy_eW-nfFI,175
12
+ cscore/__pycache__/__init__.cpython-311.pyc,sha256=OhGJSzQSMVEvE77YYzZ8XQnRJWviVqZIUdwfo_9LXjw,1321
13
+ cscore/__pycache__/_init_cscore.cpython-311.pyc,sha256=IGMn_thDpeG3EsqHetAX60THhHOUj5zVtu9Kh0QAdwU,576
14
+ cscore/__pycache__/_logging.cpython-311.pyc,sha256=-L8yo03GRtV3fXW56WF7nnZsNxQkLqQWQcYCNs0WSrc,984
15
+ cscore/__pycache__/version.cpython-311.pyc,sha256=si9KFrOabJyFkYBsv0ILILNYaO8jKmrzpfN1quidjx4,334
16
16
  cscore/cvnp/README.md,sha256=197MQ-gG-pZf9YAUZqcHXLKk8au8WtxXrfFf7lnwHAo,1175
17
17
  cscore/cvnp/cvnp.cpp,sha256=dE3cBEbVVXaEdULdxbzglt9elRCxhkcXjF69W_Ak6so,9216
18
18
  cscore/cvnp/cvnp.h,sha256=021_w8fhAlnew4Nc88ypPAdT9sBPwPzXwGPRiGIY1_Q,14937
19
19
  cscore/cvnp/cvnp_synonyms.cpp,sha256=ZpLZzmK5ZcrIgLfi_j7eJ_NXLNtcb8ymDWehYuVVHvo,2419
20
20
  cscore/cvnp/cvnp_synonyms.h,sha256=MgU4yOOXMhGGLrKb06dX4nsQLtqkq_1gDE6ToR3mjFo,589
21
21
  cscore/src/main.cpp,sha256=sXb-crcVv2JxivUGCqPkpYmjgeupf5-M9XXOrxkRiRw,737
22
- robotpy_cscore-2025.1.1.0.dist-info/LICENSE,sha256=eday0nHMlO9Rc7a6n0ONgNEe6N20r5xNWivVL5n-fN4,3138
23
- robotpy_cscore-2025.1.1.0.dist-info/METADATA,sha256=WQ9IUA2vUXVWIuBaZD8nNYWYY2OJNWdKfMuCKmy40-M,1096
24
- robotpy_cscore-2025.1.1.0.dist-info/WHEEL,sha256=y4n9_669c4ZQLyT56MHjc_JUbnwtaZfMVMycweN557o,102
25
- robotpy_cscore-2025.1.1.0.dist-info/entry_points.txt,sha256=ZOi1FKkpTmx8xBqUtdp6Z4IzoCKfwDOKJoVDAF9qjhE,38
26
- robotpy_cscore-2025.1.1.0.dist-info/top_level.txt,sha256=yKRnfRQe07G2XO6XXYgsj9CN2obAQX3D3gsGvcewpVw,7
27
- robotpy_cscore-2025.1.1.0.dist-info/RECORD,,
22
+ robotpy_cscore-2025.2.1.1.dist-info/LICENSE,sha256=eday0nHMlO9Rc7a6n0ONgNEe6N20r5xNWivVL5n-fN4,3138
23
+ robotpy_cscore-2025.2.1.1.dist-info/METADATA,sha256=B7rJiXIwDbU7Z7sj2Qhs2Ox6Gl6lFi9npVvaHriGr-s,1096
24
+ robotpy_cscore-2025.2.1.1.dist-info/WHEEL,sha256=y4n9_669c4ZQLyT56MHjc_JUbnwtaZfMVMycweN557o,102
25
+ robotpy_cscore-2025.2.1.1.dist-info/entry_points.txt,sha256=ZOi1FKkpTmx8xBqUtdp6Z4IzoCKfwDOKJoVDAF9qjhE,38
26
+ robotpy_cscore-2025.2.1.1.dist-info/top_level.txt,sha256=yKRnfRQe07G2XO6XXYgsj9CN2obAQX3D3gsGvcewpVw,7
27
+ robotpy_cscore-2025.2.1.1.dist-info/RECORD,,