Skip to content

Commit

Permalink
Updates for Windows compatibilty
Browse files Browse the repository at this point in the history
  • Loading branch information
UUoocl committed Feb 12, 2024
1 parent e1b68d2 commit c6fd747
Show file tree
Hide file tree
Showing 8 changed files with 6,106 additions and 751 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules
out
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,20 @@
# MediaPipe_for_OBS
An Electron App to send MediaPipe data to OBS.

Dev install
```
npm install electron --save-dev
```
```
npm run start
```


```
npm install --save-dev @electron-forge/cli
npx electron-forge import
```

```
npm run make
```
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ <h4>Connect to OBS WebSocket Server:</h4>
<label for="Port">Enter Port Number:</label>
<input type="text" id="Port" name="Port" value="4455" /><br>
<label for="PW">Enter Password:</label>
<input type="text" id="PW" name="PW" value="rOiOxwYP5OCtmTeD" /><br>
<input type="text" id="PW" name="PW" value="OBS-WS-Password" /><br>
<br><br>
<label for="openProjectors">Choose a desktop source projector to capture:</label>
<select name="projectors" id="projectors">
<option value="">--Please choose a source--</option>
</select>
<br>`
<input type="button" id="WSconnectButton" value="Refresh list of Projector Windows" />
<input type="button" id="refreshButton" value="Refresh list of Projector Windows" />
<br><br>
<h4><input type="checkbox" id="poseWindow" name="poseWindow" checked value=>
<label for="poseWindow">Pose Detection</label>
Expand Down
4 changes: 2 additions & 2 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ ipcMain.handle('get-sources', async () => {
ipcMain.on('open-pose-window', (event, IP, Port, PW, projectorID, sourceName) => {
console.log("main received IPC")
poseWindow = new BrowserWindow({
width: 300,
height: 300,
width: 500,
height: 800,
x: 100,
y: 100,
frame: true,
Expand Down

0 comments on commit c6fd747

Please sign in to comment.