The perimeter of the triangle \(\triangle ABC\) is \(10\). Let \(D,E,F\) be the midpoints of the segments \(AB,BC,AC\) respectively. What is the perimeter of \(\triangle DEF\)?