Vision-Based Angle Detection for Industrial Quality Inspection | Research Square window.SnipcartSettings = { analytics: { enabled: false } }; (function() { var accessVector = localStorage.getItem('access_vector') || ''; window.dataLayer = window.dataLayer || []; if (accessVector) { window.dataLayer.push({ user: { profile: { profileInfo: { snid: accessVector } } } }); } })(); (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src='https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','GTM-K279D39R'); Browse Preprints In Review Journals COVID-19 Preprints AJE Video Bytes Research Tools Research Promotion AJE Professional Editing AJE Rubriq About Preprint Platform In Review Editorial Policies Our Team Advisory Board Help Center Sign In Submit a Preprint Cite Share Download PDF Research Article Vision-Based Angle Detection for Industrial Quality Inspection TIKAOUI HICHAM This is a preprint; it has not been peer reviewed by a journal. https://doi.org/ 10.21203/rs.3.rs-7545412/v1 This work is licensed under a CC BY 4.0 License Status: Posted Version 1 posted You are reading this latest preprint version Abstract Accurate geometric inspection is a fundamental requirement in modern industrial quality control, especially in robotic assembly lines where precision dictates product integrity. This paper introduces a vision-based system designed to detect and measure angles between structural features using a single camera. The proposed approach combines edge detection (Canny), Hough transform, and vector analysis to identify lines and compute angles in real time. The system allows interactive adjustment of detected points, enabling fine-tuning for high-accuracy measurements during setup or validation stages. By providing non-contact, automated angle verification, this solution enhances inspection efficiency in manufacturing processes such as metal sheet bending, welded joint evaluation, and mechanical part alignment. Experimental evaluations conducted in factory-like environments demonstrate a measurement accuracy within ± 1.092°, with resilience to moderate noise and lighting variability. This system provides a cost-effective alternative to laser or tactile devices, making it highly adaptable for robotic inspection tasks in Industry 4.0 contexts. Quality inspection Vision-camera Angle Hough transform canny Filter Full Text Additional Declarations The authors declare no competing interests. Cite Share Download PDF Status: Posted Version 1 posted You are reading this latest preprint version Research Square lets you share your work early, gain feedback from the community, and start making changes to your manuscript prior to peer review in a journal. As a division of Research Square Company, we’re committed to making research communication faster, fairer, and more useful. We do this by developing innovative software and high quality services for the global research community. Our growing team is made up of researchers and industry professionals working together to solve the most critical problems facing scientific publishing. Also discoverable on Platform About Our Team In Review Editorial Policies Advisory Board Help Center Resources Author Services Accessibility API Access RSS feed Manage Cookie Preferences © Research Square 2026 | ISSN 2693-5015 (online) Privacy Policy Terms of Service Do Not Sell My Personal Information {"props":{"pageProps":{"initialData":{"identity":"rs-7545412","acceptedTermsAndConditions":true,"allowDirectSubmit":true,"archivedVersions":[],"articleType":"Research Article","associatedPublications":[],"authors":[{"id":510868898,"identity":"6e066407-8e7e-447a-a836-548b37a515ae","order_by":0,"name":"TIKAOUI HICHAM","email":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAAyAQMAAABI0h/eAAAABlBMVEX///8AAABVwtN+AAAACXBIWXMAAA7EAAAOxAGVKw4bAAABFElEQVRIiWNgGAWjYBACA2YGNjCDjQfMtSFeiwRUSxoDD0EtDFAtUKWHCWsxZ2d+9uBnDkMdH8/hh495Cs7L2UsksEn8qGCQ52/gTvyARYtlM5u5Ye82oMN424yNeQxuG/MAtUj2nGEwnHGAd7MENocd5mGT4AVp4WcwkwZqSewB2cLbxsC4gYF3Ay4tkn/BWti/AbWcqwdpkfz7j8EeqGXzDxxapMG28PaAbDmQAHKYNG8DQyJQyzbstrCZSctuk5Bs4zlTbDjHINmw58zDZmuZYxLJMw7zbrPApuX84WeSb7fZ8Mv3pG988OaPnTx7e/LBm29qbGz723s338Ad1igOYGyAiDDjVj8KRsEoGAWjAD8AABKUUGzFY3RMAAAAAElFTkSuQmCC","orcid":"","institution":"FST ELHOUCEIMA","correspondingAuthor":true,"prefix":"","firstName":"TIKAOUI","middleName":"","lastName":"HICHAM","suffix":""}],"badges":[],"createdAt":"2025-09-05 15:07:20","currentVersionCode":1,"declarations":{"humanSubjects":false,"vertebrateSubjects":false,"conflictsOfInterestStatement":false,"humanSubjectEthicalGuidelines":false,"humanSubjectConsent":false,"humanSubjectClinicalTrial":false,"humanSubjectCaseReport":false,"vertebrateSubjectEthicalGuidelines":false},"doi":"10.21203/rs.3.rs-7545412/v1","doiUrl":"https://doi.org/10.21203/rs.3.rs-7545412/v1","draftVersion":[],"editorialEvents":[],"editorialNote":"","failedWorkflow":false,"files":[{"id":91148804,"identity":"fe6cd9eb-96a8-4a4c-b1f2-88db4d1349f2","added_by":"auto","created_at":"2025-09-12 06:45:43","extension":"pdf","order_by":1,"title":"","display":"","copyAsset":false,"role":"manuscript-pdf","size":398887,"visible":true,"origin":"","legend":"","description":"","filename":"snarticle.pdf","url":"https://assets-eu.researchsquare.com/files/rs-7545412/v1_covered_82bb4e56-7405-4c1b-8c16-e3007efa3c42.pdf"}],"financialInterests":"The authors declare no competing interests.","formattedTitle":"\u003cp\u003eVision-Based Angle Detection for Industrial Quality Inspection\u003c/p\u003e","fulltext":[],"fulltextSource":"","fullText":"","funders":[],"hasAdminPriorityOnWorkflow":false,"hasManuscriptDocX":false,"hasOptedInToPreprint":true,"hasPassedJournalQc":"","hasAnyPriority":true,"hideJournal":true,"highlight":"","institution":"Abdelmalek Essaâdi University","isAcceptedByJournal":false,"isAuthorSuppliedPdf":true,"isDeskRejected":"","isHiddenFromSearch":false,"isInQc":false,"isInWorkflow":false,"isPdf":true,"isPdfUpToDate":true,"isWithdrawnOrRetracted":false,"journal":{"display":true,"email":"
[email protected]","identity":"researchsquare","isNatureJournal":false,"hasQc":true,"allowDirectSubmit":true,"externalIdentity":"","sideBox":"","snPcode":"","submissionUrl":"/submission","title":"Research Square","twitterHandle":"researchsquare","acdcEnabled":true,"dfaEnabled":false,"editorialSystem":"","reportingPortfolio":"","inReviewEnabled":false,"inReviewRevisionsEnabled":true},"keywords":"Quality inspection, Vision-camera, Angle, Hough transform, canny Filter","lastPublishedDoi":"10.21203/rs.3.rs-7545412/v1","lastPublishedDoiUrl":"https://doi.org/10.21203/rs.3.rs-7545412/v1","license":{"name":"CC BY 4.0","url":"https://creativecommons.org/licenses/by/4.0/"},"manuscriptAbstract":"\u003cp\u003eAccurate geometric inspection is a fundamental requirement in modern industrial quality control, especially in robotic assembly lines where precision dictates product integrity. This paper introduces a vision-based system designed to detect and measure angles between structural features using a single camera. The proposed approach combines edge detection (Canny), Hough transform, and vector analysis to identify lines and compute angles in real time. The system allows interactive adjustment of detected points, enabling fine-tuning for high-accuracy measurements during setup or validation stages. By providing non-contact, automated angle verification, this solution enhances inspection efficiency in manufacturing processes such as metal sheet bending, welded joint evaluation, and mechanical part alignment. Experimental evaluations conducted in factory-like environments demonstrate a measurement accuracy within \u0026plusmn;\u0026thinsp;1.092\u0026deg;, with resilience to moderate noise and lighting variability. This system provides a cost-effective alternative to laser or tactile devices, making it highly adaptable for robotic inspection tasks in Industry 4.0 contexts.\u003c/p\u003e","manuscriptTitle":"Vision-Based Angle Detection for Industrial Quality Inspection","msid":"","msnumber":"","nonDraftVersions":[{"code":1,"date":"2025-09-09 08:45:21","doi":"10.21203/rs.3.rs-7545412/v1","editorialEvents":[{"type":"communityComments","content":0}],"status":"published","journal":{"display":true,"email":"
[email protected]","identity":"researchsquare","isNatureJournal":false,"hasQc":true,"allowDirectSubmit":true,"externalIdentity":"","sideBox":"","snPcode":"","submissionUrl":"/submission","title":"Research Square","twitterHandle":"researchsquare","acdcEnabled":true,"dfaEnabled":false,"editorialSystem":"","reportingPortfolio":"","inReviewEnabled":false,"inReviewRevisionsEnabled":true}}],"origin":"","ownerIdentity":"552e63a9-2504-4f7b-b6f8-b79486ac0d0d","owner":[],"postedDate":"September 9th, 2025","published":true,"recentEditorialEvents":[],"rejectedJournal":[],"revision":"","amendment":"","status":"posted","subjectAreas":[],"tags":[],"updatedAt":"2025-09-09T08:45:21+00:00","versionOfRecord":[],"versionCreatedAt":"2025-09-09 08:45:21","video":"","vorDoi":"","vorDoiUrl":"","workflowStages":[]},"version":"v1","identity":"rs-7545412","journalConfig":"researchsquare"},"__N_SSP":true},"page":"/article/[identity]/[[...version]]","query":{"redirect":"/article/rs-7545412","identity":"rs-7545412","version":["v1"]},"buildId":"XKTyCvWXoU3ODBz1xrDgd","isFallback":false,"isExperimentalCompile":false,"dynamicIds":[84888],"gssp":true,"scriptLoader":[]}
Text is read by the "Ask this paper" AI Q&A widget below.
Extraction quality varies by source — PMC NXML preserves structure
cleanly, OA-HTML may include some navigation residue, and OA-PDF can
have broken hyphenation. The publisher copy
(via DOI)
is the canonical version.