@@ -61,7 +61,7 @@ PYBIND11_MODULE(PyTurboNeRF, m) {
61
61
62
62
m.doc () = " TurboNeRF Python Bindings" ;
63
63
m.attr (" __version__" ) = " 0.0.19" ;
64
- m.attr (" __build__" ) = 0 ;
64
+ m.attr (" __build__" ) = 1 ;
65
65
66
66
/* *
67
67
* Global functions
@@ -205,6 +205,16 @@ PYBIND11_MODULE(PyTurboNeRF, m) {
205
205
.def (py::self != py::self)
206
206
;
207
207
208
+ py::class_<TrainingImage>(m, " TrainingImage" )
209
+ .def (
210
+ py::init<const string&, const int2 &>(),
211
+ py::arg (" file_path" ),
212
+ py::arg (" dimensions" )
213
+ )
214
+ .def_readonly (" file_path" , &TrainingImage::file_path)
215
+ .def_readonly (" dimensions" , &TrainingImage::dimensions)
216
+ ;
217
+
208
218
py::class_<Dataset>(m, " Dataset" )
209
219
.def (
210
220
py::init<const string&>(),
@@ -222,6 +232,7 @@ PYBIND11_MODULE(PyTurboNeRF, m) {
222
232
.def_readwrite (" file_path" , &Dataset::file_path)
223
233
.def_readwrite (" cameras" , &Dataset::cameras)
224
234
.def_readwrite (" bounding_box" , &Dataset::bounding_box)
235
+ .def_readonly (" images" , &Dataset::images)
225
236
.def_readonly (" image_dimensions" , &Dataset::image_dimensions)
226
237
.def_readonly (" contains_multiple_image_dims" , &Dataset::contains_multiple_image_dims)
227
238
;
0 commit comments