-
Notifications
You must be signed in to change notification settings - Fork 205
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Static cropping #1610
base: main
Are you sure you want to change the base?
Static cropping #1610
Conversation
What's the difference between this and 1602? |
Co-authored-by: Craig Schardt <[email protected]>
Idk why but the other branch broke for me for some reason, this one has all of the necessary functionalities, After this will go mainstream I will research about dynamic cropping |
Were comments from #1602 addressed? |
You can close this one 1610 is more relevant |
Sure. did you address our review comments from 1602? |
yes I just ditched this part with the dynamic cropping mechanism and will put more effort to it after we make the static cropping work, I will start from zero without breaking the project |
Before I review the changes, did you address the other comments as well? |
The |
photon-core/src/main/java/org/photonvision/vision/pipeline/AprilTagPipeline.java
Outdated
Show resolved
Hide resolved
photon-core/src/main/java/org/photonvision/vision/pipeline/AprilTagPipeline.java
Outdated
Show resolved
Hide resolved
photon-core/src/main/java/org/photonvision/vision/pipeline/AprilTagPipeline.java
Outdated
Show resolved
Hide resolved
added an UncropApriltagsPipe which creates new AprilTagDetection with the new offsets. Added width and height of settings to cropping pipe instead of max integer
photon-core/src/main/java/org/photonvision/vision/pipe/impl/DrawRectanglePipe.java
Outdated
Show resolved
Hide resolved
photon-core/src/main/java/org/photonvision/vision/pipe/impl/CropPipe.java
Show resolved
Hide resolved
photon-core/src/main/java/org/photonvision/vision/pipeline/ArucoPipeline.java
Outdated
Show resolved
Hide resolved
When a pipeline is cropped, switching to driver mode and then back causes the crop window to shrink to minimum settings (0,0,16,16). The crop pipe needs to remember its settings when toggling driver mode. |
fixed the offset problem with the tags