Skip to content

Commit

Permalink
make script work in ubuntu 20
Browse files Browse the repository at this point in the history
  • Loading branch information
marinagmoreira committed Mar 18, 2024
1 parent c59bcc4 commit f9a2bbb
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions localization/sparse_mapping/tools/generate_hugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,10 +144,8 @@ def main():
srcImage.setFilename(img)
p.addImage(srcImage)

# make a c++ std::ofstream to write to
ofs = ofstream(output_hugin)
# write the modified panorama to that stream
p.writeData(ofs)
p.WritePTOFile(output_hugin)
# done with it
del ofs

Expand Down

0 comments on commit f9a2bbb

Please sign in to comment.