Forum

Author Topic: detect markers  (Read 2198 times)

togne

  • Newbie
  • *
  • Posts: 4
    • View Profile
detect markers
« on: June 10, 2019, 07:55:44 PM »
Hello,
I am looking to detect markers by script with a list of cameras defined. metashape always sends me back this error
ListCamVOL102 being the list of cameras
ch.detectMarkers (type = Metashape.CircularTarget14bit, ListCamVOL102)
  File "<ipython-input-34-0d0c3fcd90ae>", line 1
    ch.detectMarkers (type = Metashape.CircularTarget14bit, ListCamVOL102)
                                                                                                           ^
SyntaxError: positional argument follows

Thanks for your help
togne

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14854
    • View Profile
Re: detect markers
« Reply #1 on: June 10, 2019, 08:29:38 PM »
Hello togne,

According to the error message I would suggest to specify the argument name for the second argument:
Code: [Select]
ch.detectMarkers (type = Metashape.CircularTarget14bit, cameras = ListCamVOL102)
Best regards,
Alexey Pasumansky,
Agisoft LLC