# Low Code Examples

Here you'll find quick guides to creating App Pops with a variety of use cases. All you need to do is create or edit your pop and enter information as provided and your Pop will be ready for action.

The following guides require you having an App Pop up and running with a 2D Body Pose enabled model selected. If you have yet to do this, follow the steps below, otherwise, continue on to the guides.&#x20;

## Creating an App Pop

#### **1. Poor Posture Counter and Face Obfuscator**

Detect the number of times the user hunches into their laptop, while obfuscating their face for privacy. This assumes the camera is pointing towards the user and is close to eye level. Once the nose point of the user is detected to be below the left shoulder, we assume this means the user is hunching forward.

1. From the dashboard, click Create Pop at the bottom right portion of the page.

<figure><img src="https://1956543008-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2tRktyRCGgE1tPlAfT4h%2Fuploads%2FZLTg36ZZuBuG1LUMp1dt%2Fimage.png?alt=media&#x26;token=e41eb203-b3a1-4ac1-a476-2332f9613de1" alt="" width="563"><figcaption><p>Creating a pop</p></figcaption></figure>

2. Select an Build apps

<figure><img src="https://1956543008-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2tRktyRCGgE1tPlAfT4h%2Fuploads%2FTVSaIdofq1Hm3Sby72xT%2Fbrave_2AQYyd6ruc.jpg?alt=media&#x26;token=f73b0204-d929-4980-8e68-7f67b7bf7795" alt="" width="563"><figcaption><p>Selecting App Pop</p></figcaption></figure>

3. Name your Pop

<figure><img src="https://1956543008-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2tRktyRCGgE1tPlAfT4h%2Fuploads%2FtPofNgqJZfl9ot6d4BVu%2Fbrave_ywSQG3dN7L.jpg?alt=media&#x26;token=7124f678-8027-49fb-a22e-3d157ef0f75b" alt="" width="563"><figcaption><p>Name the Pop and Selct an Input Type</p></figcaption></figure>

4. Select a 2D Body Points enabled model an

<figure><img src="https://1956543008-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2tRktyRCGgE1tPlAfT4h%2Fuploads%2FQoM7DVqtu9qkeoWc47R3%2Fbrave_Fp7y9ucVil.jpg?alt=media&#x26;token=c2467e6e-9d40-4f85-a25e-f007368eb4b8" alt="" width="563"><figcaption><p>Select 2D Body Points</p></figcaption></figure>

5. Remove all drawing components and add Pose, Counter, and Posefollow - then you're ready to go.

<figure><img src="https://1956543008-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2tRktyRCGgE1tPlAfT4h%2Fuploads%2FsVAOOKXyShifLFgay8e8%2Fimage.png?alt=media&#x26;token=6695e2b8-0623-43fd-9dc9-5ff1b492b667" alt="" width="563"><figcaption></figcaption></figure>

## Guides

### 1. Poor Posture and Face Obfuscation

Build a quick way to detect how many times a user has hunched towards their laptop. Edit the drawing configuration of your pop as follows:

Counter:&#x20;

```
Biggest Person nose above Biggest Person left shoulder
Biggest Person nose below Biggest Person left shoulder
```

**Posefollow:** [**`https://raw.githubusercontent.com/64blit/files/main/pose_follow/blur_blue_circle.png`**](https://raw.githubusercontent.com/64blit/files/main/pose_follow/blur_blue_circle.png)

<figure><img src="https://1956543008-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2tRktyRCGgE1tPlAfT4h%2Fuploads%2FNbSWsvhMuhSqjSJleaJ0%2Fimage.png?alt=media&#x26;token=4e6e83af-618c-4190-b7b2-5b30e4310637" alt="" width="563"><figcaption><p>Low Code command to detect hunching shoulders</p></figcaption></figure>

<figure><img src="https://1956543008-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2tRktyRCGgE1tPlAfT4h%2Fuploads%2FNBzeVq0adoCexzDv4934%2Fbrave_gIUAxxKWZG.jpg?alt=media&#x26;token=08bb95f9-368c-41b9-bbd6-3da41e22f376" alt="" width="375"><figcaption><p>Obfuscation Draw Command</p></figcaption></figure>

### **2. Fitness: Bicep Curls**

Count the number of curls done, where the left and right wrists go from below the elbow to above the elbow. Simply copy the following into the counter parameter:

```
Biggest Person left wrist below Biggest Person left elbow
Biggest Person right wrist below Biggest Person right elbow
Biggest Person left wrist above Biggest Person left elbow
Biggest Person right wrist above Biggest Person right elbow
```

<figure><img src="https://1956543008-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2tRktyRCGgE1tPlAfT4h%2Fuploads%2FSxk7URTArVIhoX8ILpYs%2Fimage.png?alt=media&#x26;token=abc16f6b-3124-4ba0-9090-12cc015d6e99" alt=""><figcaption><p>Fitness bicep curl tracking made with just a few commands</p></figcaption></figure>

### **3. Fitness: Jumping Jacks**

Count the number of jumping jacks done by the biggest person in the camera frame. Just as the previous two, copy and pase the following into the Counter text box.&#x20;

<pre><code><strong>Biggest Person left wrist below Biggest Person nose
</strong>Biggest Person right wrist below Biggest Person nose
Biggest Person left wrist above Biggest Person nose
Biggest Person right wrist above Biggest Person nose
</code></pre>

### 4. Fitness: Branded Shoulder Press

Add a branded overlay with just a few more lines, as well as lines to help with keeping a good posture. Likewise to the last two examples, copy the following rules into the counter text box. Then, copy the posefollow lines below as well.

<figure><img src="https://1956543008-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2tRktyRCGgE1tPlAfT4h%2Fuploads%2FHe57xFyaWQf00QvkkKrk%2Fworkout.gif?alt=media&#x26;token=749f85d3-a43a-4cd0-a5e7-06b2c96fdcfa" alt=""><figcaption></figcaption></figure>

&#x20;<img src="https://1956543008-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2tRktyRCGgE1tPlAfT4h%2Fuploads%2FUL1tfDXV22DruL1NUhuE%2Fbrave_LqiV05SUds.jpg?alt=media&#x26;token=02ec9400-2421-4382-9aa0-871a102c237c" alt="" data-size="original">

```
Biggest Person left wrist below Biggest Person nose
Biggest Person right wrist below Biggest Person nose
Biggest Person left wrist above Biggest Person nose
Biggest Person right wrist above Biggest Person nose
```

[**https://raw.githubusercontent.com/64blit/files/main/pose\_follow/gym.png**](https://raw.githubusercontent.com/64blit/files/main/pose_follow/gym.png)

### **5. Drowsy Driver**

Detect a driver falling asleep by checking the largest person in frame has their nose dip below their ears two times in a row, indicating a simple head bob.

<figure><img src="https://1956543008-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2tRktyRCGgE1tPlAfT4h%2Fuploads%2FemrlXDR3L7dOUTfmgngY%2Fbrave_PuzmOG6nFW.jpg?alt=media&#x26;token=964b93b3-a86f-4584-85a9-005417fc1834" alt=""><figcaption><p>Low Code commands to detect nose dipping below ear</p></figcaption></figure>

```
Biggest Person nose above Biggest Person left ear
Biggest Person nose below Biggest Person left ear
Biggest Person nose above Biggest Person left ear
Biggest Person nose below Biggest Person left ear
```
