Quadtree-Compression
Quadtree-Compression copied to clipboard
Image compression program using quadtrees in python.
 for this particular image i get a zero division error while calculating the average color. ``` Cell In[25], [line 99](vscode-notebook-cell:?execution_count=25&line=99) [96](vscode-notebook-cell:?execution_count=25&line=96) root.split_quadrant(image) [98](vscode-notebook-cell:?execution_count=25&line=98) for children in root.children: ---> [99](vscode-notebook-cell:?execution_count=25&line=99)...
Your code is working just as you have described it. However, I was looking to perform quadtree-compression on the objects present in an image. So let's say if an image...