mirror of
https://github.com/PhotonVision/photonvision
synced 2026-06-23 01:21:40 +00:00
[WIP] Polygon and Circle Detection (#100)
* Created FindPolygonPipe and DetectPolygonPipeline * Return CVShape based off approxDP * Added fromSides method to ContourShape * Use enums * Use harris detector * Switch back to approxpolydp * Added colourshape pipeline * Added pipeline test * Finsihed triangle/quad/custom polygon detection * Circle detection * Revert "Circle detection" This reverts commit f6b2fe785d69b16ca1466a13073dce72a0d54570. * Added shape drawings to draw2dcontourspipe * Added circledetection pipe params * apply spotless * Added colourtoscalar outside of loop * Added powercell testing images from ML library * Powercell tracking works * Added gradle to gitnore * Added solvepnp to circles * Reordered pipes and pipe params * Fixed tests * Apply spotless * chmod gradlew * gradle wrapper * Removed commits from gradle * Fix typo in ColoredShapePipeline * Apply Spotless Co-authored-by: Banks Troutman <btrout.dhrs@gmail.com>
This commit is contained in:
@@ -115,7 +115,13 @@ public class BenchmarkTest {
|
||||
var frameProps = frameProvider.get().frameStaticProperties;
|
||||
|
||||
// begin benchmark
|
||||
System.out.println("Beginning " + secondsToRun + " second benchmark at resolution " + frameProps.imageWidth + "x" + frameProps.imageHeight);
|
||||
System.out.println(
|
||||
"Beginning "
|
||||
+ secondsToRun
|
||||
+ " second benchmark at resolution "
|
||||
+ frameProps.imageWidth
|
||||
+ "x"
|
||||
+ frameProps.imageHeight);
|
||||
var benchmarkStartMillis = System.currentTimeMillis();
|
||||
do {
|
||||
CVPipelineResult pipelineResult = pipeline.run(frameProvider.get());
|
||||
|
||||
Reference in New Issue
Block a user