Skip to content

Allow partial observations and remove dependence on OpenCV Mat types#28

Open
thatcomputerguy0101 wants to merge 1 commit into
PhotonVision:mainfrom
thatcomputerguy0101:partial-observations
Open

Allow partial observations and remove dependence on OpenCV Mat types#28
thatcomputerguy0101 wants to merge 1 commit into
PhotonVision:mainfrom
thatcomputerguy0101:partial-observations

Conversation

@thatcomputerguy0101

@thatcomputerguy0101 thatcomputerguy0101 commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

Part of my refactor to improve the handling of OpenCV's Mats in PhotonVision/photonvision#2511, this pushes the responsibility for conversion to arrays onto the caller so that this library doesn't have to deal with Mats. Also, this takes on the responsibility of skipping unobserved points, allowing the observation mats to be immutable. By accepting an iterator here, the amount of data loaded into memory at once can be reduced for highly repetitive data like levels.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant