<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD v1.2 20190208//EN" "http://jats.nlm.nih.gov/publishing/1.2/JATS-journalpublishing1.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" article-type="methods-article" dtd-version="1.2" xml:lang="en">
    <front>
        <journal-meta>
            <journal-id journal-id-type="pmc">F1000Research</journal-id>
            <journal-title-group>
                <journal-title>F1000Research</journal-title>
            </journal-title-group>
            <issn pub-type="epub">2046-1402</issn>
            <publisher>
                <publisher-name>F1000 Research Limited</publisher-name>
                <publisher-loc>London, UK</publisher-loc>
            </publisher>
        </journal-meta>
        <article-meta>
            <article-id pub-id-type="doi">10.12688/f1000research.72897.2</article-id>
            <article-categories>
                <subj-group subj-group-type="heading">
                    <subject>Method Article</subject>
                </subj-group>
                <subj-group>
                    <subject>Articles</subject>
                </subj-group>
            </article-categories>
            <title-group>
                <article-title>A visual approach towards forward collision warning for autonomous vehicles on Malaysian public roads</article-title>
                <fn-group content-type="pub-status">
                    <fn>
                        <p>[version 2; peer review: 2 approved]</p>
                    </fn>
                </fn-group>
            </title-group>
            <contrib-group>
                <contrib contrib-type="author" corresp="no">
                    <name>
                        <surname>Wong</surname>
                        <given-names>Man Kiat</given-names>
                    </name>
                    <role content-type="http://credit.niso.org/">Data Curation</role>
                    <role content-type="http://credit.niso.org/">Formal Analysis</role>
                    <role content-type="http://credit.niso.org/">Investigation</role>
                    <role content-type="http://credit.niso.org/">Methodology</role>
                    <role content-type="http://credit.niso.org/">Validation</role>
                    <role content-type="http://credit.niso.org/">Writing &#x2013; Original Draft Preparation</role>
                    <xref ref-type="aff" rid="a1">1</xref>
                </contrib>
                <contrib contrib-type="author" corresp="yes">
                    <name>
                        <surname>Connie</surname>
                        <given-names>Tee</given-names>
                    </name>
                    <role content-type="http://credit.niso.org/">Conceptualization</role>
                    <role content-type="http://credit.niso.org/">Project Administration</role>
                    <role content-type="http://credit.niso.org/">Supervision</role>
                    <role content-type="http://credit.niso.org/">Writing &#x2013; Review &amp; Editing</role>
                    <uri content-type="orcid">https://orcid.org/0000-0002-0901-3831</uri>
                    <xref ref-type="corresp" rid="c1">a</xref>
                    <xref ref-type="aff" rid="a1">1</xref>
                </contrib>
                <contrib contrib-type="author" corresp="no">
                    <name>
                        <surname>Goh</surname>
                        <given-names>Michael Kah Ong</given-names>
                    </name>
                    <role content-type="http://credit.niso.org/">Investigation</role>
                    <role content-type="http://credit.niso.org/">Resources</role>
                    <role content-type="http://credit.niso.org/">Validation</role>
                    <role content-type="http://credit.niso.org/">Visualization</role>
                    <role content-type="http://credit.niso.org/">Writing &#x2013; Review &amp; Editing</role>
                    <uri content-type="orcid">https://orcid.org/0000-0002-9217-6390</uri>
                    <xref ref-type="aff" rid="a1">1</xref>
                </contrib>
                <contrib contrib-type="author" corresp="no">
                    <name>
                        <surname>Wong</surname>
                        <given-names>Li Pei</given-names>
                    </name>
                    <role content-type="http://credit.niso.org/">Formal Analysis</role>
                    <role content-type="http://credit.niso.org/">Validation</role>
                    <role content-type="http://credit.niso.org/">Visualization</role>
                    <role content-type="http://credit.niso.org/">Writing &#x2013; Review &amp; Editing</role>
                    <xref ref-type="aff" rid="a2">2</xref>
                </contrib>
                <contrib contrib-type="author" corresp="no">
                    <name>
                        <surname>Teh</surname>
                        <given-names>Pin Shen</given-names>
                    </name>
                    <role content-type="http://credit.niso.org/">Methodology</role>
                    <role content-type="http://credit.niso.org/">Validation</role>
                    <role content-type="http://credit.niso.org/">Visualization</role>
                    <role content-type="http://credit.niso.org/">Writing &#x2013; Review &amp; Editing</role>
                    <xref ref-type="aff" rid="a3">3</xref>
                </contrib>
                <contrib contrib-type="author" corresp="no">
                    <name>
                        <surname>Choo</surname>
                        <given-names>Ai Ling</given-names>
                    </name>
                    <role content-type="http://credit.niso.org/">Validation</role>
                    <role content-type="http://credit.niso.org/">Writing &#x2013; Review &amp; Editing</role>
                    <xref ref-type="aff" rid="a4">4</xref>
                </contrib>
                <aff id="a1">
                    <label>1</label>Faculty of Information Science and Technology, Multimedia University, Melaka, Melaka, 75450, Malaysia</aff>
                <aff id="a2">
                    <label>2</label>School of Computer Sciences, Universiti Sains Malaysia, Penang, Penang, 11800, Malaysia</aff>
                <aff id="a3">
                    <label>3</label>Department of Operations, Technology, Events and Hospitality Management, Faculty of Business and Law, Manchester Metropolitan University, Manchester, Manchester, M15 6BH, UK</aff>
                <aff id="a4">
                    <label>4</label>iRadar Sdn. Bhd., Melaka, Melaka, 75450, Malaysia</aff>
            </contrib-group>
            <author-notes>
                <corresp id="c1">
                    <label>a</label>
                    <email xlink:href="mailto:tee.connie@mmu.edu.my">tee.connie@mmu.edu.my</email>
                </corresp>
                <fn fn-type="conflict">
                    <p>No competing interests were disclosed.</p>
                </fn>
            </author-notes>
            <pub-date pub-type="epub">
                <day>7</day>
                <month>3</month>
                <year>2022</year>
            </pub-date>
            <pub-date pub-type="collection">
                <year>2021</year>
            </pub-date>
            <volume>10</volume>
            <elocation-id>928</elocation-id>
            <history>
                <date date-type="accepted">
                    <day>1</day>
                    <month>3</month>
                    <year>2022</year>
                </date>
            </history>
            <permissions>
                <copyright-statement>Copyright: &#x00a9; 2022 Wong MK et al.</copyright-statement>
                <copyright-year>2022</copyright-year>
                <license xlink:href="https://creativecommons.org/licenses/by/4.0/">
                    <license-p>This is an open access article distributed under the terms of the Creative Commons Attribution Licence, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.</license-p>
                </license>
            </permissions>
            <self-uri content-type="pdf" xlink:href="https://f1000research.com/articles/10-928/pdf"/>
            <abstract>
                <p>
                    <bold>Background:</bold> Autonomous vehicles are important in smart transportation. Although exciting progress has been made, it remains challenging to design a safety mechanism for autonomous vehicles despite uncertainties and obstacles that occur dynamically on the road. Collision detection and avoidance are indispensable for a reliable decision-making module in autonomous driving.</p>
                <p>
                    <bold>Methods: </bold>This study presents a robust approach for forward collision warning using vision data for autonomous vehicles on Malaysian public roads. The proposed architecture combines environment perception and lane localization to define a safe driving region for the ego vehicle. If potential risks are detected in the safe driving region, a warning will be triggered. The early warning is important to help avoid rear-end collision. Besides, an adaptive lane localization method that considers geometrical structure of the road is presented to deal with different road types.</p>
                <p>
                    <bold>Results:</bold> Precision scores of mean average precision (mAP) 0.5, mAP 0.95 and recall of 0.14, 0.06979 and 0.6356 were found in this study.</p>
                <p>
                    <bold>Conclusions: </bold>Experimental results have validated the effectiveness of the proposed approach under different lighting and environmental conditions.</p>
            </abstract>
            <kwd-group kwd-group-type="author">
                <kwd>Object recognition</kwd>
                <kwd>Forward Collision Warning</kwd>
                <kwd>Lane detection</kwd>
                <kwd>Autonomous vehicles</kwd>
                <kwd>Computer Vision</kwd>
            </kwd-group>
            <funding-group>
                <funding-statement>The author(s) declared that no grants were involved in supporting this work.</funding-statement>
            </funding-group>
        </article-meta>
        <notes>
            <sec sec-type="version-changes">
                <label>Revised</label>
                <title>Amendments from Version 1</title>
                <p>Following are the changes made to the article: 1) The grammatical mistakes have been updated. 2) The motivation of the work has been added in the Abstract. 3) Reference to an earlier work by Grinberg and Wiseman (2007) has been added. 4) The flowchart of the whole process has been added in the article</p>
            </sec>
        </notes>
    </front>
    <body>
        <sec id="sec1" sec-type="intro">
            <title>Introduction</title>
            <p>Road traffic accidents are one of the major causes of death in the world. According to a study by the World Health Organization, approximately 1.35 million people die each year due to road traffic injuries.
                <sup>
                    <xref ref-type="bibr" rid="ref1">1</xref>
                </sup> In fact, road traffic injuries have become the fifth leading cause of death worldwide. Along this line, the autonomous vehicle has shown to be one of the promising technologies to reduce traffic crashes, especially those caused by human error.
                <sup>
                    <xref ref-type="bibr" rid="ref2">2</xref>
                </sup>
            </p>
            <p>Autonomous vehicles, or sometimes called advanced driver-assistance systems, are inventions that aim to improve a vehicle&#x2019;s safety.
                <sup>
                    <xref ref-type="bibr" rid="ref3">3</xref>
                </sup> An autonomous vehicle is capable of operating without human control, and decisions can be made independently by the intelligent control system.</p>
            <p>The development of autonomous vehicles is still faced with a number of challenges due to the complex and dynamic driving environment. In this paper, a vision-based forward collision warning method is presented. The proposed method monitors the roadway ahead and issues a warning alert when a risk for collision is detected in a predefined driving region. The proposed forward collision warning architecture is made up of two components: (1) Environment perception, and (2) Lane localization. The environment perception module is used to observe the surrounding of the ego vehicle based on visual input. The lane detection component is responsible to track the reference lane markers ahead of the vehicle. Then a safe driving region is determined by integrating the output of the two modules. If an obstacle is detected in the safe driving region, a warning will be triggered. The proposed approach avoids rear-end collisions by issuing early warnings.</p>
            <p>The contributions of this paper are twofold: first, a robust forward collision warning architecture that combines environment perception and lane localization techniques are introduced. Second, an adaptive sliding window approach is proposed to detect potential lane markers on different road conditions. The proposed approach checks the confidence level of the road sign markers in each window and adaptively spawns new neighboring windows to cope with lane lines that deviates from the norm.</p>
        </sec>
        <sec id="sec2" sec-type="methods">
            <title>Methods</title>
            <sec id="sec3">
                <title>Ethics statement</title>
                <p>This work has been approved by MMU Research Ethics Committee (Approval number: EA1432021).</p>
            </sec>
            <sec id="sec4">
                <title>Environment perception</title>
                <p>In this paper, the YOLO v5 architecture
                    <sup>
                        <xref ref-type="bibr" rid="ref3">3</xref>
                    </sup> is adopted to detect vehicles and other objects around the ego vehicle. YOLOv5 is selected due to its appealing real-time performance. An early collision detection model based on bounding volume hierarchies was presented.
                    <sup>
                        <xref ref-type="bibr" rid="ref4">4</xref>
                    </sup> Later on, many bounding box-based methods have been introduced. Different from the previous approaches that rely on geometrical analysis of the objects in the scene, this paper proposes a data-driven approach. In YOLOv5, the mosaic data augmentation strategy employed in its architecture greatly improves the accuracy and robustness of object detection.
                    <sup>
                        <xref ref-type="bibr" rid="ref3">3</xref>
                    </sup> Most importantly, YOLOv5 is lightweight in size and is very fast, making it suitable for a real-time application like autonomous driving.</p>
            </sec>
            <sec id="sec5">
                <title>Lane localization</title>
                <p>Segmenting lane markers from the image is crucial in lane detection. Different combinations of gradients and perceptual spaces are explored to differentiate lane markers from the road surface.</p>
                <p>
                    <italic toggle="yes">Color-based feature extraction</italic>
                </p>
                <p>Both the RGB (red, green, blue) color space and HLS (hue, saturation, lightness) color space are investigated. The RGB color space is a common model to represent the three primary colors. The HLS color space, on the other hand, constitutes components that are more closely aligned to human perception.
                    <sup>
                        <xref ref-type="bibr" rid="ref5">5</xref>
                    </sup> Let 
                    <italic toggle="yes">R</italic>, 
                    <italic toggle="yes">G</italic> and 
                    <italic toggle="yes">B</italic> represent the red, green and blue components in a road surface image, the transformation to the HSL model can be achieved by,
                    <sup>
                        <xref ref-type="bibr" rid="ref5">5</xref>
                    </sup>
                    <disp-formula id="e1">
                        <mml:math display="block">
                            <mml:mi>H</mml:mi>
                            <mml:mo>=</mml:mo>
                            <mml:mo>arctan</mml:mo>
                            <mml:mfenced close=")" open="(">
                                <mml:mfrac>
                                    <mml:mrow>
                                        <mml:msqrt>
                                            <mml:mn>3</mml:mn>
                                        </mml:msqrt>
                                        <mml:mfenced close=")" open="(">
                                            <mml:mrow>
                                                <mml:mi>G</mml:mi>
                                                <mml:mo>&#x2212;</mml:mo>
                                                <mml:mi>B</mml:mi>
                                            </mml:mrow>
                                        </mml:mfenced>
                                    </mml:mrow>
                                    <mml:mrow>
                                        <mml:mfenced close=")" open="(">
                                            <mml:mrow>
                                                <mml:mi>R</mml:mi>
                                                <mml:mo>&#x2212;</mml:mo>
                                                <mml:mi>G</mml:mi>
                                            </mml:mrow>
                                        </mml:mfenced>
                                        <mml:mo>+</mml:mo>
                                        <mml:mfenced close=")" open="(">
                                            <mml:mrow>
                                                <mml:mi>R</mml:mi>
                                                <mml:mo>&#x2212;</mml:mo>
                                                <mml:mi>B</mml:mi>
                                            </mml:mrow>
                                        </mml:mfenced>
                                    </mml:mrow>
                                </mml:mfrac>
                            </mml:mfenced>
                        </mml:math>
                        <label>(2)</label>
                    </disp-formula>
                    <disp-formula id="e2">
                        <mml:math display="block">
                            <mml:mi>L</mml:mi>
                            <mml:mo>=</mml:mo>
                            <mml:mfrac>
                                <mml:mfenced close=")" open="(">
                                    <mml:mrow>
                                        <mml:mi>R</mml:mi>
                                        <mml:mo>+</mml:mo>
                                        <mml:mi>G</mml:mi>
                                        <mml:mo>+</mml:mo>
                                        <mml:mi>B</mml:mi>
                                    </mml:mrow>
                                </mml:mfenced>
                                <mml:mn>3</mml:mn>
                            </mml:mfrac>
                        </mml:math>
                        <label>(3)</label>
                    </disp-formula>
                    <disp-formula id="e3">
                        <mml:math display="block">
                            <mml:mi>S</mml:mi>
                            <mml:mo>=</mml:mo>
                            <mml:mn>1</mml:mn>
                            <mml:mo>&#x2212;</mml:mo>
                            <mml:mfrac>
                                <mml:mrow>
                                    <mml:mo>min</mml:mo>
                                    <mml:mfenced close=")" open="(" separators=",,">
                                        <mml:mi>R</mml:mi>
                                        <mml:mi>G</mml:mi>
                                        <mml:mi>B</mml:mi>
                                    </mml:mfenced>
                                </mml:mrow>
                                <mml:mi>L</mml:mi>
                            </mml:mfrac>
                        </mml:math>
                        <label>(4)</label>
                    </disp-formula>
                </p>
                <p>A pixel in the image is considered the region containing the lane markers if it exceeds some threshold values for each respective color component. 
                    <xref ref-type="fig" rid="f1">Figure 1</xref> depicts some sample threshold regions for the different color dimensions. The Otsu thresholding technique
                    <sup>
                        <xref ref-type="bibr" rid="ref6">6</xref>
                    </sup> is applied. It can be observed that the three primary color components, 
                    <italic toggle="yes">R</italic>, 
                    <italic toggle="yes">G</italic> and 
                    <italic toggle="yes">B</italic>, as well as the lightness attribute, 
                    <italic toggle="yes">L</italic>, are able to highlight the lane markers in the image.</p>
                <fig fig-type="figure" id="f1" orientation="portrait" position="float">
                    <label>Figure 1. </label>
                    <caption>
                        <p>(a) Original image; (b)-(d) Thresholded regions from 
                            <italic toggle="yes">R</italic>, 
                            <italic toggle="yes">G</italic> and 
                            <italic toggle="yes">B</italic> components; (e)-(g) Thresholded regions from 
                            <italic toggle="yes">H</italic>, 
                            <italic toggle="yes">L</italic> and 
                            <italic toggle="yes">S</italic> components.</p>
                    </caption>
                    <graphic id="gr1" orientation="portrait" position="float" xlink:href="https://f1000research-files.f1000.com/manuscripts/121778/5e5109af-038d-4abf-bb01-5b5aad8d5d35_figure1.gif"/>
                </fig>
                <p>
                    <italic toggle="yes">Gradient-based feature extraction</italic>
                </p>
                <p>The Sobel gradient operator
                    <sup>
                        <xref ref-type="bibr" rid="ref7">7</xref>
                    </sup> is used to approximate the image gradient with respect to the horizontal and vertical directions. Given a grayscale version of a road surface image 
                    <italic toggle="yes">M</italic>, the gradient of the image in the horizontal, 
                    <inline-formula>
                        <mml:math display="inline">
                            <mml:msub>
                                <mml:mi>M</mml:mi>
                                <mml:mi>h</mml:mi>
                            </mml:msub>
                        </mml:math>
                    </inline-formula>, and vertical directions, 
                    <inline-formula>
                        <mml:math display="inline">
                            <mml:msub>
                                <mml:mi>M</mml:mi>
                                <mml:mi>v</mml:mi>
                            </mml:msub>
                        </mml:math>
                    </inline-formula>, are computed as,
                    <disp-formula id="e4">
                        <mml:math display="block">
                            <mml:msub>
                                <mml:mi>M</mml:mi>
                                <mml:mi>h</mml:mi>
                            </mml:msub>
                            <mml:mo>=</mml:mo>
                            <mml:mfenced close="]" open="[">
                                <mml:mtable>
                                    <mml:mtr>
                                        <mml:mtd>
                                            <mml:mo>&#x2212;</mml:mo>
                                            <mml:mn>1</mml:mn>
                                        </mml:mtd>
                                        <mml:mtd>
                                            <mml:mo>&#x2212;</mml:mo>
                                            <mml:mn>2</mml:mn>
                                        </mml:mtd>
                                        <mml:mtd>
                                            <mml:mo>&#x2212;</mml:mo>
                                            <mml:mn>1</mml:mn>
                                        </mml:mtd>
                                    </mml:mtr>
                                    <mml:mtr>
                                        <mml:mtd>
                                            <mml:mn>0</mml:mn>
                                        </mml:mtd>
                                        <mml:mtd>
                                            <mml:mn>0</mml:mn>
                                        </mml:mtd>
                                        <mml:mtd>
                                            <mml:mn>0</mml:mn>
                                        </mml:mtd>
                                    </mml:mtr>
                                    <mml:mtr>
                                        <mml:mtd>
                                            <mml:mn>1</mml:mn>
                                        </mml:mtd>
                                        <mml:mtd>
                                            <mml:mn>2</mml:mn>
                                        </mml:mtd>
                                        <mml:mtd>
                                            <mml:mn>1</mml:mn>
                                        </mml:mtd>
                                    </mml:mtr>
                                </mml:mtable>
                            </mml:mfenced>
                            <mml:mo>,</mml:mo>
                            <mml:mspace width="0.5em"/>
                            <mml:msub>
                                <mml:mi>M</mml:mi>
                                <mml:mi>v</mml:mi>
                            </mml:msub>
                            <mml:mo>=</mml:mo>
                            <mml:mfenced close="]" open="[">
                                <mml:mtable>
                                    <mml:mtr>
                                        <mml:mtd>
                                            <mml:mo>&#x2212;</mml:mo>
                                            <mml:mn>1</mml:mn>
                                        </mml:mtd>
                                        <mml:mtd>
                                            <mml:mn>0</mml:mn>
                                        </mml:mtd>
                                        <mml:mtd>
                                            <mml:mn>1</mml:mn>
                                        </mml:mtd>
                                    </mml:mtr>
                                    <mml:mtr>
                                        <mml:mtd>
                                            <mml:mo>&#x2212;</mml:mo>
                                            <mml:mn>2</mml:mn>
                                        </mml:mtd>
                                        <mml:mtd>
                                            <mml:mn>0</mml:mn>
                                        </mml:mtd>
                                        <mml:mtd>
                                            <mml:mn>2</mml:mn>
                                        </mml:mtd>
                                    </mml:mtr>
                                    <mml:mtr>
                                        <mml:mtd>
                                            <mml:mo>&#x2212;</mml:mo>
                                            <mml:mn>1</mml:mn>
                                        </mml:mtd>
                                        <mml:mtd>
                                            <mml:mn>0</mml:mn>
                                        </mml:mtd>
                                        <mml:mtd>
                                            <mml:mn>1</mml:mn>
                                        </mml:mtd>
                                    </mml:mtr>
                                </mml:mtable>
                            </mml:mfenced>
                        </mml:math>
                        <label>(5)</label>
                    </disp-formula>
                </p>
                <p>The gradient magnitude is found by,
                    <disp-formula id="e5">
                        <mml:math display="block">
                            <mml:mfenced close="&#x2016;" open="&#x2016;">
                                <mml:mi>M</mml:mi>
                            </mml:mfenced>
                            <mml:mo>=</mml:mo>
                            <mml:msqrt>
                                <mml:mrow>
                                    <mml:msubsup>
                                        <mml:mi>M</mml:mi>
                                        <mml:mi>h</mml:mi>
                                        <mml:mn>2</mml:mn>
                                    </mml:msubsup>
                                    <mml:mo>+</mml:mo>
                                    <mml:msubsup>
                                        <mml:mi>M</mml:mi>
                                        <mml:mi>v</mml:mi>
                                        <mml:mn>2</mml:mn>
                                    </mml:msubsup>
                                </mml:mrow>
                            </mml:msqrt>
                        </mml:math>
                        <label>(6)</label>
                    </disp-formula>
                </p>
                <p>A pixel in 
                    <inline-formula>
                        <mml:math display="inline">
                            <mml:mfenced close="&#x2016;" open="&#x2016;">
                                <mml:mi>M</mml:mi>
                            </mml:mfenced>
                        </mml:math>
                    </inline-formula> is considered a candidate for the lane markers if 
                    <inline-formula>
                        <mml:math display="inline">
                            <mml:mfenced close="&#x2016;" open="&#x2016;">
                                <mml:mi>M</mml:mi>
                            </mml:mfenced>
                            <mml:mo>&#x2265;</mml:mo>
                            <mml:mi>T</mml:mi>
                        </mml:math>
                    </inline-formula> for some threshold value 
                    <italic toggle="yes">T.</italic> In this study, Otsu thresholding is used to find 
                    <italic toggle="yes">T.</italic> Some sample threshold results for 
                    <inline-formula>
                        <mml:math display="inline">
                            <mml:msub>
                                <mml:mi>M</mml:mi>
                                <mml:mi>h</mml:mi>
                            </mml:msub>
                        </mml:math>
                    </inline-formula>, 
                    <inline-formula>
                        <mml:math display="inline">
                            <mml:msub>
                                <mml:mi>M</mml:mi>
                                <mml:mi>v</mml:mi>
                            </mml:msub>
                        </mml:math>
                    </inline-formula>, and 
                    <inline-formula>
                        <mml:math display="inline">
                            <mml:mfenced close="&#x2016;" open="&#x2016;">
                                <mml:mi>M</mml:mi>
                            </mml:mfenced>
                        </mml:math>
                    </inline-formula> are shown in 
                    <xref ref-type="fig" rid="f2">Figure 2</xref>.</p>
                <fig fig-type="figure" id="f2" orientation="portrait" position="float">
                    <label>Figure 2. </label>
                    <caption>
                        <p>(a) Original image, (b), (c) and (d) Threshold results for 
                            <italic toggle="yes">M
                                <sub>h</sub>
                            </italic>, 
                            <italic toggle="yes">M
                                <sub>v</sub>
                            </italic> and &#x2016;
                            <italic toggle="yes">M</italic>&#x2016;.</p>
                    </caption>
                    <graphic id="gr2" orientation="portrait" position="float" xlink:href="https://f1000research-files.f1000.com/manuscripts/121778/5e5109af-038d-4abf-bb01-5b5aad8d5d35_figure2.gif"/>
                </fig>
                <p>
                    <italic toggle="yes">Features fusion</italic>
                </p>
                <p>Five features are selected to form the final representation, 
                    <italic toggle="yes">F</italic>, for the lane markers image. The selected features are 
                    <inline-formula>
                        <mml:math display="inline">
                            <mml:msub>
                                <mml:mi>M</mml:mi>
                                <mml:mi>h</mml:mi>
                            </mml:msub>
                        </mml:math>
                    </inline-formula>, 
                    <inline-formula>
                        <mml:math display="inline">
                            <mml:msub>
                                <mml:mi>M</mml:mi>
                                <mml:mi>v</mml:mi>
                            </mml:msub>
                        </mml:math>
                    </inline-formula>, 
                    <inline-formula>
                        <mml:math display="inline">
                            <mml:mfenced close="&#x2016;" open="&#x2016;">
                                <mml:mi>M</mml:mi>
                            </mml:mfenced>
                        </mml:math>
                    </inline-formula>, 
                    <italic toggle="yes">L</italic> and 
                    <italic toggle="yes">G.</italic> It is obvious that the lane markers can be highlighted with the gradient features. So all the gradient features are selected. The lighting component, 
                    <italic toggle="yes">L</italic>, is effective against illumination changes so this feature is also chosen. As the road markers can be distinguished well in all of the color dimensions, the 
                    <italic toggle="yes">G</italic> component is empirically selected. The color- and gradient-based features are then fused to form, 
                    <italic toggle="yes">F</italic>, using majority voting as,
                    <disp-formula id="e6">
                        <mml:math display="block">
                            <mml:mi>r</mml:mi>
                            <mml:mfenced close=")" open="(" separators=",">
                                <mml:mi>x</mml:mi>
                                <mml:mi>y</mml:mi>
                            </mml:mfenced>
                            <mml:mo>=</mml:mo>
                            <mml:mtext>mode</mml:mtext>
                            <mml:mfenced close="}" open="{" separators=",,,,">
                                <mml:mrow>
                                    <mml:msub>
                                        <mml:mi>M</mml:mi>
                                        <mml:mi>h</mml:mi>
                                    </mml:msub>
                                    <mml:mfenced close=")" open="(" separators=",">
                                        <mml:mi>x</mml:mi>
                                        <mml:mi>y</mml:mi>
                                    </mml:mfenced>
                                </mml:mrow>
                                <mml:mrow>
                                    <mml:msub>
                                        <mml:mi>M</mml:mi>
                                        <mml:mi>v</mml:mi>
                                    </mml:msub>
                                    <mml:mfenced close=")" open="(" separators=",">
                                        <mml:mi>x</mml:mi>
                                        <mml:mi>y</mml:mi>
                                    </mml:mfenced>
                                </mml:mrow>
                                <mml:mrow>
                                    <mml:mfenced close="&#x2016;" open="&#x2016;">
                                        <mml:mi>M</mml:mi>
                                    </mml:mfenced>
                                    <mml:mfenced close=")" open="(" separators=",">
                                        <mml:mi>x</mml:mi>
                                        <mml:mi>y</mml:mi>
                                    </mml:mfenced>
                                </mml:mrow>
                                <mml:mrow>
                                    <mml:mi>G</mml:mi>
                                    <mml:mfenced close=")" open="(" separators=",">
                                        <mml:mi>x</mml:mi>
                                        <mml:mi>y</mml:mi>
                                    </mml:mfenced>
                                </mml:mrow>
                                <mml:mrow>
                                    <mml:mi>L</mml:mi>
                                    <mml:mfenced close=")" open="(" separators=",">
                                        <mml:mi>x</mml:mi>
                                        <mml:mi>y</mml:mi>
                                    </mml:mfenced>
                                </mml:mrow>
                            </mml:mfenced>
                        </mml:math>
                        <label>(7)</label>
                    </disp-formula>
                    <disp-formula id="e7">
                        <mml:math display="block">
                            <mml:mi>F</mml:mi>
                            <mml:mfenced close=")" open="(" separators=",">
                                <mml:mi>x</mml:mi>
                                <mml:mi>y</mml:mi>
                            </mml:mfenced>
                            <mml:mo>=</mml:mo>
                            <mml:mfenced close="" open="{">
                                <mml:mtable>
                                    <mml:mtr>
                                        <mml:mtd>
                                            <mml:mn>1</mml:mn>
                                            <mml:mo>,</mml:mo>
                                        </mml:mtd>
                                        <mml:mtd>
                                            <mml:mtext mathvariant="italic">if</mml:mtext>
                                            <mml:mspace width="0.25em"/>
                                            <mml:mi>r</mml:mi>
                                            <mml:mfenced close=")" open="(" separators=",">
                                                <mml:mi>x</mml:mi>
                                                <mml:mi>y</mml:mi>
                                            </mml:mfenced>
                                            <mml:mo>=</mml:mo>
                                            <mml:mn>1</mml:mn>
                                        </mml:mtd>
                                    </mml:mtr>
                                    <mml:mtr>
                                        <mml:mtd>
                                            <mml:mn>0</mml:mn>
                                            <mml:mo>,</mml:mo>
                                        </mml:mtd>
                                        <mml:mtd>
                                            <mml:mtext mathvariant="italic">otherwise</mml:mtext>
                                            <mml:mspace width="1.5em"/>
                                        </mml:mtd>
                                    </mml:mtr>
                                </mml:mtable>
                            </mml:mfenced>
                        </mml:math>
                        <label>(8)</label>
                    </disp-formula>
                </p>
                <p>where 
                    <italic toggle="yes">x</italic> and 
                    <italic toggle="yes">y</italic> represent the coordinate of the individual pixel in the image and 
                    <inline-formula>
                        <mml:math display="inline">
                            <mml:mi>r</mml:mi>
                        </mml:math>
                    </inline-formula> signifies the most frequently occurring values based on the mode function. The final output, 
                    <inline-formula>
                        <mml:math display="inline">
                            <mml:mi>F</mml:mi>
                        </mml:math>
                    </inline-formula>, is illustrated in 
                    <xref ref-type="fig" rid="f3">Figure 3</xref>. We observe that the line markers can be shown clearly on the road surface.</p>
                <fig fig-type="figure" id="f3" orientation="portrait" position="float">
                    <label>Figure 3. </label>
                    <caption>
                        <p>Final output, 
                            <italic toggle="yes">F.</italic>
                        </p>
                    </caption>
                    <graphic id="gr3" orientation="portrait" position="float" xlink:href="https://f1000research-files.f1000.com/manuscripts/121778/5e5109af-038d-4abf-bb01-5b5aad8d5d35_figure3.gif"/>
                </fig>
                <p>
                    <italic toggle="yes">Perspective transformation</italic>
                </p>
                <p>Due to the perspective of a camera mounted on the central region of the ego vehicle&#x2019;s dashboard when capturing the front view, the lane line segments seem to converge to a point known as the vanishing point problem
                    <sup>
                        <xref ref-type="bibr" rid="ref8">8</xref>
                    </sup> (
                    <xref ref-type="fig" rid="f4">Figure 4</xref>). Perspective transformation is applied to transform the oblique angle into a birds-eye view.</p>
                <fig fig-type="figure" id="f4" orientation="portrait" position="float">
                    <label>Figure 4. </label>
                    <caption>
                        <p>Perspective transformation, (a) Source image in oblique view, (b) Warped result into birds-eye view.</p>
                    </caption>
                    <graphic id="gr4" orientation="portrait" position="float" xlink:href="https://f1000research-files.f1000.com/manuscripts/121778/5e5109af-038d-4abf-bb01-5b5aad8d5d35_figure4.gif"/>
                </fig>
                <p>The trapezoidal region in 
                    <xref ref-type="fig" rid="f4">Figure 4a</xref> is selected to establish the world of coordinate system for the transformation. 
                    <xref ref-type="fig" rid="f4">Figure 4b</xref> illustrates the result after warping the oblique view to aerial view using perspective transformation.</p>
                <p>
                    <italic toggle="yes">Sliding window</italic>
                </p>
                <p>A sliding window approach is applied to detect the lane markers. In 
                    <xref ref-type="fig" rid="f4">Figure 4b</xref>, the lane markers appear pretty straight after perspective transformation. We accumulate the pixel values in the vertical direction to detect possible lane marker locations in the image. Locations with the highest number of pixels signifies potential lane markers positions. The histogram for the bottom part of 
                    <xref ref-type="fig" rid="f4">Figure 4(b)</xref> is presented in 
                    <xref ref-type="fig" rid="f5">Figure 5</xref>.</p>
                <fig fig-type="figure" id="f5" orientation="portrait" position="float">
                    <label>Figure 5. </label>
                    <caption>
                        <p>Detecting potential lane markers&#x2019; locations based on histogram peaks.</p>
                    </caption>
                    <graphic id="gr5" orientation="portrait" position="float" xlink:href="https://f1000research-files.f1000.com/manuscripts/121778/5e5109af-038d-4abf-bb01-5b5aad8d5d35_figure5.gif"/>
                </fig>
                <p>The peak values locations in the histogram determine the positions to form the initial windows at the bottom of the image (refer 
                    <xref ref-type="fig" rid="f6">Figure 6</xref>). The windows locations are determined by the mean of the non-zero pixel values in the windows. Based on these initial windows, another window is drawn as the next sliding window, based on the mean points of the initial windows. The same process is repeated to slide the windows vertically through the image.</p>
                <fig fig-type="figure" id="f6" orientation="portrait" position="float">
                    <label>Figure 6. </label>
                    <caption>
                        <p>Detecting potential lane markers&#x2019; location based on histogram peak.</p>
                    </caption>
                    <graphic id="gr6" orientation="portrait" position="float" xlink:href="https://f1000research-files.f1000.com/manuscripts/121778/5e5109af-038d-4abf-bb01-5b5aad8d5d35_figure6.gif"/>
                </fig>
                <p>The sliding window approach helps to estimate the center of the lane area which is used to approximate lane line curve. However, the algorithm will sometimes lose sight of the lane markers due to broken lines or sharp turning of the road.</p>
                <p>Therefore, we introduce an adaptive sliding window approach that keeps track of the &#x201c;strength&#x201d; of the line markers by checking the number of pixels in a window. The confidence level of the line pixels must exceed a minimum threshold value to qualify the existence of a line. If there is not enough evidence to show the existence of a line in the current window, three exploratory windows will be spawned, i.e. top, left and right, to check the existence of lines in the neighboring regions (refer to the three red windows in 
                    <xref ref-type="fig" rid="f7">Figure 7</xref>).</p>
                <fig fig-type="figure" id="f7" orientation="portrait" position="float">
                    <label>Figure 7. </label>
                    <caption>
                        <p>Exploratory windows for non-points regions found on sharp turning.</p>
                    </caption>
                    <graphic id="gr7" orientation="portrait" position="float" xlink:href="https://f1000research-files.f1000.com/manuscripts/121778/5e5109af-038d-4abf-bb01-5b5aad8d5d35_figure7.gif"/>
                </fig>
                <p>The points found using the mean values in the sliding windows are used as the control points to approximate the lane line curvature. The third-degree polynomial model
                    <sup>
                        <xref ref-type="bibr" rid="ref8">8</xref>
                    </sup> is used to fit the points on the sliding window as it has simple parameters and has a lower computational cost. 
                    <xref ref-type="fig" rid="f8">Figure 8(a)</xref> shows the lane line fitted by the polynomial curve. The fitted region is filled with blue color to highlight the lane region as illustrated in 
                    <xref ref-type="fig" rid="f8">Figure 8(b)</xref>. 
                    <xref ref-type="fig" rid="f9">Figure 9</xref> depicts the filled lane region that has been warped back to the original perspective view.</p>
                <fig fig-type="figure" id="f8" orientation="portrait" position="float">
                    <label>Figure 8. </label>
                    <caption>
                        <p>(a) Lane line fitted by polynomial curve, (b) Filled polynomial region.</p>
                    </caption>
                    <graphic id="gr8" orientation="portrait" position="float" xlink:href="https://f1000research-files.f1000.com/manuscripts/121778/5e5109af-038d-4abf-bb01-5b5aad8d5d35_figure8.gif"/>
                </fig>
                <fig fig-type="figure" id="f9" orientation="portrait" position="float">
                    <label>Figure 9. </label>
                    <caption>
                        <p>Lane region mapped back to original image.</p>
                    </caption>
                    <graphic id="gr9" orientation="portrait" position="float" xlink:href="https://f1000research-files.f1000.com/manuscripts/121778/5e5109af-038d-4abf-bb01-5b5aad8d5d35_figure9.gif"/>
                </fig>
            </sec>
            <sec id="sec6">
                <title>Forward collision warning</title>
                <p>
                    <italic toggle="yes">Obstacle detection</italic>
                </p>
                <p>The output of the YOLO algorithm is a tuple containing 5 outputs, 
                    <inline-formula>
                        <mml:math display="inline">
                            <mml:mfenced close=")" open="(" separators=",,,,">
                                <mml:mi>l</mml:mi>
                                <mml:mi>bx</mml:mi>
                                <mml:mi>by</mml:mi>
                                <mml:mi>bw</mml:mi>
                                <mml:mi>bh</mml:mi>
                            </mml:mfenced>
                        </mml:math>
                    </inline-formula>, where 
                    <inline-formula>
                        <mml:math display="inline">
                            <mml:mi>l</mml:mi>
                        </mml:math>
                    </inline-formula> represents the predicted class label, 
                    <inline-formula>
                        <mml:math display="inline">
                            <mml:mi>bx</mml:mi>
                        </mml:math>
                    </inline-formula>, 
                    <inline-formula>
                        <mml:math display="inline">
                            <mml:mi>by</mml:mi>
                        </mml:math>
                    </inline-formula>, 
                    <inline-formula>
                        <mml:math display="inline">
                            <mml:mi>bw</mml:mi>
                        </mml:math>
                    </inline-formula> and 
                    <inline-formula>
                        <mml:math display="inline">
                            <mml:mi>bh</mml:mi>
                        </mml:math>
                    </inline-formula> denote the 
                    <inline-formula>
                        <mml:math display="inline">
                            <mml:mi>x</mml:mi>
                        </mml:math>
                    </inline-formula> and 
                    <inline-formula>
                        <mml:math display="inline">
                            <mml:mi>y</mml:mi>
                        </mml:math>
                    </inline-formula> coordinates and also width and height of the bounding box, respectively. Assume the width and height of the original image are given by 
                    <italic toggle="yes">w</italic> and 
                    <italic toggle="yes">h</italic>, the location of an object/obstacle detected on the road can be found by,
                    <disp-formula id="e8">
                        <mml:math display="block">
                            <mml:msub>
                                <mml:mi>x</mml:mi>
                                <mml:mtext mathvariant="italic">center</mml:mtext>
                            </mml:msub>
                            <mml:mo>=</mml:mo>
                            <mml:mi>bx</mml:mi>
                            <mml:mo>&#x2217;</mml:mo>
                            <mml:mi>w</mml:mi>
                        </mml:math>
                        <label>(10)</label>
                    </disp-formula>
                    <disp-formula id="e9">
                        <mml:math display="block">
                            <mml:msub>
                                <mml:mi>y</mml:mi>
                                <mml:mtext mathvariant="italic">center</mml:mtext>
                            </mml:msub>
                            <mml:mo>=</mml:mo>
                            <mml:mi>by</mml:mi>
                            <mml:mo>&#x2217;</mml:mo>
                            <mml:mi>h</mml:mi>
                        </mml:math>
                        <label>(11)</label>
                    </disp-formula>
                    <disp-formula id="e10">
                        <mml:math display="block">
                            <mml:mtext mathvariant="italic">width</mml:mtext>
                            <mml:mo>=</mml:mo>
                            <mml:mi>bw</mml:mi>
                            <mml:mo>&#x2217;</mml:mo>
                            <mml:mi>w</mml:mi>
                        </mml:math>
                        <label>(12)</label>
                    </disp-formula>
                    <disp-formula id="e11">
                        <mml:math display="block">
                            <mml:mtext mathvariant="italic">height</mml:mtext>
                            <mml:mo>=</mml:mo>
                            <mml:mi>bh</mml:mi>
                            <mml:mo>&#x2217;</mml:mo>
                            <mml:mi>h</mml:mi>
                        </mml:math>
                        <label>(13)</label>
                    </disp-formula>
                    <disp-formula id="e12">
                        <mml:math display="block">
                            <mml:msub>
                                <mml:mi>x</mml:mi>
                                <mml:mtext mathvariant="italic">left</mml:mtext>
                            </mml:msub>
                            <mml:mo>=</mml:mo>
                            <mml:mfrac>
                                <mml:mfenced close=")" open="(">
                                    <mml:mrow>
                                        <mml:mi>bx</mml:mi>
                                        <mml:mo>&#x2212;</mml:mo>
                                        <mml:mi>bw</mml:mi>
                                    </mml:mrow>
                                </mml:mfenced>
                                <mml:mn>2</mml:mn>
                            </mml:mfrac>
                            <mml:mo>&#x00d7;</mml:mo>
                            <mml:mi>w</mml:mi>
                        </mml:math>
                        <label>(14)</label>
                    </disp-formula>
                    <disp-formula id="e13">
                        <mml:math display="block">
                            <mml:msub>
                                <mml:mi>y</mml:mi>
                                <mml:mi mathvariant="italic">top</mml:mi>
                            </mml:msub>
                            <mml:mo>=</mml:mo>
                            <mml:mfrac>
                                <mml:mfenced close=")" open="(">
                                    <mml:mrow>
                                        <mml:mi>by</mml:mi>
                                        <mml:mo>&#x2212;</mml:mo>
                                        <mml:mi>bh</mml:mi>
                                    </mml:mrow>
                                </mml:mfenced>
                                <mml:mn>2</mml:mn>
                            </mml:mfrac>
                            <mml:mo>&#x00d7;</mml:mo>
                            <mml:mi>h</mml:mi>
                        </mml:math>
                        <label>(15)</label>
                    </disp-formula>
                </p>
                <p>where 
                    <inline-formula>
                        <mml:math display="inline">
                            <mml:msub>
                                <mml:mi>x</mml:mi>
                                <mml:mtext mathvariant="italic">center</mml:mtext>
                            </mml:msub>
                        </mml:math>
                    </inline-formula>, 
                    <inline-formula>
                        <mml:math display="inline">
                            <mml:msub>
                                <mml:mi>y</mml:mi>
                                <mml:mtext mathvariant="italic">center</mml:mtext>
                            </mml:msub>
                        </mml:math>
                    </inline-formula>, 
                    <inline-formula>
                        <mml:math display="inline">
                            <mml:mtext mathvariant="italic">width</mml:mtext>
                        </mml:math>
                    </inline-formula>, 
                    <inline-formula>
                        <mml:math display="inline">
                            <mml:mtext mathvariant="italic">height</mml:mtext>
                        </mml:math>
                    </inline-formula>, 
                    <inline-formula>
                        <mml:math display="inline">
                            <mml:msub>
                                <mml:mi>x</mml:mi>
                                <mml:mtext mathvariant="italic">left</mml:mtext>
                            </mml:msub>
                        </mml:math>
                    </inline-formula>, and 
                    <inline-formula>
                        <mml:math display="inline">
                            <mml:msub>
                                <mml:mi>y</mml:mi>
                                <mml:mi mathvariant="italic">top</mml:mi>
                            </mml:msub>
                        </mml:math>
                    </inline-formula> are values to calculate the actual bounding box location. Hence, the bounding region of the obstacle detected by YOLO when translated to the image plane, 
                    <italic toggle="yes">B</italic>&#x2019;, can be calculated by
                    <inline-formula>
                        <mml:math display="inline">
                            <mml:mfenced close="]" open="[" separators=",,,">
                                <mml:mfenced close=")" open="(" separators=",">
                                    <mml:mrow>
                                        <mml:msub>
                                            <mml:mi>x</mml:mi>
                                            <mml:mtext mathvariant="italic">left</mml:mtext>
                                        </mml:msub>
                                        <mml:mo>+</mml:mo>
                                        <mml:mtext mathvariant="italic">width</mml:mtext>
                                    </mml:mrow>
                                    <mml:msub>
                                        <mml:mi>y</mml:mi>
                                        <mml:mi mathvariant="italic">top</mml:mi>
                                    </mml:msub>
                                </mml:mfenced>
                                <mml:mrow>
                                    <mml:mspace width="0.5em"/>
                                    <mml:mfenced close=")" open="(" separators=",">
                                        <mml:msub>
                                            <mml:mi>x</mml:mi>
                                            <mml:mtext mathvariant="italic">left</mml:mtext>
                                        </mml:msub>
                                        <mml:msub>
                                            <mml:mi>y</mml:mi>
                                            <mml:mi mathvariant="italic">top</mml:mi>
                                        </mml:msub>
                                    </mml:mfenced>
                                </mml:mrow>
                                <mml:mrow>
                                    <mml:mspace width="0.5em"/>
                                    <mml:mfenced close=")" open="(" separators=",">
                                        <mml:msub>
                                            <mml:mi>x</mml:mi>
                                            <mml:mtext mathvariant="italic">left</mml:mtext>
                                        </mml:msub>
                                        <mml:mrow>
                                            <mml:msub>
                                                <mml:mi>y</mml:mi>
                                                <mml:mi mathvariant="italic">top</mml:mi>
                                            </mml:msub>
                                            <mml:mo>+</mml:mo>
                                            <mml:mtext mathvariant="italic">heigh</mml:mtext>
                                        </mml:mrow>
                                    </mml:mfenced>
                                </mml:mrow>
                                <mml:mrow>
                                    <mml:mspace width="0.5em"/>
                                    <mml:mfenced close=")" open="(" separators=",">
                                        <mml:mrow>
                                            <mml:msub>
                                                <mml:mi>x</mml:mi>
                                                <mml:mtext mathvariant="italic">left</mml:mtext>
                                            </mml:msub>
                                            <mml:mo>+</mml:mo>
                                            <mml:mtext mathvariant="italic">width</mml:mtext>
                                        </mml:mrow>
                                        <mml:mrow>
                                            <mml:msub>
                                                <mml:mi>y</mml:mi>
                                                <mml:mi mathvariant="italic">top</mml:mi>
                                            </mml:msub>
                                            <mml:mo>+</mml:mo>
                                            <mml:mtext mathvariant="italic">height</mml:mtext>
                                        </mml:mrow>
                                    </mml:mfenced>
                                </mml:mrow>
                            </mml:mfenced>
                        </mml:math>
                    </inline-formula>.</p>
                <p>
                    <italic toggle="yes">Warning issuance</italic>
                </p>
                <p>Given the drivable area, 
                    <italic toggle="yes">D</italic>, defined by the polynomial line fit shown in 
                    <xref ref-type="fig" rid="f9">Figure 9</xref>, a forward collision warning will be issued if,
                    <disp-formula id="e14">
                        <mml:math display="block">
                            <mml:mtext mathvariant="italic">warning</mml:mtext>
                            <mml:mo>=</mml:mo>
                            <mml:mfenced close="" open="{">
                                <mml:mtable>
                                    <mml:mtr>
                                        <mml:mtd>
                                            <mml:mn>1</mml:mn>
                                        </mml:mtd>
                                        <mml:mtd>
                                            <mml:mi>D</mml:mi>
                                            <mml:mo>&#x2229;</mml:mo>
                                            <mml:msup>
                                                <mml:mi>B</mml:mi>
                                                <mml:mo>&#x2032;</mml:mo>
                                            </mml:msup>
                                            <mml:mo>=</mml:mo>
                                            <mml:mn>0</mml:mn>
                                        </mml:mtd>
                                    </mml:mtr>
                                    <mml:mtr>
                                        <mml:mtd>
                                            <mml:mn>0</mml:mn>
                                        </mml:mtd>
                                        <mml:mtd>
                                            <mml:mtext>otherwise</mml:mtext>
                                        </mml:mtd>
                                    </mml:mtr>
                                </mml:mtable>
                            </mml:mfenced>
                        </mml:math>
                        <label>(16)</label>
                    </disp-formula>
                </p>
                <p>where 
                    <inline-formula>
                        <mml:math display="inline">
                            <mml:msup>
                                <mml:mi>B</mml:mi>
                                <mml:mo>&#x2032;</mml:mo>
                            </mml:msup>
                        </mml:math>
                    </inline-formula> refers to the bounding box region for the detected obstacle on the ego lane. 
                    <xref ref-type="fig" rid="f10">Figure 10</xref> displays the safe drivable area (on the left) and an obstacle superimposed on the drivable area (on the right). A warning will be issued in the case when the obstacle is detected on the ego lane drivable area. Some samples of the proposed method are presented in 
                    <xref ref-type="fig" rid="f11">Figure 11</xref>.</p>
                <fig fig-type="figure" id="f10" orientation="portrait" position="float">
                    <label>Figure 10. </label>
                    <caption>
                        <p>Forward collision warning.</p>
                    </caption>
                    <graphic id="gr10" orientation="portrait" position="float" xlink:href="https://f1000research-files.f1000.com/manuscripts/121778/5e5109af-038d-4abf-bb01-5b5aad8d5d35_figure10.gif"/>
                </fig>
                <fig fig-type="figure" id="f11" orientation="portrait" position="float">
                    <label>Figure 11. </label>
                    <caption>
                        <p>Samples for forward collision warning system.</p>
                    </caption>
                    <graphic id="gr11" orientation="portrait" position="float" xlink:href="https://f1000research-files.f1000.com/manuscripts/121778/5e5109af-038d-4abf-bb01-5b5aad8d5d35_figure11.gif"/>
                </fig>
                <p>The flowchart showing the whole processes, from object detection, lane localization and forward collision warning is presented in 
                    <xref ref-type="fig" rid="f12">Figure 12</xref>.</p>
                <fig fig-type="figure" id="f12" orientation="portrait" position="float">
                    <label>Figure 12. </label>
                    <caption>
                        <p>Flowchart of the proposed method.</p>
                    </caption>
                    <graphic id="gr12" orientation="portrait" position="float" xlink:href="https://f1000research-files.f1000.com/manuscripts/121778/5e5109af-038d-4abf-bb01-5b5aad8d5d35_figure12.gif"/>
                </fig>
            </sec>
            <sec id="sec7">
                <title>Experimental setup and evaluation metrics</title>
                <p>All the experiments were conducted on 
                    <ext-link ext-link-type="uri" xlink:href="https://research.google.com/colaboratory/">Google Colab</ext-link> with a 1 &#x00d7; Tesla K80 GPU having 2496 CUDA cores, 12GB GDDR5 VRAM, a CPU with a single core hyper threaded Xeon Processors @2.3Ghz (i.e. 1 core, 2 threads), 12.6 GB of RAM and 33 GB of disk.</p>
                <p>In this paper, the evaluation metrics used include precision, recall and mean average precision.
                    <sup>
                        <xref ref-type="bibr" rid="ref9">9</xref>
                    </sup> The source code used for the analysis can be found in the 
                    <italic toggle="yes">Software availability</italic>.
                    <sup>
                        <xref ref-type="bibr" rid="ref10">10</xref>
                    </sup>
                </p>
            </sec>
            <sec id="sec8">
                <title>Datasets</title>
                <p>The Roboflow Self Driving Car dataset,
                    <sup>
                        <xref ref-type="bibr" rid="ref11">11</xref>
                    </sup> a modified version of Udacity Self Driving Car Dataset,
                    <sup>
                        <xref ref-type="bibr" rid="ref12">12</xref>
                    </sup> is used to train the YOLO model. The dataset contains 97,942 labels across 11 classes and 15,000 images. All the images are down-sampled to 512 &#x00d7; 512 pixels. The annotations have been hand-checked for accuracy. The dataset is split into training set (70%), testing set (20%) and validation set (10%).</p>
                <p>The videos/images used to assess the effectiveness of the proposed forward collision warning approach were collected by the authors manually on Malaysian public roads and can be found as 
                    <italic toggle="yes">Extended data</italic>.
                    <sup>
                        <xref ref-type="bibr" rid="ref13">13</xref>
                    </sup> A Complementary Metal Oxide Semiconductor (CMOS) camera in a smartphone was used to capture the videos/images of the roads. The camera was placed at the centre of the car&#x2019;s dashboard using a phone holder. The camera recorded the frontal view of the car while the vehicle moved along the road. The data were recorded on two road types: (1) normal road (i.e. federal roads), and (2) highways. The data were captured during different times of the day, e.g. morning and night. All the images are resized to 512 &#x00d7; 512 pixels.</p>
            </sec>
        </sec>
        <sec id="sec9" sec-type="results">
            <title>Results</title>
            <sec id="sec10">
                <title>Performance for object detection results</title>
                <p>The performance for object detection was evaluated using different combinations of hyperparameters. Different image sizes were tested, ranging from 64 &#x00d7; 64, 288 &#x00d7; 288 to 512 &#x00d7; 512. Two optimizers namely stochastic gradient descent (SGD) and ADAM optimizer were assessed. The batch sizes are searched in the range {16, 32, 64}.</p>
                <p>
                    <xref ref-type="table" rid="T1">Table 1</xref> presents the performance metrics for the different hyperparameters combinations.
                    <sup>
                        <xref ref-type="bibr" rid="ref13">13</xref>
                    </sup> In the table, mAP 0.5 and mAP 0.95 refer to the mean average over intersection over union (IoU) thresholds of 0.5 and 0.95, respectively. We observe that the SGD optimizer with 64 batch size of 512 &#x00d7; 512 input size yields the highest mAP 0.5, mAP 0.95 and recall. The highest precision score is achieved by the SGD optimizer with 16 batch size on 512 &#x00d7; 512 input size.</p>
                <table-wrap id="T1" orientation="portrait" position="anchor">
                    <label>Table 1. </label>
                    <caption>
                        <title>Performance matrix for different hyperparameters. mAP 0.5 and mAP 0.95 refer to the mean average over IoU thresholds of 0.5 and 0.95, respectively.</title>
                    </caption>
                    <table content-type="article-table" frame="hsides">
                        <thead>
                            <tr>
                                <th align="left" colspan="1" rowspan="1" valign="top">Model</th>
                                <th align="left" colspan="1" rowspan="1" valign="top">mAP 0.5</th>
                                <th align="left" colspan="1" rowspan="1" valign="top">mAP 0.95</th>
                                <th align="left" colspan="1" rowspan="1" valign="top">Precision</th>
                                <th align="left" colspan="1" rowspan="1" valign="top">Recall</th>
                            </tr>
                        </thead>
                        <tbody>
                            <tr>
                                <td align="left" colspan="1" rowspan="1" valign="top">64_ADAM_16</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">0.007049</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">0.002032</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">0.01368</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">0.03901</td>
                            </tr>
                            <tr>
                                <td align="left" colspan="1" rowspan="1" valign="top">64_ADAM_32</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">0.006256</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">0.001722</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">0.03511</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">0.03816</td>
                            </tr>
                            <tr>
                                <td align="left" colspan="1" rowspan="1" valign="top">64_ADAM_64</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">0.006088</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">0.001853</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">0.008441</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">0.03395</td>
                            </tr>
                            <tr>
                                <td align="left" colspan="1" rowspan="1" valign="top">64_SGD_16</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">0.007992</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">0.002626</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">0.01144</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">0.0415</td>
                            </tr>
                            <tr>
                                <td align="left" colspan="1" rowspan="1" valign="top">64_SGD_32</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">0.007436</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">0.002381</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">0.005875</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">0.04152</td>
                            </tr>
                            <tr>
                                <td align="left" colspan="1" rowspan="1" valign="top">64_SGD_64</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">0.008219</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">0.002733</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">0.0167</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">0.04576</td>
                            </tr>
                            <tr>
                                <td align="left" colspan="1" rowspan="1" valign="top">288_ADAM_16</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">0.007049</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">0.002032</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">0.01368</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">0.03901</td>
                            </tr>
                            <tr>
                                <td align="left" colspan="1" rowspan="1" valign="top">288_ADAM_32</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">0.006256</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">0.001722</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">0.03511</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">0.03816</td>
                            </tr>
                            <tr>
                                <td align="left" colspan="1" rowspan="1" valign="top">288_ADAM_64</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">0.006088</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">0.001853</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">0.008441</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">0.03395</td>
                            </tr>
                            <tr>
                                <td align="left" colspan="1" rowspan="1" valign="top">288_SGD_16</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">0.007992</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">0.002626</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">0.01144</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">0.0415</td>
                            </tr>
                            <tr>
                                <td align="left" colspan="1" rowspan="1" valign="top">288_SGD_32</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">0.007436</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">0.002381</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">0.005875</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">0.04152</td>
                            </tr>
                            <tr>
                                <td align="left" colspan="1" rowspan="1" valign="top">288_SGD_64</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">0.008219</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">0.002733</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">0.0167</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">0.04576</td>
                            </tr>
                            <tr>
                                <td align="left" colspan="1" rowspan="1" valign="top">512_ADAM_16</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">0.08725</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">0.03765</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">0.07352</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">0.4887</td>
                            </tr>
                            <tr>
                                <td align="left" colspan="1" rowspan="1" valign="top">512_ADAM_32</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">0.08895</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">0.03865</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">0.07661</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">0.4759</td>
                            </tr>
                            <tr>
                                <td align="left" colspan="1" rowspan="1" valign="top">512_ADAM_64</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">0.08164</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">0.0361</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">0.07044</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">0.4458</td>
                            </tr>
                            <tr>
                                <td align="left" colspan="1" rowspan="1" valign="top">512_SGD_16</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">0.1388</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">0.06909</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">0.1014</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">0.6332</td>
                            </tr>
                            <tr>
                                <td align="left" colspan="1" rowspan="1" valign="top">512_SGD_32</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">0.1369</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">0.06931</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">0.1034</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">0.6351</td>
                            </tr>
                            <tr>
                                <td align="left" colspan="1" rowspan="1" valign="top">512_SGD_64</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">0.14</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">0.06979</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">0.1028</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">0.6356</td>
                            </tr>
                        </tbody>
                    </table>
                </table-wrap>
                <p>Overall, the model with SGD optimizer of batch size 64 on 512 &#x00d7; 512 image size yields favorable performance. We name this model car_model_v1. The performance metric after running car_model_v1 for 100 epochs is depicted in 
                    <xref ref-type="fig" rid="f13">Figure 13</xref>. Visualization of the prediction results for some randomly chosen samples are shown in 
                    <xref ref-type="fig" rid="f14">Figure 14</xref>. The prediction results demonstrate that the model is able to detect the objects satisfactorily.</p>
                <fig fig-type="figure" id="f13" orientation="portrait" position="float">
                    <label>Figure 13. </label>
                    <caption>
                        <p>Loses for different hyperparameters.</p>
                    </caption>
                    <graphic id="gr13" orientation="portrait" position="float" xlink:href="https://f1000research-files.f1000.com/manuscripts/121778/5e5109af-038d-4abf-bb01-5b5aad8d5d35_figure13.gif"/>
                </fig>
                <fig fig-type="figure" id="f14" orientation="portrait" position="float">
                    <label>Figure 14. </label>
                    <caption>
                        <p>Prediction results for the proposed model.</p>
                    </caption>
                    <graphic id="gr14" orientation="portrait" position="float" xlink:href="https://f1000research-files.f1000.com/manuscripts/121778/5e5109af-038d-4abf-bb01-5b5aad8d5d35_figure14.gif"/>
                </fig>
            </sec>
            <sec id="sec11">
                <title>Performance of forward collision detection</title>
                <p>The results of the proposed method for different road conditions are presented in 
                    <xref ref-type="fig" rid="f15">Figures 15</xref> to 
                    <xref ref-type="fig" rid="f16">16</xref>. 
                    <xref ref-type="fig" rid="f15">Figure 15</xref> depicts the testing results on a normal road during the day. The results show a sequence of the ego car moving on the road (from top to bottom, left to right). Initially, there is a safe driving distance between the ego car and the forefront vehicles so the driving region is marked blue. However, as the ego vehicle draws nearer, the vehicle at the front (i.e. the white color car) starts to overlap with the safe driving region. Hence, a warning is triggered and the driving region is marked as red. Another scenario for normal road at night is illustrated in 
                    <xref ref-type="fig" rid="f16">Figure 16</xref>. It can be observed that the proposed algorithm also works well during the night in estimating the safe driving region.</p>
                <fig fig-type="figure" id="f15" orientation="portrait" position="float">
                    <label>Figure 15. </label>
                    <caption>
                        <p>Normal road in the morning.</p>
                    </caption>
                    <graphic id="gr15" orientation="portrait" position="float" xlink:href="https://f1000research-files.f1000.com/manuscripts/121778/5e5109af-038d-4abf-bb01-5b5aad8d5d35_figure15.gif"/>
                </fig>
                <fig fig-type="figure" id="f16" orientation="portrait" position="float">
                    <label>Figure 16. </label>
                    <caption>
                        <p>Normal road in the night.</p>
                    </caption>
                    <graphic id="gr16" orientation="portrait" position="float" xlink:href="https://f1000research-files.f1000.com/manuscripts/121778/5e5109af-038d-4abf-bb01-5b5aad8d5d35_figure16.gif"/>
                </fig>
                <p>The tests were also performed on Malaysia highways. The results for morning and night settings are depicted in 
                    <xref ref-type="fig" rid="f17">Figures 17</xref> and 
                    <xref ref-type="fig" rid="f18">18</xref>, respectively. Good tracking results are observed for highways. This is because the road condition of the highways are much better than the normal road. For example, the roads are straight and the lanes are wider. The vehicles are able to keep reasonable distances from each other on the highways.</p>
                <fig fig-type="figure" id="f17" orientation="portrait" position="float">
                    <label>Figure 17. </label>
                    <caption>
                        <p>Highway in the morning.</p>
                    </caption>
                    <graphic id="gr17" orientation="portrait" position="float" xlink:href="https://f1000research-files.f1000.com/manuscripts/121778/5e5109af-038d-4abf-bb01-5b5aad8d5d35_figure17.gif"/>
                </fig>
                <fig fig-type="figure" id="f18" orientation="portrait" position="float">
                    <label>Figure 18. </label>
                    <caption>
                        <p>Highway at night.</p>
                    </caption>
                    <graphic id="gr18" orientation="portrait" position="float" xlink:href="https://f1000research-files.f1000.com/manuscripts/121778/5e5109af-038d-4abf-bb01-5b5aad8d5d35_figure18.gif"/>
                </fig>
            </sec>
        </sec>
        <sec id="sec12" sec-type="conclusions">
            <title>Conclusions</title>
            <p>This paper proposes an integrated approach for forward collision warning under different driving environments. The proposed approach considers the contextual information around the ego vehicle to derive a safe driving region. A warning will be triggered if a potential obstacle is detected in the driving region. Experimental results demonstrate that proposed approach is able to work with different road conditions. Besides, it has tolerance against illumination changes as it is able to work at different times of the day. In the future, attempts will be made to further improve the speed of the proposed approach. The computation speed for the forward collision warning system must be fast enough to cope with real-time autonomous driving&#x2019;s requirement.</p>
        </sec>
        <sec id="sec13">
            <title>Data availability</title>
            <sec id="sec14">
                <title>Underlying data</title>
                <p>The Udacity Self Driving Car Dataset is publicly available at: 
                    <ext-link ext-link-type="uri" xlink:href="https://public.roboflow.com/object-detection/self-driving-car">https://public.roboflow.com/object-detection/self-driving-car</ext-link>. Readers and reviewers can access the data in full by clicking the &#x201c;fixed-small&#x201d; or &#x201c;fixed-large&#x201d; links provided on the website. The available download formats include JSON, XML, TXT and CSV.</p>
                <p>Figshare: Lane Detection. 
                    <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.6084/m9.figshare.16557102.v2">https://doi.org/10.6084/m9.figshare.16557102.v2</ext-link>.
                    <sup>
                        <xref ref-type="bibr" rid="ref13">13</xref>
                    </sup>
                    <list list-type="simple">
                        <list-item>
                            <label>-</label>
                            <p>highway_morning.MOV</p>
                        </list-item>
                        <list-item>
                            <label>-</label>
                            <p>highway_night.MOV</p>
                        </list-item>
                        <list-item>
                            <label>-</label>
                            <p>normal_morning.MOV</p>
                        </list-item>
                        <list-item>
                            <label>-</label>
                            <p>normal_night.MOV (The videos were taken for normal Malaysian road and highway, both day and night).</p>
                        </list-item>
                        <list-item>
                            <label>-</label>
                            <p>performance_matrix_for_hyperparameter.csv</p>
                        </list-item>
                    </list>
                </p>
                <p>Data are available under the terms of the 
                    <ext-link ext-link-type="uri" xlink:href="http://creativecommons.org/publicdomain/zero/1.0/">Creative Commons Zero &#x201c;No rights reserved&#x201d; data waiver</ext-link> (CC0 1.0 Public domain dedication).</p>
            </sec>
        </sec>
        <sec id="sec15">
            <title>Software availability</title>
            <p>Source code available from: 
                <ext-link ext-link-type="uri" xlink:href="https://github.com/gkomix88/LaneDetection/tree/v1.1">https://github.com/gkomix88/LaneDetection/tree/v1.1</ext-link>
            </p>
            <p>Archived source code at time of publication: 
                <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.5281/zenodo.5349280">https://doi.org/10.5281/zenodo.5349280</ext-link>.
                <sup>
                    <xref ref-type="bibr" rid="ref10">10</xref>
                </sup>
            </p>
            <p>License: Data are available under the terms of the 
                <ext-link ext-link-type="uri" xlink:href="http://creativecommons.org/publicdomain/zero/1.0/">Creative Commons Zero &#x201c;No rights reserved&#x201d; data waiver</ext-link> (CC0 1.0 Public domain dedication).</p>
        </sec>
    </body>
    <back>
        <ack>
            <title>Acknowledgements</title>
            <p>The authors would like to thank Roboflow and Udacity for providing the Udacity Self Driving Car Dataset to be used in this study.</p>
        </ack>
        <ref-list>
            <title>References</title>
            <ref id="ref1">
                <label>1</label>
                <mixed-citation publication-type="web">
                    <collab>&#x201c;Road traffic injuries.&#x201d;</collab>: (accessed Mar. 10, 2021).
                    <ext-link ext-link-type="uri" xlink:href="https://www.who.int/news-room/fact-sheets/detail/road-traffic-injuries">Reference Source</ext-link>
                </mixed-citation>
            </ref>
            <ref id="ref2">
                <label>2</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Li</surname>
                            <given-names>G</given-names>
                        </name>

                        <etal/>
