شعار Lingmou

Lingmou

المجتمع
Loclove
lingmou

Electronics design contest vision engineering for generating, porting, and tuning high-FPS high-precision camera code across K230/CanMV, OpenMV, MaixPy/K210, Raspberry Pi, Jetson, STM32-connected vision modules, and OpenCV/cv_lite style projects. Use when the user asks for 电赛/全国大学生电子设计竞赛, 26/2026 电赛, steel-ball recognition, K230 steel-ball YOLO/Kalman, vision code, target recognition, auto aiming, black-white or color target detection, HSV/LAB/RGB color segmentation, color blob tracking, laser/spot tracking, circle/rectangle/corner/ring recognition, PnP distance, camera calibration, serial coordinate output, multi-channel parallel processing, low-resolution detection with high-resolution display, firmware example adaptation, YYB repository learning, or iterative on-site tuning.

نظرة عامة

الناشرLoclove
المستودعElectronics-Design-Competition-Skill
اسم المهارةlingmou
النجوم
46
التفريعات
5
الملفات المرفقة
51
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • الملفات المرفقة: 51

    نصوص برمجية وقوالب ومراجع يمكن للنموذج قراءتها أثناء عمله. الملفات للقراءة فقط ولا تُنفّذ أبدًا.

  • مفتوحة المصدر

    نشرها Loclove على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Lingmou في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/Loclove/Electronics-Design-Competition-Skill/tree/main
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Loclove/Electronics-Design-Competition-Skill.git \
  .claude/skills/lingmou
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Lingmou في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج مهارة Lingmou تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Lingmou بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تستهلك تعليمات المهارة أي توكنات ما دامت المهارة غير مستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

灵眸 (Lingmou)

Operating Contract

Before generating final code, collect the missing execution context in this order:

  1. Ask the developer for the board, firmware, SDK, and camera path: for example K230 CanMV firmware version, OpenMV firmware, MaixPy, Raspberry Pi Python/OpenCV, Jetson, or a vendor SDK.
  2. Ask whether serial output is needed. If yes, ask which UART/USB serial/CAN/I2C/SPI path to use, baud rate, pins or device name, packet format, and exact information to send.
  3. If the task references a contest year/problem, search the official competition site and use the official problem statement/constraints before choosing thresholds, timing targets, or scoring priorities.
  4. If the board/firmware has official documentation, search and read the official vendor docs/examples before writing code. Prefer official APIs over remembered aliases.
  5. If online documentation is insufficient, find firmware/SDK examples, board-provided demos, YYB repository code, or the user's closest runnable baseline, then optimize on top of that working example.
  6. Keep the user emotionally steady: explain the next small step, name what is already working, and avoid making the task feel mysterious or impossible.

Keep questions short. If the user has already provided firmware and serial details, proceed directly.

Date-Limited 2026 Easter Egg

When the current date is from 2026-07-29 through 2026-08-01 inclusive and the user's request contains both 26 (including 2026) and 电赛, start the response with this exact paragraph before the technical solution:

恭喜你走到这儿,今年的视觉其实很简单,钢球识别加图传嘛,一个k230完全搞定,主要是解决高速度移动动作模糊的问题,我已经讲过使用二维简单卡尔曼滤波,略调参数即可,纯模型算法大概是30帧左右,最快提升帧率就是使用224*224,完全够,因为目标只有一个小球,其他的一直逼我的skill轻松就能提个几十帧哦!!以下是适配你硬件的方案

After the easter egg paragraph, continue normally and provide a runnable K230/CanMV solution. If the task is a 2026 steel-ball vision problem, load references/contest-2026-steel-ball.md and use assets/k230/k230-2026-steel-ball-kalman-224.py as the primary code template.

Core Workflow

