kids-aquarium / aquarium

Unity parts of the project
5 stars 1 forks source link

Scanner enhancement 001 #33

Closed delphi1004 closed 6 years ago

delphi1004 commented 6 years ago

This is enhancement task for the scanner module. there is several items have enhanced.

I realized that current fish image from camera flipped 180degree of the x-axis. so I added flipping function to the scanner module. of course, we can solve this problem to install the camera with 180-degree opposite from the current. but it is better to solve this problem by a code. because we don't know yet about how the camera would be installed to new scanner rig.

  1. QR code image has enhanced.

org

enhanced

  1. Aid function added for the first installation. we need to save the raw image from the camera when we install this system for the first time. because there is the only way to make a fish mask with the raw camera image. To enable debug mode just push "d" key from your keyboard. internally, it makes isDebugMode = true when you click 's' button with isDebugMode = true then it will save raw camera image then use this image to create a mask.

fish_scanned_00

  1. If the first QR isn't detected then the scanner module will automatically try to find QR code from the next position to the last one.

fish_scanned_05