</person-group>:
                    <article-title>Risk assessment based collision avoidance decision-making for autonomous vehicles in multi-scenarios.</article-title>
                    <source>

                        <italic toggle="yes">Transportation Research Part C: Emerging Technologies.</italic>
</source>
                    <year>Jan. 2021</year>;<volume>122</volume>:<fpage>102820</fpage>.
                    <pub-id pub-id-type="doi">10.1016/j.trc.2020.102820</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref3">
                <label>3</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Redmon</surname>
                            <given-names>J</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Divvala</surname>
                            <given-names>S</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Girshick</surname>
                            <given-names>R</given-names>
                        </name>

                        <etal/>
</person-group>:
                    <article-title>You Only Look Once: Unified, Real-Time Object Detection.</article-title>
                    <source>

                        <italic toggle="yes">IEEE Conference on Computer Vision and Pattern Recognition (CVPR).</italic>
</source>
                    <year>Jun. 2016</year>;<volume>2016</volume>:<fpage>779</fpage>&#x2013;<lpage>788</lpage>.
                    <pub-id pub-id-type="doi">10.1109/CVPR.2016.91</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref4">
                <label>4</label>
                <mixed-citation publication-type="other">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Grinberg</surname>
                            <given-names>I</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Wiseman</surname>
                            <given-names>Y</given-names>
                        </name>
