I noticed that when I was in rails console (or irb) and did an imread on a medium sized photos, the CPU would just spinning. This is happening because matrices are displayed in the matlab format (which I love). Good for small matrices, bad for big ones. Perhaps just display the object when the matrix is of a certain size.
In the meantime, there is an easy work around by suffixing the command with nil:
img = cv::imread(my_path); nil
I noticed that when I was in rails console (or irb) and did an imread on a medium sized photos, the CPU would just spinning. This is happening because matrices are displayed in the matlab format (which I love). Good for small matrices, bad for big ones. Perhaps just display the object when the matrix is of a certain size.
In the meantime, there is an easy work around by suffixing the command with nil:
img = cv::imread(my_path); nil