If \([\,\cdot\,]\) represents the greatest integer function, then the value of \( \left|\displaystyle \int_{0}^{\sqrt{\pi/2}}\!\big[[x^{2}] - \cos x\big]\,dx \right| \) is __________.