</person-group>:
                    <article-title>Scalable parallel collision detection simulation.</article-title>
                    <source>

                        <italic toggle="yes">SIP '07: Proceedings of the Ninth IASTED International Conference on Signal and Image Processing.</italic>
</source>
                    <year>2007</year>:<fpage>380</fpage>&#x2013;<lpage>385</lpage>.</mixed-citation>
            </ref>
            <ref id="ref5">
                <label>5</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Cheng</surname>
                            <given-names>HD</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Jiang</surname>
                            <given-names>XH</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Sun</surname>
                            <given-names>Y</given-names>
                        </name>

                        <etal/>
</person-group>:
                    <article-title>Color image segmentation: advances and prospects.</article-title>
                    <source>

                        <italic toggle="yes">Pattern Recognition.</italic>
</source>
                    <year>Dec. 2001</year>;<volume>34</volume>(<issue>12</issue>):<fpage>2259</fpage>&#x2013;<lpage>2281</lpage>.
                    <pub-id pub-id-type="doi">10.1016/S0031-3203(00)00149-7</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref6">
                <label>6</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Otsu</surname>
                            <given-names>N</given-names>
                        </name>
</person-group>:
                    <article-title>A Threshold Selection Method from Gray-Level Histograms.</article-title>
                    <source>

                        <italic toggle="yes">IEEE Transactions on Systems, Man, and Cybernetics.</italic>