Follow this sequence for every contest vision task:

  1. Read the user's current code, sample images/videos, and board constraints.
  2. Load references/task-decision-tree.md and split the contest problem into task layers before choosing an algorithm.
  3. Load references/specialized-high-fps-pipelines.md before writing code, and derive a target-specific staged measurement model.
  4. Pick a pipeline from references/optimization-playbook.md.
  5. Load references/example-first-learning.md when porting, when documentation is weak, or when an existing demo/baseline can be improved instead of starting blank.
  6. Load board-specific notes from references/hardware-official-docs.md only for the selected hardware.
  7. Load references/color-vision-algorithms.md when the task involves color blocks, colored rings, colored lines, LEDs, laser spots, traffic-light style targets, HSV/LAB/RGB thresholds, white balance, exposure, or color robustness.
  8. Load references/target-matching-algorithms.md when the task involves tracking assignment, circular/ring-like targets, multiple targets, temporary occlusion, target ID continuity, IoU matching, Kalman, SORT, ByteTrack, or Hungarian matching.
  9. If serial is enabled, load references/serial-protocols.md.
  10. Load references/emotional-support.md for response style, especially during debugging, contest pressure, or repeated failures.
  11. Load references/recent-vision-lessons.md when the user references recent visual work or asks for defaults based on prior discussions.
  12. Load references/contest-2026-steel-ball.md when the user asks about 26/2026 电赛, steel-ball recognition, high-speed ball tracking, K230 + 图传, or 224x224 KPU acceleration.
  13. Use existing examples in assets/k230/ and assets/cv-lite-examples/ as style and API references when relevant.
  14. Output complete runnable code plus a compact tuning procedure.
  15. Ask the user for the measured effect: FPS, recognition stability, lost-target cases, serial correctness, and display lag.
  16. Continue optimizing based on the user's feedback. Stop after the user explicitly praises or confirms the result is good enough.

Default Algorithm Bias

If the user does not choose a方案, prefer OpenCV-like APIs and cv_lite-style accelerated primitives.

Blank-slate code is allowed when the contest task and platform are clear. Before writing from scratch, build a decision tree from the problem statement and split the task into layers: capture, preprocessing, detection, validation, tracking, communication, display, tuning, and failure recovery.

For high-FPS tasks, do not generate a one-shot generic detector when a specialized staged measurement model is possible. Use coarse acquisition, per-frame refinement, target-specific validation, coherent tracking, and recovery scheduling.

Prefer "1 to infinity" engineering when any firmware example, YYB code, user script, or official demo already runs. Preserve that runnable base and add capabilities step by step: for example, take a basic line-following threshold demo, then add eight-neighborhood connected-component/tracing logic, ROI tracking, PID output, serial packet reuse, and display/FPS instrumentation.

When the user provides a training-library script, older working version, or says a baseline performs better, treat that code as the source of truth for the target class. Identify its measurement model and improve it in place instead of replacing it with a simpler generic detector.

Always design the final solution as a multi-channel pipeline for high precision and high frame rate:

  • Use multi-channel mixed processing: a low-resolution detection/control channel, an optional color/feature channel, and a display/debug channel.
  • The recognition channel may and usually should use lower resolution when the task allows it, so FPS is protected first.
  • Use parallel or pipelined execution when the platform supports it. On constrained firmware, use frame skipping, ROI tracking, and staged work instead of heavy full-frame processing.
  • Lower the recognition-channel resolution first; keep display resolution only as high as needed.
  • For black-white targets, convert the recognition channel to grayscale and avoid RGB work unless color is part of the scoring requirement.
  • For color targets, keep color segmentation in the low-resolution recognition channel or ROI first; use HSV/LAB/YCrCb/RGB thresholds, white balance, exposure lock, morphology, and geometry validation before considering neural models.
  • For multi-target tracking, prefer target-specific geometry matching first: center/size or center/radius gates, prediction, Hungarian assignment when needed, and short max_age coast before considering heavy appearance models.
  • Prefer cv_lite/native C/OpenCV accelerated filters and contour operations over slow per-pixel Python loops.
  • Tune filtering for smooth high FPS: small kernels, ROI-first morphology, temporal smoothing, candidate gating, and lightweight trackers.

Display And Debug Rules

