การอนุมานโมเดลช้ากว่าที่คาดไว้ ตรวจสอบว่าโมเดลถูกคอมไพล์ให้ทำงานบน NPU ในตัวจริง ๆ ไม่ใช่กลับไปใช้ CPU อเนกประสงค์
การอัปเกรดเสริม
เมื่อโมเดลการประมวลผลภาพทำงานได้แล้ว ให้เชื่อมต่อกับออดหรือ LED จากกล่องอะไหล่เพื่อเป็นเอาต์พุตทางกายภาพอย่างง่าย เป็นการปิดวงจรจากสิ่งที่กล้องมองเห็นไปสู่การกระทำจริงในโลกทางกายภาพ
การเดินสายไฟ
Sipeed MaixCAM Pro USB-C → PC/แหล่งจ่ายไฟ USB — นี่คือบอร์ดสไตล์ SBC ที่ใช้ Linux แบบสแตนด์อโลนพร้อมกล้องและ NPU ในตัว ไม่จำเป็นต้องบอร์ดทดลองสำหรับการตั้งค่าเริ่มต้น
ข้อสังเกตสำคัญ: MaixCAM Pro ไม่ใช่เป้าหมายสำหรับ Arduino-sketch เป็นบอร์ดประมวลผลภาพ AI แบบ Edge RISC-V ที่มี NPU ในตัว ซึ่งบูตระบบปฏิบัติการ Linux ของตัวเอง และรันสแต็กซอฟต์แวร์ของ Sipeed เอง (MaixPy/MaixCPY, SDK ที่ใช้ Python, หรือแอปพลิเคชันผู้ใช้ Linux) — ไม่ใช่เฟิร์มแวร์ C++ Arduino ที่แฟลชเหมือนบอร์ดอื่นๆ ในกลุ่มนี้
# ILLUSTRATIVE ONLY — shows the general shape of a MaixPy-style camera/display
# loop on Sipeed's MaixCAM Pro. Exact module names, object methods, and NPU
# model-loading calls are NOT verified against the current official SDK —
# confirm all API names/usage against Sipeed's official MaixCAM Pro / MaixPy
# documentation and example code before relying on this.
from maix import camera, display, image # illustrative import shape — confirm real module paths in Sipeed's docs
def main():
cam = camera.Camera() # illustrative — open the onboard camera
disp = display.Display() # illustrative — open the onboard/attached display output
while True:
img = cam.read() # illustrative — capture a frame
# Real object/person detection on this board's NPU requires loading
# a model via Sipeed's own model-loading + inference API (e.g. their
# documented NPU/model runner calls) — see Sipeed's official MaixCAM
# Pro examples for the real, current syntax rather than fabricated
# calls here.
disp.show(img) # illustrative — push the frame to the display
if __name__ == "__main__":
main()