Computer Vision and Learned Visual Features
هوش مصنوعی برای همه: هوش مصنوعی چطور باهوش شد؟
- An image as a grid of numerical pixel values.
- The shift from manually designed visual features toward learned features.
- Convolution as applying a reusable local pattern detector across an image.
- Layers that combine local patterns into more complex visual representations.
- Large image datasets, GPU training, and major recognition improvements in the early 2010s.
- Classification, object detection, and segmentation as different output tasks.
- Failure under unusual viewpoints, backgrounds, lighting, or misleading visual shortcuts.
از پیکسل تا پیشبینی
```svg
<svg viewBox="0 0 800 450" xmlns="http://www.w3.org/2000/svg"><defs><marker id="arrow" markerWidth="10" markerHeight="10" refX="8" refY="3" orient="auto"><path d="M0,0 L0,6 L9,3 z" class="tm-arrow"/></marker></defs><text x="150" y="42" class="tm-text" font-size="18" text-anchor="middle" direction="rtl">عکس سیب</text><rect x="72" y="72" width="156" height="150" rx="12" class="tm-surface"/><circle cx="150" cy="137" r="43" class="tm-green"/><path d="M149 94 Q146 79 158 70" class="tm-line" fill="none"/><path d="M158 78 Q176 69 183 84 Q168 91 158 78" class="tm-green"/><path d="M82 192 H218" class="tm-line"/><path d="M92 202 H208" class="tm-line"/><path d="M245 146 H318" class="tm-line-accent" marker-end="url(#arrow)"/><text x="400" y="42" class="tm-text" font-size="18" text-anchor="middle" direction="rtl">شبکهٔ پیکسلها</text><rect x="330" y="72" width="140" height="150" rx="8" class="tm-soft"/><path d="M365 72 V222 M400 72 V222 M435 72 V222 M330 109.5 H470 M330 147 H470 M330 184.5 H470" class="tm-line" fill="none"/><text x="347" y="101" class="tm-text2" font-size="15" text-anchor="middle" direction="rtl">۰</text><text x="382" y="101" class="tm-text2" font-size="15" text-anchor="middle" direction="rtl">۷۰</text><text x="417" y="101" class="tm-text2" font-size="15" text-anchor="middle" direction="rtl">۱۸۰</text><text x="452" y="101" class="tm-text2" font-size="15" text-anchor="middle" direction="rtl">۲۵۵</text><text x="400" y="254" class="tm-muted" font-size="15" text-anchor="middle" direction="rtl">سیاه ← روشن → سفید</text><path d="M488 146 H562" class="tm-line-accent" marker-end="url(#arrow)"/><text x="660" y="42" class="tm-text" font-size="18" text-anchor="middle" direction="rtl">پیشبینی</text><rect x="583" y="96" width="154" height="102" rx="14" class="tm-gold"/><text x="660" y="155" class="tm-text-accent" font-size="24" text-anchor="middle" direction="rtl">سیب</text><text x="400" y="340" class="tm-muted" font-size="17" text-anchor="middle" direction="rtl">عددها سرنخ میسازند؛ برچسبی در پیکسل نیست</text><rect x="330" y="72" width="140" height="150" rx="8" class="tm-accent tm-pulse" opacity="0.22"/><text x="400" y="390" class="tm-text2" font-size="16" text-anchor="middle" direction="rtl">RGB: قرمز، سبز، آبی</text></svg>
```
از قواعد دستی تا یادگیری ویژگی
```svg
<svg viewBox="0 0 800 450" xmlns="http://www.w3.org/2000/svg"><defs><marker id="arrow" markerWidth="10" markerHeight="10" refX="8" refY="3" orient="auto"><path d="M0,0 L0,6 L9,3 z" class="tm-arrow"/></marker></defs><rect x="35" y="90" width="180" height="210" rx="12" class="tm-surface"/><text x="125" y="125" class="tm-text" font-size="20" text-anchor="middle" direction="rtl">قواعد دستی</text><rect x="65" y="155" width="120" height="45" rx="8" class="tm-soft"/><text x="125" y="184" class="tm-text2" font-size="16" text-anchor="middle" direction="rtl">قرمزی، گردی</text><rect x="65" y="220" width="120" height="45" rx="8" class="tm-soft"/><text x="125" y="249" class="tm-text2" font-size="16" text-anchor="middle" direction="rtl">نوع لبه</text><rect x="275" y="90" width="180" height="210" rx="12" class="tm-surface"/><text x="365" y="130" class="tm-text" font-size="20" text-anchor="middle" direction="rtl">ویژگیها</text><text x="365" y="180" class="tm-text-accent" font-size="18" text-anchor="middle">feature</text><text x="365" y="225" class="tm-muted" font-size="15" text-anchor="middle" direction="rtl">استخراج از ورودی</text><line x1="215" y1="195" x2="275" y2="195" class="tm-line" marker-end="url(#arrow)"/><rect x="515" y="90" width="230" height="210" rx="12" class="tm-accent"/><text x="630" y="130" class="tm-text" font-size="20" text-anchor="middle" direction="rtl">شبکه</text><text x="630" y="178" class="tm-text" font-size="16" text-anchor="middle" direction="rtl">یادگیری از مثالها</text><text x="630" y="222" class="tm-text" font-size="16" text-anchor="middle" direction="rtl">ویژگیهای مفید</text><text x="630" y="265" class="tm-text" font-size="15" text-anchor="middle" direction="rtl">بدون آشکارساز دستی</text><line x1="455" y1="195" x2="515" y2="195" class="tm-line-accent" marker-end="url(#arrow)"/><rect x="95" y="345" width="190" height="58" rx="10" class="tm-soft tm-enter"/><text x="190" y="381" class="tm-text" font-size="17" text-anchor="middle" direction="rtl">دادهٔ فراوان</text><rect x="305" y="345" width="190" height="58" rx="10" class="tm-gold tm-enter"/><text x="400" y="381" class="tm-text" font-size="17" text-anchor="middle">GPU</text><rect x="515" y="345" width="190" height="58" rx="10" class="tm-green tm-enter"/><text x="610" y="381" class="tm-text" font-size="17" text-anchor="middle" direction="rtl">AlexNet · ۲۰۱۲</text></svg>
```
از پیکسل تا ویژگی
```svg
<svg viewBox="0 0 800 450" xmlns="http://www.w3.org/2000/svg"><defs><marker id="arr" markerWidth="10" markerHeight="10" refX="8" refY="3" orient="auto"><path d="M0,0 L0,6 L9,3 z" class="tm-arrow"/></marker></defs><text x="150" y="38" class="tm-text" font-size="18" text-anchor="middle" direction="rtl">روشنایی پیکسلها</text><rect x="70" y="85" width="75" height="70" rx="8" class="tm-soft"/><rect x="145" y="85" width="75" height="70" rx="8" class="tm-accent"/><rect x="220" y="85" width="75" height="70" rx="8" class="tm-soft"/><text x="107" y="128" class="tm-text" font-size="18" text-anchor="middle" direction="rtl">۱۰</text><text x="182" y="128" class="tm-text" font-size="18" text-anchor="middle" direction="rtl">۲۰۰</text><rect x="300" y="78" width="150" height="84" rx="12" class="tm-surface"/><text x="375" y="112" class="tm-text" font-size="17" text-anchor="middle" direction="rtl">ناحیهٔ کوچک</text><text x="375" y="140" class="tm-text2" font-size="15" text-anchor="middle" direction="rtl">راست − چپ = ۱۹۰</text><path d="M225 120 L290 120" class="tm-line-accent" marker-end="url(#arr)"/><rect x="470" y="78" width="150" height="84" rx="12" class="tm-accent"/><text x="545" y="112" class="tm-text" font-size="17" text-anchor="middle" direction="rtl">همان قاعده</text><text x="545" y="140" class="tm-text" font-size="15" text-anchor="middle" direction="rtl">جایگاه بعدی</text><path d="M450 120 L460 120" class="tm-line" marker-end="url(#arr)"/><text x="545" y="205" class="tm-muted" font-size="15" text-anchor="middle" direction="rtl">آشکارساز مشترک</text><rect x="80" y="270" width="170" height="70" rx="10" class="tm-surface"/><text x="165" y="312" class="tm-text" font-size="17" text-anchor="middle" direction="rtl">پاسخهای محلی</text><path d="M255 305 L335 305" class="tm-line" marker-end="url(#arr)"/><rect x="345" y="270" width="170" height="70" rx="10" class="tm-gold"/><text x="430" y="312" class="tm-text" font-size="17" text-anchor="middle">feature map</text><path d="M520 305 L600 305" class="tm-line" marker-end="url(#arr)"/><rect x="610" y="270" width="140" height="70" rx="10" class="tm-green"/><text x="680" y="312" class="tm-text" font-size="17" text-anchor="middle" direction="rtl">ترکیب لایهها</text><text x="430" y="375" class="tm-muted" font-size="15" text-anchor="middle" direction="rtl">الگو کجا بیشتر پیدا شده</text></svg>
```
سه نوع خروجی بینایی
```svg
<svg viewBox="0 0 800 450" xmlns="http://www.w3.org/2000/svg"><defs><marker id="arrow" markerWidth="10" markerHeight="10" refX="8" refY="3" orient="auto"><path d="M0,0 L0,6 L9,3 z" class="tm-arrow"/></marker></defs><rect x="40" y="70" width="300" height="260" rx="16" class="tm-soft"/><text x="190" y="105" text-anchor="middle" font-size="20" class="tm-text" direction="rtl">تصویر</text><circle cx="135" cy="210" r="48" class="tm-green"/><path d="M127 158 Q145 137 160 151" fill="none" class="tm-line"/><text x="135" y="218" text-anchor="middle" font-size="16" class="tm-text" direction="rtl">سیب</text><path d="M250 168 C220 190 225 248 250 262 C275 248 280 190 250 168" class="tm-gold"/><text x="250" y="220" text-anchor="middle" font-size="16" class="tm-text" direction="rtl">گلابی</text><rect x="410" y="110" width="340" height="180" rx="16" class="tm-surface"/><text x="580" y="155" text-anchor="middle" font-size="22" class="tm-text-accent">classification</text><text x="580" y="205" text-anchor="middle" font-size="18" class="tm-text" direction="rtl">سیب گلابی</text><text x="580" y="250" text-anchor="middle" font-size="16" class="tm-muted" direction="rtl">برچسبها؛ بدون مکان</text><path d="M340 200 L400 200" fill="none" class="tm-line" marker-end="url(#arrow)"/><rect x="86" y="161" width="98" height="98" rx="8" fill="none" class="tm-line-accent" stroke-width="4"/><rect x="205" y="150" width="90" height="126" rx="8" fill="none" class="tm-line-accent" stroke-width="4"/><rect x="410" y="320" width="340" height="90" rx="16" class="tm-accent"/><text x="580" y="355" text-anchor="middle" font-size="20" class="tm-text">object detection</text><text x="580" y="385" text-anchor="middle" font-size="15" class="tm-text" direction="rtl">کادر + نام؛ مکان تقریبی</text><path d="M111 192 C117 170 149 169 164 190 L169 224 C163 245 143 253 121 238 Z" class="tm-green"/><path d="M232 184 C222 202 228 240 250 250 C270 239 271 204 260 184 Z" class="tm-gold"/><rect x="40" y="360" width="300" height="55" rx="12" class="tm-surface"/><text x="190" y="395" text-anchor="middle" font-size="20" class="tm-text-accent">segmentation</text><text x="580" y="435" text-anchor="middle" font-size="15" class="tm-text" direction="rtl">برچسب پیکسلی: میوه یا میز</text></svg>
```
آزمون سرنخ پسزمینه
```svg
<svg viewBox="0 0 800 450" xmlns="http://www.w3.org/2000/svg"><defs><marker id="arrow" markerWidth="10" markerHeight="10" refX="8" refY="3" orient="auto"><path d="M0,0 L0,6 L9,3 z" class="tm-arrow"/></marker></defs><rect x="70" y="95" width="250" height="235" rx="18" class="tm-soft"/><text x="195" y="130" class="tm-text" font-size="18" text-anchor="middle" direction="rtl">همان سیب</text><rect x="100" y="155" width="190" height="95" rx="12" class="tm-taupe"/><text x="195" y="215" class="tm-text" font-size="30" text-anchor="middle" direction="rtl">سیب</text><text x="195" y="285" class="tm-text2" font-size="16" text-anchor="middle" direction="rtl">زمینهٔ ساده</text><rect x="480" y="95" width="250" height="235" rx="18" class="tm-surface"/><text x="605" y="130" class="tm-text" font-size="18" text-anchor="middle" direction="rtl">پیشبینی مدل</text><text x="605" y="205" class="tm-text-accent" font-size="28" text-anchor="middle" direction="rtl">گلابی</text><text x="605" y="255" class="tm-muted" font-size="16" text-anchor="middle" direction="rtl">تغییر پاسخ</text><path d="M330 210 H465" class="tm-line-accent" marker-end="url(#arrow)"/><rect x="70" y="375" width="660" height="45" rx="12" class="tm-green"/><text x="400" y="404" class="tm-text-green" font-size="17" text-anchor="middle" direction="rtl">آزمون با عکسهای متنوع؛ وابستگی به پسزمینه</text></svg>
```
Back to course