</source>
                    <year>Jan. 1979</year>;<volume>9</volume>(<issue>1</issue>):<fpage>62</fpage>&#x2013;<lpage>66</lpage>.
                    <pub-id pub-id-type="doi">10.1109/TSMC.1979.4310076</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref7">
                <label>7</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Sanida</surname>
                            <given-names>T</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Sideris</surname>
                            <given-names>A</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Dasygenis</surname>
                            <given-names>M</given-names>
                        </name>
</person-group>:
                    <article-title>A Heterogeneous Implementation of the Sobel Edge Detection Filter Using OpenCL.</article-title>
                    <source>

                        <italic toggle="yes">2020 9th International Conference on Modern Circuits and Systems Technologies (MOCAST).</italic>
</source>
                    <year>Sep. 2020</year>:<fpage>1</fpage>&#x2013;<lpage>4</lpage>.
                    <pub-id pub-id-type="doi">10.1109/MOCAST49295.2020.9200249</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref8">
                <label>8</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Yoo</surname>
                            <given-names>JH</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Lee</surname>
                            <given-names>S-W</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Park</surname>
                            <given-names>S-K</given-names>
                        </name>

                        <etal/>
</person-group>:
                    <article-title>A Robust Lane Detection Method Based on Vanishing Point Estimation Using the Relevance of Line Segments.</article-title>
                    <source>

                        <italic toggle="yes">IEEE Transactions on Intelligent Transportation Systems.</italic>
