I want to detect NPK with the help of optical sensor. please suggest sensor solution

hii frends i m intrested to do a detection of realtime soil nutrients from the soil i.e. npk so please suggest Sensor that can help me out