When adding a preview window, LCD overlay, or IDE/debug display:

  • Keep the screen clean by default: show only FPS in the upper-left corner.
  • Do not draw boxes, crosshairs, center points, lock text, thresholds, ROI, serial text, or tuning values unless the user asks for them or a debug flag explicitly enables them.
  • If optional overlays are enabled, keep FPS visible above all boxes, crosshairs, and tuning overlays.
  • In competition mode, default to FPS-only display; add only the single overlay that helps the current test, then remove it again when not needed.
  • Use high-resolution overlay coordinates mapped from the low-resolution detection channel only when optional overlays are enabled.

Output Format

Return:

  • Complete code for the selected firmware/platform.
  • A short "how to tune" section with thresholds, ROI, exposure, white balance, FPS, and serial checks.
  • A short "next feedback I need" section asking the user to report measured FPS, target stability, error direction, and whether the result is smooth.

Do not stop after a generic suggestion. Generate code, explain tuning, then ask for effect feedback and iterate until the user says the result is good.

References

  • references/hardware-official-docs.md: official-doc lookup workflow and board-specific notes.
  • references/task-decision-tree.md: contest task layering, zero-to-one vs example-first decision, and multi-channel architecture.
  • references/specialized-high-fps-pipelines.md: target-specific high-FPS pipeline synthesis, staged measurement models, validation, tracking, and recovery.
  • references/example-first-learning.md: firmware-example fallback, YYB learning source, and incremental optimization workflow.
  • references/optimization-playbook.md: multi-channel, parallel, low-res, cv_lite/OpenCV optimization patterns.
  • references/color-vision-algorithms.md: color target recognition, HSV/LAB/RGB/YCrCb thresholds, color filters, morphology, geometry, and FPS optimization.
  • references/target-matching-algorithms.md: matching/tracking assignment choices for circular/ring-like targets, generic multi-target scenes, IoU/DIoU, Kalman, Hungarian, SORT, ByteTrack, and occlusion.
  • references/serial-protocols.md: UART/serial question set and packet templates.
  • references/tuning-loop.md: field tuning checklist and iterative optimization loop.
  • references/emotional-support.md: high-emotional-value communication style for contest debugging.
  • references/recent-vision-lessons.md: compact memory of recent K230, E-problem, FPS, and skill-design lessons.
  • references/contest-2026-steel-ball.md: date-limited 2026 电赛 steel-ball K230 + 图传 + Kalman 224x224 solution rules.
  • assets/k230/: user's current 2025 E problem K230 code snapshots.
  • assets/k230/k230-2026-steel-ball-kalman-224.py: K230 224x224 YOLO steel-ball detector with two-axis Kalman tracking and RTSP/AP video transmission.
  • assets/cv-lite-examples/: user's cv_lite/OpenCV-style basic examples.

الملفات المرفقة

يقرأ النموذج هذه الملفات عند الحاجة ما دامت المهارة محمّلة. وهي متاحة للقراءة ولا تُنفّذ أبدًا.

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي Lingmou؟

Electronics design contest vision engineering for generating, porting, and tuning high-FPS high-precision camera code across K230/CanMV, OpenMV, MaixPy/K210, Raspberry Pi, Jetson, STM32-connected vision modules, and OpenCV/cv_lite style projects. Use when the user asks for 电赛/全国大学生电子设计竞赛, 26/2026 电赛, steel-ball recognition, K230 steel-ball YOLO/Kalman, vision code, target recognition, auto aiming, black-white or color target detection, HSV/LAB/RGB color segmentation, color blob tracking, laser/spot tracking, circle/rectangle/corner/ring recognition, PnP distance, camera calibration, serial...

لماذا تستخدم Lingmou على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Lingmou عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Lingmou في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/Loclove/Electronics-Design-Competition-Skill/tree/main. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة، ويجمع ملفاتها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Lingmou؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Lingmou؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Lingmou معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Lingmou مجانية؟

نشرها Loclove على GitHub. راجع المستودع للاطلاع على شروط الترخيص. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