</source>
                    <year>Dec. 2017</year>;<volume>18</volume>(<issue>12</issue>):<fpage>3254</fpage>&#x2013;<lpage>3266</lpage>.
                    <pub-id pub-id-type="doi">10.1109/TITS.2017.2679222</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref9">
                <label>9</label>
                <mixed-citation publication-type="other">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Fang</surname>
                            <given-names>J</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Liu</surname>
                            <given-names>Q</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Li</surname>
                            <given-names>J</given-names>
                        </name>
</person-group>:
                    <article-title>A Deployment Scheme of YOLOv5 with Inference Optimizations Based on the Triton Inference Server.</article-title>
                    <source>

                        <italic toggle="yes">2021 IEEE 6th International Conference on Cloud Computing and Big Data Analytics (ICCCBDA).</italic>
</source>
                    <year>Apr. 2021</year>:<fpage>441</fpage>&#x2013;<lpage>445</lpage>.
                    <pub-id pub-id-type="doi">10.1109/ICCCBDA51879.2021.9442557</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref10">
                <label>10</label>
                <mixed-citation publication-type="web">
                    <collab>gkomix88</collab>:
                    <article-title>gkomix88/LaneDetection: A visual approach towards forward collision warning for autonomous vehicles on Malaysian public roads (v1.1).</article-title>
                    <source>

                        <italic toggle="yes">Zenodo.</italic>
