Development of automatic rice checker for measuring moisture content and milling yield