Skip to content

Commit 10525c7

Browse files
authored
Update README.md
1 parent ff0737c commit 10525c7

File tree

1 file changed

+5
-17
lines changed

1 file changed

+5
-17
lines changed

README.md

+5-17
Original file line numberDiff line numberDiff line change
@@ -80,26 +80,14 @@ That's it. Your AWS KAfka cluster is up and running on Docker Swarm Nodes.
8080

8181
# Running the Consumer Script
8282

83-
To run the consumer script, we need to focus on two files: consumer.py and image_processor.py
84-
Under the image_processor.py you need to add ACCESS KEY details of your AWS account and under consumer.py you need to add your correct kafka cluster IP.
85-
86-
87-
## Running Image Processor Script(Run on any AWS instance)
88-
89-
90-
```
91-
sudo docker run -it --privileged --device /dev/video0:/dev/video0 ajeetraina/pico-producer-rpi python3 consumer_camera.py
92-
```
83+
To run the consumer script, we need to focus on two files:
84+
- consumer.py and
85+
- image_processor.py
9386

94-
## Execute the Consumer Script
87+
Under the image_processor.py you need to add ACCESS KEY details of your AWS account and under consumer.py you need to add your correct kafka cluster IP.
9588

96-
```
97-
nohup python3 image_processor.py
98-
nohup python3 consumer.py
99-
```
10089

101-
Sequence of the script should be:
102-
image_processor > consumer script > producer script
90+
Here you go..
10391

10492
Just place any object in front of camera module and it shall detect the object automatically with tagging about the object type.
10593

0 commit comments

Comments
 (0)