by Jamie Starling | Jun 15, 2022 | The Art of Technology
What is an image histogram – it is a profile of the occurrences of each gray level present in an image. In the visual example below – we are using a bar graph to visualize it. It starts at 0 and goes to 255, each vertical bar represents the number of times...
by Jamie Starling | Jan 26, 2022 | The Art of Technology
This Python function will read and text file and return the contents. #usage yourContentHolder = return_text_file_content(path to text file) def return_text_file_content(file): encoding_format = “utf-8″ textDataFile = open(file,...
by Jamie Starling | Jan 14, 2022 | The Art of Technology
This is a Python Code Snippet that will return a list of files based on extension from a directory including full path. #Usage yourlist = return_file_list_by_ext(“directory”,”.ext”) def return_file_list_by_ext(directory,ext): import os...
by Jamie Starling | Jan 13, 2022 | The Art of Technology
I have been working with computers and other technologies going on 35 years now… I get a kick out of automating stuff. If you want to do more with less – or not have to worry about the boring stuff. Or even if you are not doing the time sucking task – but...