how to programming dsp

Hello, i have a beagleboard rev. C3. I'm using it for my thesis
project. i wrote a face recognition and tracking program with opencv.
But it works slowly on begaleboard. So, i have decided use dsp.but i'm
newbie at dsp. i want to take your advices. i must write the program
with Code composer studio on Windows and move it to beagleboard or
write it on beagleboard directly.