</source>
                    <year>2021</year>.
                    <pub-id pub-id-type="doi">10.5281/zenodo.5349280"&gt;https://doi.org/10.5281/zenodo.5349280</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref11">
                <label>11</label>
                <mixed-citation publication-type="web">
                    <collab>&#x201c;Self Driving Car Dataset,&#x201d;</collab>:
                    <source>

                        <italic toggle="yes">Roboflow.</italic>
</source>(accessed Jun. 22, 2021).
                    <ext-link ext-link-type="uri" xlink:href="https://public.roboflow.com/object-detection/self-driving-car">Reference Source</ext-link>
                </mixed-citation>
            </ref>
            <ref id="ref12">
                <label>12</label>
                <mixed-citation publication-type="web">
                    <collab>udacity/self-driving-car</collab>:
                    <source>

                        <italic toggle="yes">Udacity.</italic>
</source>
                    <year>2021</year>.
 (accessed Jun. 22, 2021).
                    <ext-link ext-link-type="uri" xlink:href="https://github.com/udacity/self-driving-car">Reference Source</ext-link>
                </mixed-citation>
            </ref>
            <ref id="ref13">
                <label>13</label>
                <mixed-citation publication-type="web">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>GOH</surname>
                            <given-names>KOM</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Tee</surname>
                            <given-names>C</given-names>
                        </name>
