miguelriemoliveira / OptimizationUtils

A set of utilities for using the python scipy optimizer functions
GNU General Public License v3.0
6 stars 0 forks source link

Read only some cameras #23

Closed miguelriemoliveira closed 5 years ago

miguelriemoliveira commented 5 years ago

Hi @tiagomfmadeira ,

in the case you want to filter out some cameras you should add an if here.

The advantage is that you only read the cameras you want, only compute vertices for these, etc etc.

https://github.com/miguelriemoliveira/OCDatasetLoader/blob/ea54479355e2b09eb6c652b9b211d10150fdc0b2/OCDatasetLoader/OCDatasetLoader.py#L294

        for image_file in image_files[::image_skip]:
            camera_name = image_file[-7:-4]

            #and so on ...
miguelriemoliveira commented 5 years ago

Please close if you don't need any further explanation on this topic...

tiagomfmadeira commented 5 years ago

Very well! I understand!