Advancing Precision and Autonomy in Agriculture and Medical Imaging through AI and Computer Visions