lennemo09 / dd-pegboard-opencv-client

An interactive OpenCV calibration client for the Interactactive Pegboard project @DeloitteDigital Melbourne office.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Digital Interactive AR Pegboard

An OpenCV GUI calibration client for the Interactive Pegboard project @DeloitteDigital Melbourne office.

How to use

To select a tile on the grid, use the selection fields or the increment Next buttons. At the start the selected row and column will be None. Once a valid tile is selected, use the mouse to draw on the canvas to define a rectangular area of where the corresponding tile is on the image. Each tile can only have one defined region at a time. Use the Toggle Greyscale and Toggle Mask button to toggle between image format for detection.

The 2-D bit array representing detected pegs on the grid is stored in globals.py output_bit_array.

How to activate Python environment

On Windows, in CMD/PowerShell run: pegboard-env\Scripts\activate

On UNIX systems run: source pegboard-env\Scripts\activate

How to use TCP Socket

Add the UnitySocket.cs script to an Unity object and hit play to start the host server.

Run the PythonSocket.py script to connect to the host and send data over the TCP Connection.

About

An interactive OpenCV calibration client for the Interactactive Pegboard project @DeloitteDigital Melbourne office.


Languages

Language:Python 86.2%Language:QML 12.2%Language:C 1.3%Language:JavaScript 0.2%Language:Jupyter Notebook 0.1%Language:Fortran 0.0%Language:CSS 0.0%Language:C# 0.0%Language:HTML 0.0%Language:PowerShell 0.0%Language:Batchfile 0.0%