Closed ocharles closed 6 years ago
Well spotted! I completely agree with the much more readable version you propose.
Btw, the entire JuicyPixels encoding <-> decoding is extremely slow. It needs a complete rewrite.
It's actually good enough for what I'm doing, so no need to worry about that. Just needs to avoid blowing up with an out of bounds exception :smile:
Find this little beaut of a bug in the JuicyPixels -> OpenCV code:
Can you spot it?
How about if I rewrite the list building:
Whoops! We've accidentally transposed
x
andy
! The correct loop should be: