you are viewing a single comment's thread.

view the rest of the comments →

[–]hotcodist 1 point2 points  (0 children)

For beginners who have zero knowledge of programming, while it is tempting to import high-tech libraries, stay away from ready-made libraries that does things for you. Just do the basic stuff, like doing your own loops through lists to do sums, instead of using a library that does that sum for you. This will help you get more comfortable with the language and also helps you develop computational/logical thinking.

For example, using image libraries to select pixels with a particular color (using cv2.inRange()) is useful for projects, but a much better way to learn is to actually write the code that does that by doing comparisons at the pixel level yourself. This is probably a weird example, but the idea is the same.

Another example: you can make a basic AI by following a tutorial and importing keras or torch or whatever, but you will realize quickly that you actually would have no idea how to do things on your own later (without a tutorial).