kccistc / intel-02

1 stars 5 forks source link

[yeongdaeKim] CLASS02 Smart factory Final upload #344

Closed roby238 closed 11 months ago

roby238 commented 11 months ago

uploaded factory.py

Details:

  1. I selected ROI using iotdemo-motion-detector tool and saved as motion.cfg.
  2. I generated two classes('white' and 'blue') using iotdemo-color-detector tool and saved as color.cfg.
  3. Thread1
    • Detect frame.
    • Using DT model, guess that it is X or Circle.
    • Print ratio.
    • Enqueue ('PUSH', 1) to q.
  4. Thread2
    • Detect frame
    • Determinate color.
    • Print ratio.
    • Enqueue ('PUSH', 2) to q.
  5. Main : dequeue data(name, frame) from q.
    • If name is 'PUSH', run actuator.
    • If name is 'DONE', flag off. Finish the loop.
    • If name is 'VIDEO...', show the frame.
  6. Results :
    • ratio Screenshot from 2023-11-15 11-24-30