Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

24 rader
1.1 KiB

  1. A general flow of the work:
  2. (readFrames) --> [buffer] --> (vehicleDetection) --> [buffer] --> (number plate)--> (OCR) --> [buffer] --> display --> [buffer] --> save video.
  3. .Parallelizing the pipeline
  4. a. Start reading frames and add them in an input buffer.
  5. b. Take the frames from input buffer and run vehicleDetection on them (2-4 processes)
  6. c. Add the frames in an output buffer and sort them.
  7. d. Take the frames from output buffer and then perform numberplate and ocr detection on them.
  8. e. display the frames
  9. f. write the frames in an output video buffer and save it.
  10. +++++++++++++++++++++++++
  11. 1. Create a function which can read files and put them into buffer along with frame ID
  12. 2. Create the buffer which can hold the object from 1.
  13. 3. Integrate these 1.2. -- core 1 --
  14. 4. Consumer/producer for vehicle detection. -- core 1 --
  15. 5. Buffer for storing detected objets and integrate with 4
  16. 6. Consumer/Producer for numberplate and ocr
  17. 8. Add these into a buffer.
  18. 9. consumer for taking video and sorting and merging the frames.
  19. +++++++++++++++++++++++++++++
  20. 1. >>
  21. a. Create a class for reading frames given the path and store it in a queue.