<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Anurag Panda</title>
    <description>The latest articles on DEV Community by Anurag Panda (@anurag_panda).</description>
    <link>https://dev.to/anurag_panda</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3327297%2Fb21fa06d-8793-4a92-a021-c5a41f014d40.png</url>
      <title>DEV Community: Anurag Panda</title>
      <link>https://dev.to/anurag_panda</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/anurag_panda"/>
    <language>en</language>
    <item>
      <title>🧑‍💼 Face Attendance Maker using Streamlit and OpenCV 😎</title>
      <dc:creator>Anurag Panda</dc:creator>
      <pubDate>Sun, 06 Jul 2025 03:17:04 +0000</pubDate>
      <link>https://dev.to/anurag_panda/face-attendance-maker-using-streamlit-and-opencv-3fh0</link>
      <guid>https://dev.to/anurag_panda/face-attendance-maker-using-streamlit-and-opencv-3fh0</guid>
      <description>&lt;p&gt;📌 Published by &lt;a href="https://dev.to/anurag_panda"&gt;@anurag_panda&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;🚀 GitHub Repo: &lt;a href="https://github.com/anurag-panda-nshm/face-attendance-maker" rel="noopener noreferrer"&gt;Face Attendance Maker&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;👋 Introduction
Attendance tracking is a crucial part of any educational institution or organization, but the traditional method of calling names or marking attendance manually is outdated and error-prone.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;So I built Face Attendance Maker — a modern solution that uses face recognition to automate attendance using Streamlit for the UI and OpenCV for the camera and image processing.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;🧠 Features&lt;br&gt;
✅ Real-time face detection using OpenCV&lt;br&gt;
✅ Attendance tracking with time stamps&lt;br&gt;
✅ Streamlit-based UI for ease of use&lt;br&gt;
✅ CSV export of attendance records&lt;br&gt;
✅ Simple, clean, and fast&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;🧰 Tech Stack&lt;br&gt;
Python&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Streamlit – for the front-end UI&lt;/p&gt;

&lt;p&gt;OpenCV – for face detection and camera access&lt;/p&gt;

&lt;p&gt;face_recognition – for comparing and identifying faces&lt;/p&gt;

&lt;p&gt;NumPy &amp;amp; Pandas – for data handling&lt;/p&gt;

&lt;p&gt;CSV – for storing attendance records&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;🚦 How It Works
Upload or register known faces in a folder &lt;code&gt;(ImagesAttendance/)&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Launch the Streamlit app&lt;/p&gt;

&lt;p&gt;Camera opens and starts detecting faces&lt;/p&gt;

&lt;p&gt;If a known face is found:&lt;/p&gt;

&lt;p&gt;Name and timestamp are recorded&lt;/p&gt;

&lt;p&gt;Data is saved into Attendance.csv&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;🖥️ Getting Started
Clone the repo:
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git clone https://github.com/anurag-panda-nshm/face-attendance-maker
&lt;span class="nb"&gt;cd &lt;/span&gt;face-attendance-maker
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Install dependencies:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;pip &lt;span class="nb"&gt;install&lt;/span&gt; &lt;span class="nt"&gt;-r&lt;/span&gt; requirements.txt
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Run the app:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;streamlit run app.py
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;📸 Make sure your webcam is enabled.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;📂 Folder Structure
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;📁 face-attendance-maker/
├── app.py
├── Attendance.csv
├── ImagesAttendance/
│   └── anurag.jpg
├── requirements.txt
└── ...
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Add more images to &lt;code&gt;ImagesAttendance/&lt;/code&gt; with filenames as the person’s name.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;🔍 Use Cases
Classroom attendance&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Workplace check-ins&lt;/p&gt;

&lt;p&gt;Event registrations&lt;/p&gt;

&lt;p&gt;Lab/Library access tracking&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;⚙️ Future Improvements
Face registration through the UI&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Multi-user support and login system&lt;/p&gt;

&lt;p&gt;Dashboard with analytics&lt;/p&gt;

&lt;p&gt;Integration with cloud databases like Supabase or Firebase&lt;/p&gt;

&lt;p&gt;🙌 Let's Collaborate!&lt;br&gt;
Feel free to fork, contribute, or open issues!&lt;br&gt;
⭐ Star the repo if you like the project!&lt;/p&gt;

&lt;p&gt;GitHub: &lt;a href="https://github.com/anurag-panda-nshm/face-attendance-maker" rel="noopener noreferrer"&gt;https://github.com/anurag-panda-nshm/face-attendance-maker&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;💬 Final Thoughts
Building this project taught me how powerful and fun real-time computer vision can be. With Streamlit, it's easier than ever to turn Python scripts into beautiful web apps.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Let me know your thoughts or improvements!&lt;/p&gt;

&lt;p&gt;📧 Reach out on &lt;a href="https://linkedin.com/in/anurag-panda-" rel="noopener noreferrer"&gt;LinkedIn&lt;/a&gt; or drop a comment below 👇&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
