Neuroglycerin / neukrill-net-tools

Tools coded as part of the NDSB competition.
MIT License
0 stars 0 forks source link

Keypoint detector test function #91

Open scottclowe opened 9 years ago

scottclowe commented 9 years ago

We need a function which tests a keypoint detector by trying it on all the data (train and test) and checking it finds an appropriate number of keypoints for all of them.

scottclowe commented 9 years ago

For the implementation, use neukrill_net.utils.Settings(settings.json) and load images with neukrill_net.utils.load_rawdata. and loop until an image is no good. (See train_bow.py in work repo for example of how to load data with this function.)

Alternatively, we could write a processing wrapper function which is applied to each image on load and returns True or False for each image. That would probably be better. Although it wouldn't be able to halt at the first False.