issues
search
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:
I selected ROI using iotdemo-motion-detector tool and saved as motion.cfg.
I generated two classes('white' and 'blue') using iotdemo-color-detector tool and saved as color.cfg.
Thread1
Detect frame.
Using DT model, guess that it is X or Circle.
Print ratio.
Enqueue ('PUSH', 1) to q.
Thread2
Detect frame
Determinate color.
Print ratio.
Enqueue ('PUSH', 2) to q.
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.
Results :
ratio
uploaded factory.py
Details: