Get the latest tech news
RebrickNet – Lego Part Detector
Rebrickable - Build with LEGO
This makes labelling very easy, provides a better quality source image for training, but requires more submissions to get the same quantity as a video. However, it requires significant processing prior to training, and the final result is not as high quality as a photo of multiple parts taken together. Simply grab a bunch (~ 10 to 20) of a single part type and place them on a flat surface.
Or read this on Hacker News