Commit f946d88
Add hide your mess behind demo (background blurring JS demo) (#26)
* adding simple app to handle webcam
* gitignore update for nodeJs purposes
* detecting devices done
* Updated view
* tidying renderer and simplifying start/stop button
* Further code cleaning
* attempts to change webcam handler to node-webcam | webcam.capture not a function problem | mock runModel function
* Added icon
* New application UI
* Updated UI
* Hide menu bar
* back to streaming from mediaDevices, but with new GUI (testing version - need to switch to node-webcam or other)
* Removed unnecessary forge config
* Added app info
* Added more linux targets
* streaming using single frames done
* deleting node-webcam from package json
* size of camera image corrected
* path from runModel in renderer to runModel in ov jobs built | problem with passing the image (local resource)
* changing the quality of webcam video
* Added black webcam placeholder
* choosing video source (webcams)
* Small UI fixes
* passing image to ov jobs
* do not toggle sign on button if not clicking the button
* Pass device to the function
* Added cache for the OV models
* raporting inference time: work in progress
* raporting inference time: done
* bug with black placeholder not showing up taken care of
* processing time 0 when not processing | not declaring variable in handler
* converting base64 to mat
* work on image processing | subtraction of processing time from delay
* convertion to mat from imageData, skipping base64, more efficient way
* async taking time function
* Added FPSs
* processing time -> inference time
* FIXED: Error occurred in handler for 'run-model'
* Deleted debugging redundance
* FIXED: RangeError: offset is out of bounds
* small corrections
* work on README
* work on README
* New name in README
* Preprocessing mat function
* Fixing error in padding
* Conversion cv.Mat to ov.Tensor
* preparation to interference
* work on model inference - program stops after a few loops
* semaphore to handle async functions
* cleaning code
* results of inference
* preparation to postprocessing
* normalize data in tensor (0-1) | work in progress on postprocessing
* mask postprocessing
* gausian blur function corrected | minor changes
* 2 options mat resizing | work on blurring
* mat resize: 5.1266000010073185
* mat and array resize time in comment
* everything mock implemented | error occured & really not efficiant
* logging | took inverseConditionMat to global | bitwise_and causes problems
* TODO: optimization, blurred/org merging, displaying the final image
* stop counting when display stopped
* condition mat to be changed - too time consuming and not working properly
* deleted kernel errors file
* displaying the mat - work in progress
* mask threshold
* ImageData object transferred to renderer
* EOD | nothing valuable, just saving my effort
* ImageData declared in front, DISPLAYING IMAGE WORKS
* Cleaning code | Faster mat to tensor conversion
* mat resizing back to OpenCV
* deleting kernel error + git ignore
* not using helpers
* Small code refactor
* work on postprocessing: softmax analysis
* Small renderer refactor
* mask and blurring done
* merging images works
* all functionalities implemented
* code cleaning
* counting average time inference from 50 last inferences
* taking blurring to seperate function
* access to blurring from frontend
* async inference + blur
* blur -> resize ( time saving 150 -> 70)
* deleting kernel errors file + typo in gitignore
* contribution to demos README
* adding photo to demos readme
* updating README and changing the app name
* changing the way of uploading image in demos README
* check if it's compiled before reading model
* check for mat size (enabling change for webcam with different quality)
* fixing the oversight in previous commit
* adding inference switch
* First inference done before changing the switch
* small visual changes
* new photo in demos readme
* hide your mess README
* maybe stackblur canvas?
* attempts to create a model for blurring
* PostProcModel working
* converting model to OpenVINO
* creating model with flexible input
* version without padding | back to OpenCV blur
* OV blurring model creation fixed and testing functions deleted
* blurring changed to model
* changing the folder name
* back to MVP
* Preparing for publishing
* readme update
* readme mistake fixed
* updated photos in hymb demo README
* updated images in demos readme
* small changes in UI
* preparing code for publishing | code rewiev with Adrian
* semaphore moved to ov jobs
* new ideas | code rewiev with Adrian
* Small code changes
---------
Co-authored-by: Adrian Boguszewski <[email protected]>1 parent a6c46e7 commit f946d88
File tree
17 files changed
+19775
-0
lines changed- demos
- hide_your_mess_behind_demo
- assets
- icons
- models
- src
17 files changed
+19775
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
49 | 61 | | |
50 | 62 | | |
51 | 63 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
Binary file not shown.
Binary file not shown.
0 commit comments