It really depends on what you consider a border. If you can define what you consider a border then you could probably detect it with some code. This won't be easy if what you consider a border sometimes is part of the image.
↧