Skip to content

Commit

Permalink
[photon-core] Check for multitarget params (#988)
Browse files Browse the repository at this point in the history
* require params in multitarget

* format
  • Loading branch information
amquake authored Oct 31, 2023
1 parent 76e3c6d commit 363e1d8
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ 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 363e1d8

Please sign in to comment.