Skip to content

Commit

Permalink
require params in multitarget
Browse files Browse the repository at this point in the history
  • Loading branch information
amquake committed Oct 31, 2023
1 parent 76e3c6d commit 763eb95
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public class MultiTargetPNPPipe

@Override
protected MultiTargetPNPResults process(List<TrackedTarget> targetList) {
if (params.cameraCoefficients == null
if (params == null || params.cameraCoefficients == null
|| params.cameraCoefficients.getCameraIntrinsicsMat() == null
|| params.cameraCoefficients.getDistCoeffsMat() == null) {
if (!hasWarned) {
Expand Down

0 comments on commit 763eb95

Please sign in to comment.