<html>
  <head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body>
<div><br></div><div><br></div><div><br></div><div>Oct 17, 2021, 23:33 by minh@nguyen.cincinnati.oh.us:<br></div><blockquote class="tutanota_quote" style="border-left: 1px solid #93A3B8; padding-left: 10px; margin-left: 5px;"><div>Vào lúc 09:52 2021-10-17, Mateusz Konieczny via Tagging đã viết:<br></div><blockquote><div><br></div><div><br></div><div><br></div><div>Oct 17, 2021, 18:11 by tagging@openstreetmap.org:<br></div><div><br></div><div> You can't expect a few of the few mappers interested in opening<br></div><div> hours not to map what's on the sign if it's 20:00-05:00. Especially<br></div><div> those training AI bots.<br></div><div> I've never written a parser myself, but is it so hard to accommodate<br></div><div> both ways?<br></div><div> Regards,<br></div><div> Yves<br></div><div><br></div><div>1) noone will be trying to train some pattern-recognition (often called AI buzzword),<br></div><div>that is a terrible choice where parsers work well<br></div></blockquote><div><br></div><div>Go Map!! does use the iPhone camera and Apple's Vision framework to suggest the appropriate opening_hours value. [1] However, all Vision gives Go Map!! is the signposted text it detected as an unstructured string; it's up to Go Map!! to parse it into something machine-readable. As far as I can tell, Go Map!! requires the sign to be in proper 12- or 24-hour format, but it doesn't specifically reformat opening hours that extend past midnight.<br></div><div><br></div><div>[1] https://lists.openstreetmap.org/pipermail/talk/2021-April/086505.html<br></div><div>[2] https://github.com/bryceco/GoMap/blob/11a3f66bd9b326f7a4a1075daf81021d639092a4/src/iOS/OpeningHours/HoursRecognizer.swift#L368-L408<br></div></blockquote><div dir="auto">That makes far more sense - I thought that it would be about doing it<br></div><div dir="auto">on opposite direction: turning opening_hours tag into a structured opening hours data<br></div><div dir="auto">using "AI"<br></div><div dir="auto"><br></div><div dir="auto">Turning image of opening hours sign into text, that into structured opening hours and<br></div><div dir="auto">asking user for confirmation makes far more sense and I should thought about it.<br></div>  </body>
</html>