</person-group>:
                    <article-title>Lane Detection.</article-title>
                    <source>

                        <italic toggle="yes">figshare. Media.</italic>
</source>
                    <year>2021</year>;
                    <pub-id pub-id-type="doi">10.6084/m9.figshare.16557102.v2</pub-id>
                </mixed-citation>
            </ref>
        </ref-list>
    </back>
    <sub-article article-type="reviewer-report" id="report126508">
        <front-stub>
            <article-id pub-id-type="doi">10.5256/f1000research.121778.r126508</article-id>
            <title-group>
                <article-title>Reviewer response for version 2</article-title>
            </title-group>
            <contrib-group>
                <contrib contrib-type="author">
                    <name>
                        <surname>Alam</surname>
                        <given-names>Furqan</given-names>
                    </name>
                    <xref ref-type="aff" rid="r126508a1">1</xref>
                    <role>Referee</role>
                </contrib>
                <aff id="r126508a1">
                    <label>1</label>Department of Computer Science, King Abdulaziz University, Jeddah, Saudi Arabia</aff>
            </contrib-group>
            <author-notes>
                <fn fn-type="conflict">
                    <p>
                        <bold>Competing interests: </bold>No competing interests were disclosed.</p>
                </fn>
            </author-notes>
            <pub-date pub-type="epub">
                <day>15</day>
                <month>3</month>
                <year>2022</year>
            </pub-date>
            <permissions>
                <copyright-statement>Copyright: &#x00a9; 2022 Alam F</copyright-statement>
                <copyright-year>2022</copyright-year>
                <license xlink:href="https://creativecommons.org/licenses/by/4.0/">
                    <license-p>This is an open access peer review report distributed under the terms of the Creative Commons Attribution Licence, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.</license-p>
                </license>
            </permissions>
            <related-article ext-link-type="doi" id="relatedArticleReport126508" related-article-type="peer-reviewed-article" xlink:href="10.12688/f1000research.72897.2"/>
            <custom-meta-group>
                <custom-meta>
                    <meta-name>recommendation</meta-name>
                    <meta-value>approve</meta-value>
                </custom-meta>
            </custom-meta-group>
        </front-stub>
        <body>
            <p>I am satisfied with the changes as per my comments.</p>
            <p>Is the rationale for developing the new method (or application) clearly explained?</p>
            <p>Yes</p>
            <p>Is the description of the method technically sound?</p>
            <p>Partly</p>
            <p>Are the conclusions about the method and its performance adequately supported by the findings presented in the article?</p>
            <p>Partly</p>
            <p>If any results are presented, are all the source data underlying the results available to ensure full reproducibility?</p>
            <p>Yes</p>
            <p>Are sufficient details provided to allow replication of the method development and its use by others?</p>
            <p>Partly</p>
            <p>Reviewer Expertise:</p>
            <p>Machine Learning, Deep Learning, Scene Understanding for Autonomous Vehicles, IoT, Smart Cities, Intelligent Pandemic Response Systems, eLearning, Smart Healthcare Applications</p>
            <p>I confirm that I have read this submission and believe that I have an appropriate level of expertise to confirm that it is of an acceptable scientific standard.</p>
        </body>
    </sub-article>
    <sub-article article-type="reviewer-report" id="report126507">
        <front-stub>
            <article-id pub-id-type="doi">10.5256/f1000research.121778.r126507</article-id>
            <title-group>
                <article-title>Reviewer response for version 2</article-title>
            </title-group>
            <contrib-group>
                <contrib contrib-type="author">
                    <name>
                        <surname>Wiseman</surname>
                        <given-names>Yair</given-names>
                    </name>
                    <xref ref-type="aff" rid="r126507a1">1</xref>
                    <role>Referee</role>
                    <uri content-type="orcid">https://orcid.org/0000-0002-4221-1549</uri>
                </contrib>
                <aff id="r126507a1">
                    <label>1</label>Computer Science Department, Bar-Ilan University, Ramat Gan, Israel</aff>
            </contrib-group>
            <author-notes>
                <fn fn-type="conflict">
                    <p>
                        <bold>Competing interests: </bold>No competing interests were disclosed.</p>
                </fn>
            </author-notes>
            <pub-date pub-type="epub">
                <day>9</day>
                <month>3</month>
                <year>2022</year>
            </pub-date>
            <permissions>
                <copyright-statement>Copyright: &#x00a9; 2022 Wiseman Y</copyright-statement>
                <copyright-year>2022</copyright-year>
                <license xlink:href="https://creativecommons.org/licenses/by/4.0/">
                    <license-p>This is an open access peer review report distributed under the terms of the Creative Commons Attribution Licence, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.</license-p>
                </license>
            </permissions>
            <related-article ext-link-type="doi" id="relatedArticleReport126507" related-article-type="peer-reviewed-article" xlink:href="10.12688/f1000research.72897.2"/>
            <custom-meta-group>
                <custom-meta>
                    <meta-name>recommendation</meta-name>
                    <meta-value>approve</meta-value>
                </custom-meta>
            </custom-meta-group>
        </front-stub>
        <body>
            <p>The authors made a decent effort and the paper is certainly approvable.</p>
            <p>Is the rationale for developing the new method (or application) clearly explained?</p>
            <p>Partly</p>
            <p>Is the description of the method technically sound?</p>
            <p>Partly</p>
            <p>Are the conclusions about the method and its performance adequately supported by the findings presented in the article?</p>
            <p>Yes</p>
            <p>If any results are presented, are all the source data underlying the results available to ensure full reproducibility?</p>
            <p>Yes</p>
            <p>Are sufficient details provided to allow replication of the method development and its use by others?</p>
            <p>Partly</p>
            <p>Reviewer Expertise:</p>
            <p>Embedded Systems, Computational Transportation Science, Intelligent Transportation Systems, Process Scheduling, Hardware-Software Codesign, Memory Management, Asymmetric Operating Systems, Computer Clusters, Autonomous Vehicles, Data Compression, JPEG.</p>
            <p>I confirm that I have read this submission and believe that I have an appropriate level of expertise to confirm that it is of an acceptable scientific standard.</p>
        </body>
    </sub-article>
    <sub-article article-type="reviewer-report" id="report96560">
        <front-stub>
            <article-id pub-id-type="doi">10.5256/f1000research.76506.r96560</article-id>
            <title-group>
                <article-title>Reviewer response for version 1</article-title>
            </title-group>
            <contrib-group>
                <contrib contrib-type="author">
                    <name>
                        <surname>Alam</surname>
                        <given-names>Furqan</given-names>
                    </name>
                    <xref ref-type="aff" rid="r96560a1">1</xref>
                    <role>Referee</role>
                </contrib>
                <aff id="r96560a1">
                    <label>1</label>Department of Computer Science, King Abdulaziz University, Jeddah, Saudi Arabia</aff>
            </contrib-group>
            <author-notes>
                <fn fn-type="conflict">
                    <p>
                        <bold>Competing interests: </bold>No competing interests were disclosed.</p>
                </fn>
            </author-notes>
            <pub-date pub-type="epub">
                <day>25</day>
                <month>2</month>
                <year>2022</year>
            </pub-date>
            <permissions>
                <copyright-statement>Copyright: &#x00a9; 2022 Alam F</copyright-statement>
                <copyright-year>2022</copyright-year>
                <license xlink:href="https://creativecommons.org/licenses/by/4.0/">
                    <license-p>This is an open access peer review report distributed under the terms of the Creative Commons Attribution Licence, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.</license-p>
                </license>
            </permissions>
            <related-article ext-link-type="doi" id="relatedArticleReport96560" related-article-type="peer-reviewed-article" xlink:href="10.12688/f1000research.72897.1"/>
            <custom-meta-group>
                <custom-meta>
                    <meta-name>recommendation</meta-name>
                    <meta-value>approve</meta-value>
                </custom-meta>
            </custom-meta-group>
        </front-stub>
        <body>
            <p>Comment 1: in the Abstract, if the author could highlight why we need this work, then it will be good.</p>
            <p> </p>
            <p> Comment 2: it would be a good idea if authors would explicitly state the drawbacks of previous works to prove the worth of this work.</p>
            <p> </p>
            <p> Comment 3: it will be desirable if author gives some kind of block diagram or flowchart of whole process.</p>
            <p> </p>
            <p> I approve the paper, but strongly recommend that the author must work on above comments to improve the quality of the paper.</p>
            <p>Is the rationale for developing the new method (or application) clearly explained?</p>
            <p>Yes</p>
            <p>Is the description of the method technically sound?</p>
            <p>Partly</p>
            <p>Are the conclusions about the method and its performance adequately supported by the findings presented in the article?</p>
            <p>Partly</p>
            <p>If any results are presented, are all the source data underlying the results available to ensure full reproducibility?</p>
            <p>Yes</p>
            <p>Are sufficient details provided to allow replication of the method development and its use by others?</p>
            <p>Partly</p>
            <p>Reviewer Expertise:</p>
            <p>Machine Learning, Deep Learning, Scene Understanding for Autonomous Vehicles, IoT, Smart Cities, Intelligent Pandemic Response Systems, eLearning, Smart Healthcare Applications</p>
            <p>I confirm that I have read this submission and believe that I have an appropriate level of expertise to confirm that it is of an acceptable scientific standard.</p>
        </body>
        <sub-article article-type="response" id="comment7890-96560">
            <front-stub>
                <contrib-group>
                    <contrib contrib-type="author">
                        <name>
                            <surname>Connie</surname>
                            <given-names>Tee</given-names>
                        </name>
                        <aff>Multimedia University, Malaysia</aff>
                    </contrib>
                </contrib-group>
                <author-notes>
                    <fn fn-type="conflict">
                        <p>
                            <bold>Competing interests: </bold>No competing interests were disclosed.</p>
                    </fn>
                </author-notes>
                <pub-date pub-type="epub">
                    <day>28</day>
                    <month>2</month>
                    <year>2022</year>
                </pub-date>
            </front-stub>
            <body>
                <p>Dear Reviewer,</p>
                <p> </p>
                <p> Thank you very much for your time and efforts in reviewing our manuscript &#x201c;A visual approach towards forward collision warning for autonomous vehicles on Malaysian public roads&#x201d;. The manuscript has been improved based on your valuable comments and suggestions. In this response letter, we list the specific concerns and questions raised by the reviewer and provide our itemized response.</p>
                <p> </p>
                <p> 
                    <bold>--</bold>
                </p>
                <p> 
                    <bold>Point 1: </bold>In the Abstract, if the author could highlight why we need this work, then it will be good.</p>
                <p> </p>
                <p> 
                    <bold>Response 1: </bold>We thank the reviewer for the suggestion. The motivation of this work has been added in the abstract as follows:</p>
                <p> </p>
                <p> 
                    <italic>This study presents a robust approach for forward collision warning using vision data for autonomous vehicles on Malaysian public roads. The proposed architecture combines environment perception and lane localization to define a safe driving region for the ego vehicle. If potential risks are detected in the safe driving region, a warning will be triggered. Besides, an adaptive lane localization method that considers geometrical structure of the road is presented to deal with different road types. The proposed forward collision warning mechanism enables early warning which is important to help avoid rear-end collision.&#x00a0; </italic>
                </p>
                <p> </p>
                <p> 
                    <bold>Point 2: </bold>It would be a good idea if authors would explicitly state the drawbacks of previous works to prove the worth of this work</p>
                <p> </p>
                <p> 
                    <bold>Response 2: </bold>Thank you for the suggestion. In the &#x201c;Environment Perception&#x201d; section, we have state the drawbacks of the previous works and highlight the advantage of the proposed method as follows:</p>
                <p> 
                    <italic>An early collision detection model based on bounding volume hierarchies was presented 
                        <sup>13</sup>. Later on, many bounding box-based methods have been introduced. Different from the previous approaches that rely on geometrical analysis of the objects in the scene, this paper proposes a data-driven approach which is more robust to appearance variations. In YOLOv5, the mosaic data augmentation strategy employed in its architecture greatly improves the accuracy and robustness of object detection.
                        <sup>3 </sup>Most importantly, YOLOv5 is lightweight in size and is very fast, making it suitable for a real-time application like autonomous driving. &#x00a0;</italic>
                </p>
                <p> </p>
                <p> 
                    <bold>Point 3: </bold>It will be desirable if author gives some kind of block diagram or flowchart of whole process.</p>
                <p> </p>
                <p> 
                    <bold>Response 3: </bold>Thank you for the suggestion. The flowchart of the whole process has been added in the manuscript as below:&#x00a0;
                    <ext-link ext-link-type="uri" xlink:href="https://f1000researchdata.s3.amazonaws.com/linked/408176.Connie_Comment_Graph.docx">
                        <italic>https://f1000researchdata.s3.amazonaws.com/linked/408176.Connie_Comment_Graph.docx</italic>
                    </ext-link>
                </p>
            </body>
        </sub-article>
    </sub-article>
    <sub-article article-type="reviewer-report" id="report122291">
        <front-stub>
            <article-id pub-id-type="doi">10.5256/f1000research.76506.r122291</article-id>
            <title-group>
                <article-title>Reviewer response for version 1</article-title>
            </title-group>
            <contrib-group>
                <contrib contrib-type="author">
                    <name>
                        <surname>Wiseman</surname>
                        <given-names>Yair</given-names>
                    </name>
                    <xref ref-type="aff" rid="r122291a1">1</xref>
                    <role>Referee</role>
                    <uri content-type="orcid">https://orcid.org/0000-0002-4221-1549</uri>
                </contrib>
                <aff id="r122291a1">
                    <label>1</label>Computer Science Department, Bar-Ilan University, Ramat Gan, Israel</aff>
            </contrib-group>
            <author-notes>
                <fn fn-type="conflict">
                    <p>
                        <bold>Competing interests: </bold>No competing interests were disclosed.</p>
                </fn>
            </author-notes>
            <pub-date pub-type="epub">
                <day>22</day>
                <month>2</month>
                <year>2022</year>
            </pub-date>
            <permissions>
                <copyright-statement>Copyright: &#x00a9; 2022 Wiseman Y</copyright-statement>
                <copyright-year>2022</copyright-year>
                <license xlink:href="https://creativecommons.org/licenses/by/4.0/">
                    <license-p>This is an open access peer review report distributed under the terms of the Creative Commons Attribution Licence, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.</license-p>
                </license>
            </permissions>
            <related-article ext-link-type="doi" id="relatedArticleReport122291" related-article-type="peer-reviewed-article" xlink:href="10.12688/f1000research.72897.1"/>
            <custom-meta-group>
                <custom-meta>
                    <meta-name>recommendation</meta-name>
                    <meta-value>approve-with-reservations</meta-value>
                </custom-meta>
            </custom-meta-group>
        </front-stub>
        <body>
            <p>The paper suggests a technique for forward collision warning for autonomous vehicles employing vision information. The paper focuses on Malaysian public roads.</p>
            <p> </p>
            <p> The English of the paper must be improved, for example;</p>
            <p> </p>
            <p> due to its appealing performance in real-time performance -&gt;&#x00a0; due to its appealing real-time performance</p>
            <p> into birds-eye view -&gt; into a birds-eye view</p>
            <p> The histogram for bottom part of&#x00a0;Figure 4(b) -&gt; The histogram for the bottom part of&#x00a0;Figure 4(b)</p>
            <p> The windows locations -&gt; The window locations</p>
            <p> the non-zero pixels values -&gt; the non-zero pixel values</p>
            <p> </p>
            <p> The paper discusses driverless vehicles; however, they write "The proposed method monitors the roadway ahead and warns the driver when a risk for collision is detected". So, is there a driver or not?</p>
            <p> </p>
            <p> The method of collision detection employing bounding boxes was suggested 15 years ago in I. Grinberg and Y. Wiseman (2007).
                <sup>
                    <xref ref-type="bibr" rid="rep-ref-122291-1">1</xref>
                </sup> I would encourage the authors to cite this paper and explain how their work goes beyond it.</p>
            <p>Is the rationale for developing the new method (or application) clearly explained?</p>
            <p>Partly</p>
            <p>Is the description of the method technically sound?</p>
            <p>Partly</p>
            <p>Are the conclusions about the method and its performance adequately supported by the findings presented in the article?</p>
            <p>Yes</p>
            <p>If any results are presented, are all the source data underlying the results available to ensure full reproducibility?</p>
            <p>Yes</p>
            <p>Are sufficient details provided to allow replication of the method development and its use by others?</p>
            <p>Partly</p>
            <p>Reviewer Expertise:</p>
            <p>Embedded Systems, Computational Transportation Science, Intelligent Transportation Systems, Process Scheduling, Hardware-Software Codesign, Memory Management, Asymmetric Operating Systems, Computer Clusters, Autonomous Vehicles, Data Compression, JPEG.</p>
            <p>I confirm that I have read this submission and believe that I have an appropriate level of expertise to confirm that it is of an acceptable scientific standard, however I have significant reservations, as outlined above.</p>
        </body>
        <back>
            <ref-list>
                <title>References</title>
                <ref id="rep-ref-122291-1">
                    <label>1</label>
                    <mixed-citation>
                        <person-group person-group-type="author"/>:
                        <article-title>Scalable parallel collision detection simulation</article-title>.
                        <source>
                            <italic>SIP '07: Proceedings of the Ninth IASTED International Conference on Signal and Image Processingl</italic>
                        </source>.<year>2007</year>;<fpage>380</fpage>-<lpage>385</lpage>
                    </mixed-citation>
                </ref>
            </ref-list>
        </back>
        <sub-article article-type="response" id="comment7868-122291">
            <front-stub>
                <contrib-group>
                    <contrib contrib-type="author">
                        <name>
                            <surname>Connie</surname>
                            <given-names>Tee</given-names>
                        </name>
                        <aff>Multimedia University, Malaysia</aff>
                    </contrib>
                </contrib-group>
                <author-notes>
                    <fn fn-type="conflict">
                        <p>
                            <bold>Competing interests: </bold>No competing interests were disclosed.</p>
                    </fn>
                </author-notes>
                <pub-date pub-type="epub">
                    <day>24</day>
                    <month>2</month>
                    <year>2022</year>
                </pub-date>
            </front-stub>
            <body>
                <p>Dear Reviewer,</p>
                <p> </p>
                <p> Thank you very much for your time and efforts in reviewing our manuscript &#x201c;A visual approach towards forward collision warning for autonomous vehicles on Malaysian public roads&#x201d;.</p>
                <p> </p>
                <p> According to your valuable comments and suggestions, the manuscript has been imrpoved. In this response letter, we list the specific concerns and questions raised by the reviewer and provide our itemized response.</p>
                <p> </p>
                <p> 
                    <bold>--</bold>
                </p>
                <p> </p>
                <p> 
                    <bold>Point 1: </bold>The paper suggests a technique for forward collision warning for autonomous vehicles employing vision information. The paper focuses on Malaysian public roads. The English of the paper must be improved, for example; due to its appealing performance in real-time performance -&gt;&#x00a0; due to its appealing real-time performance; into birds-eye view -&gt; into a birds-eye view; The histogram for bottom part of Figure 4(b) -&gt; The histogram for the bottom part of Figure 4(b); The windows locations -&gt; The window locations the non-zero pixels values -&gt; the non-zero pixel values.</p>
                <p> </p>
                <p> 
                    <bold>Response 1: </bold>We thank the reviewer for the careful review. The mistakes have been corrected in the manuscript. We have also proofread the manuscript carefully to make sure the paper is free from language errors. &#x00a0;</p>
                <p> </p>
                <p> 
                    <bold>Point 2: </bold>The paper discusses driverless vehicles; however, they write "The proposed method monitors the roadway ahead and warns the driver when a risk for collision is detected". So, is there a driver or not?</p>
                <p> </p>
                <p> 
                    <bold>Response 2: </bold>The reviewer has a sharp observation. Yes, the paper is intended for autonomous vehicle development. Hence, the sentence has been revised to &#x201c;The proposed method monitors the roadway ahead and issues a warning alert when a risk for collision is detected&#x201d; in the manuscript.</p>
                <p> </p>
                <p> 
                    <bold>Point 3: </bold>The method of collision detection employing bounding boxes was suggested 15 years ago in I. Grinberg and Y. Wiseman (2007).1 I would encourage the authors to cite this paper and explain how their work goes beyond it.</p>
                <p> </p>
                <p> 
                    <bold>Response 3: </bold>Thank you for the suggestion. The reference has been added. An explanation how the proposed study goes beyond the work has also be provided in the &#x201c;Environment Perception&#x201d; section as below:</p>
                <p> </p>
                <p> 
                    <italic>An early collision detection model based on bounding volume hierarchies was presented 13. Later on, many bounding box-based methods have been introduced. Different from the previous approaches that rely on geometrical analysis of the objects in the scene, this paper proposes a data-driven approach. In YOLOv5, the mosaic data augmentation strategy employed in its architecture greatly improves the accuracy and robustness of object detection. 3 Most importantly, YOLOv5 is lightweight in size and is very fast, making it suitable for a real-time application like autonomous driving.</italic>
                </p>
            </body>
        </sub-article>
    </sub-article>
</article>
