Schools, museums turn to AI to detect guns but tech suffers notable fails