<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>BrainyPi Team, Author at Brainy Pi</title>
	<atom:link href="https://brainypi.com/author/brainypi-team/feed/" rel="self" type="application/rss+xml" />
	<link>https://brainypi.com/author/brainypi-team/</link>
	<description>Brainy Pi -Enterprise Single board ARM Computer (for mass production ready prototype creation)</description>
	<lastBuildDate>Mon, 10 Feb 2025 03:07:02 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.3</generator>

<image>
	<url>https://brainypi.com/wp-content/uploads/2023/03/cropped-Brainypi-Logo-iotiot-stamp9--32x32.png</url>
	<title>BrainyPi Team, Author at Brainy Pi</title>
	<link>https://brainypi.com/author/brainypi-team/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>BrainyPi Community Events: Building Together</title>
		<link>https://brainypi.com/brainypi-community-events-build-together/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=brainypi-community-events-build-together</link>
					<comments>https://brainypi.com/brainypi-community-events-build-together/#respond</comments>
		
		<dc:creator><![CDATA[BrainyPi Team]]></dc:creator>
		<pubDate>Sun, 09 Feb 2025 10:59:11 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<guid isPermaLink="false">https://brainypi.com/?p=5983</guid>

					<description><![CDATA[<p>  Over the past few years, the BrainyPi community has had the privilege of fostering innovation, creativity, and hands-on learning through a diverse range of engaging events. Consequently, these initiatives have provided individuals with the opportunity to explore cutting-edge technologies and expand their technical expertise. Through programs like the Makers Club and AI and IoT workshops, we have worked closely [&#8230;]</p>
<p>The post <a href="https://brainypi.com/brainypi-community-events-build-together/">BrainyPi Community Events: Building Together</a> appeared first on <a href="https://brainypi.com">Brainy Pi</a>.</p>
]]></description>
										<content:encoded><![CDATA[		<div data-elementor-type="wp-post" data-elementor-id="5983" class="elementor elementor-5983" data-elementor-post-type="post">
						<section class="elementor-section elementor-top-section elementor-element elementor-element-396b199 elementor-section-boxed elementor-section-height-default elementor-section-height-default" data-id="396b199" data-element_type="section">
						<div class="elementor-container elementor-column-gap-default">
					<div class="elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-fde4b76" data-id="fde4b76" data-element_type="column">
			<div class="elementor-widget-wrap elementor-element-populated">
						<div class="elementor-element elementor-element-2aa7546 elementor-widget elementor-widget-text-editor" data-id="2aa7546" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<h6 data-pm-slice="1 1 []"> </h6><h6 data-pm-slice="1 1 []"><img fetchpriority="high" decoding="async" class="alignnone" src="https://brainypi.com/wp-content/uploads/2025/02/c26bb181-9661-47ee-b435-344175352294.jpg" alt="BrainyPi Event" width="1280" height="960" /></h6><h6>Over the past few years, the <a href="https://brainypi.com/">BrainyPi</a> community has had the privilege of fostering innovation, creativity, and hands-on learning through a diverse range of engaging events. Consequently, these initiatives have provided individuals with the opportunity to explore cutting-edge technologies and expand their technical expertise. Through programs like the Makers Club and AI and IoT workshops, we have worked closely with passionate individuals, guiding them in their journey to experiment, collaborate, and bring their ideas to life. Therefore, seeing participants apply their skills in meaningful ways has been incredibly rewarding. Furthermore, we are grateful to be part of a community that values continuous learning, creative problem-solving, and collective growth.</h6><h6>Moreover, BrainyPi events are designed to provide valuable opportunities for learning and collaboration, catering to makers, developers, tech enthusiasts, and anyone curious about emerging technologies. Hence, regardless of experience level, participants gain practical knowledge that helps them innovate and build with confidence. As we reflect on our journey, it is exciting to explore the impact and achievements of this vibrant and growing community.</h6><h3><strong><img src="https://s.w.org/images/core/emoji/16.0.1/72x72/1f680.png" alt="🚀" class="wp-smiley" style="height: 1em; max-height: 1em;" /> Makers Club: Turning Ideas into Reality</strong></h3><h6>The Makers Club has played a pivotal role in strengthening the BrainyPi community by bringing together tech enthusiasts and innovators eager to transform ideas into real-world projects. As a result, these sessions have provided hands-on experience, encouraging participants to work with hardware, software, and electronics. Thus, individuals have been able to experiment, refine their concepts, and develop working prototypes while contributing to an inclusive <strong>build space for builders</strong>.</h6><h4><strong>Highlights from the Makers Club:</strong></h4><ul><li><h6><strong>Hands-on Electronics &amp; Coding:</strong> Participants delved into embedded systems, microcontrollers, and sensor integrations, gaining essential technical skills.</h6></li><li><h6><strong>DIY Tech Projects:</strong> By leveraging BrainyPi, members created innovative solutions such as smart home automation, robotics, and IoT-enabled devices.</h6></li><li><h6><strong>Collaboration &amp; Networking:</strong> These sessions fostered a thriving space where participants exchanged ideas, solved challenges together, and formed dynamic project teams.</h6></li></ul><p> </p>								</div>
				</div>
				<div class="elementor-element elementor-element-be062b5 elementor-skin-carousel elementor-arrows-yes elementor-pagination-type-bullets elementor-pagination-position-outside elementor-widget elementor-widget-media-carousel" data-id="be062b5" data-element_type="widget" data-settings="{&quot;skin&quot;:&quot;carousel&quot;,&quot;effect&quot;:&quot;slide&quot;,&quot;show_arrows&quot;:&quot;yes&quot;,&quot;pagination&quot;:&quot;bullets&quot;,&quot;speed&quot;:500,&quot;autoplay&quot;:&quot;yes&quot;,&quot;autoplay_speed&quot;:5000,&quot;loop&quot;:&quot;yes&quot;,&quot;pause_on_hover&quot;:&quot;yes&quot;,&quot;pause_on_interaction&quot;:&quot;yes&quot;,&quot;space_between&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;size&quot;:10,&quot;sizes&quot;:[]},&quot;space_between_tablet&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;size&quot;:10,&quot;sizes&quot;:[]},&quot;space_between_mobile&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;size&quot;:10,&quot;sizes&quot;:[]}}" data-widget_type="media-carousel.default">
				<div class="elementor-widget-container">
									<div class="elementor-swiper">
					<div class="elementor-main-swiper swiper" role="region" aria-roledescription="carousel" aria-label="Slides">
				<div class="swiper-wrapper">
											<div class="swiper-slide" role="group" aria-roledescription="slide">
									<div class="elementor-carousel-image" role="img" aria-label="6330417a-b3bb-4ec2-8472-eb6d7afaa6b7" style="background-image: url(&#039;https://brainypi.com/wp-content/uploads/2025/02/6330417a-b3bb-4ec2-8472-eb6d7afaa6b7.jpg&#039;)">

			
					</div>
								</div>
											<div class="swiper-slide" role="group" aria-roledescription="slide">
									<div class="elementor-carousel-image" role="img" aria-label="IMG_4748" style="background-image: url(&#039;https://brainypi.com/wp-content/uploads/2025/02/IMG_4748-scaled.jpg&#039;)">

			
					</div>
								</div>
											<div class="swiper-slide" role="group" aria-roledescription="slide">
									<div class="elementor-carousel-image" role="img" aria-label="IMG_3043" style="background-image: url(&#039;https://brainypi.com/wp-content/uploads/2025/02/IMG_3043-scaled.jpg&#039;)">

			
					</div>
								</div>
											<div class="swiper-slide" role="group" aria-roledescription="slide">
									<div class="elementor-carousel-image" role="img" aria-label="IMG_3215" style="background-image: url(&#039;https://brainypi.com/wp-content/uploads/2025/02/IMG_3215-scaled.jpg&#039;)">

			
					</div>
								</div>
											<div class="swiper-slide" role="group" aria-roledescription="slide">
									<div class="elementor-carousel-image" role="img" aria-label="IMG_4878" style="background-image: url(&#039;https://brainypi.com/wp-content/uploads/2025/02/IMG_4878-scaled.jpg&#039;)">

			
					</div>
								</div>
											<div class="swiper-slide" role="group" aria-roledescription="slide">
									<div class="elementor-carousel-image" role="img" aria-label="IMG_6590" style="background-image: url(&#039;https://brainypi.com/wp-content/uploads/2025/02/IMG_6590-scaled.jpg&#039;)">

			
					</div>
								</div>
											<div class="swiper-slide" role="group" aria-roledescription="slide">
									<div class="elementor-carousel-image" role="img" aria-label="IMG_6395" style="background-image: url(&#039;https://brainypi.com/wp-content/uploads/2025/02/IMG_6395-scaled.jpg&#039;)">

			
					</div>
								</div>
									</div>
															<div class="elementor-swiper-button elementor-swiper-button-prev" role="button" tabindex="0" aria-label="Previous">
							<i aria-hidden="true" class="eicon-chevron-left"></i>						</div>
						<div class="elementor-swiper-button elementor-swiper-button-next" role="button" tabindex="0" aria-label="Next">
							<i aria-hidden="true" class="eicon-chevron-right"></i>						</div>
																<div class="swiper-pagination"></div>
												</div>
				</div>
								</div>
				</div>
				<div class="elementor-element elementor-element-8570092 elementor-widget elementor-widget-text-editor" data-id="8570092" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<h2><img src="https://s.w.org/images/core/emoji/16.0.1/72x72/1f393.png" alt="🎓" class="wp-smiley" style="height: 1em; max-height: 1em;" /> AI &amp; IoT Workshops: Learning by Doing</h2><h6>AI and IoT Workshops have offered a unique opportunity for individuals to gain hands-on experience with emerging technologies. As artificial intelligence continues to advance and the Internet of Things becomes more integrated into everyday life, we have actively worked to bridge the knowledge gap. By providing practical, real-world applications, these workshops have helped attendees develop essential skills, empowering them to apply their learning in meaningful ways.</h6><h3>What We Covered:</h3><ul data-spread="false"><li><h6><strong>Introduction to AI &amp; Machine Learning:</strong> Understanding fundamental AI concepts, neural networks, and real-world applications.</h6></li><li><h6><strong>IoT for Beginners &amp; Advanced Users:</strong> From setting up IoT sensors to deploying cloud-based automation.</h6></li><li><h6><strong>BrainyPi-Powered AI Projects:</strong> Participants built AI models for object detection, speech recognition, and predictive analytics.</h6></li><li><h6><strong>Live Demonstrations &amp; Take-home Kits:</strong> Interactive learning experiences with real-world implementations.</h6></li></ul>								</div>
				</div>
				<div class="elementor-element elementor-element-bc80c2d elementor-skin-carousel elementor-arrows-yes elementor-pagination-type-bullets elementor-pagination-position-outside elementor-widget elementor-widget-media-carousel" data-id="bc80c2d" data-element_type="widget" data-settings="{&quot;skin&quot;:&quot;carousel&quot;,&quot;effect&quot;:&quot;slide&quot;,&quot;show_arrows&quot;:&quot;yes&quot;,&quot;pagination&quot;:&quot;bullets&quot;,&quot;speed&quot;:500,&quot;autoplay&quot;:&quot;yes&quot;,&quot;autoplay_speed&quot;:5000,&quot;loop&quot;:&quot;yes&quot;,&quot;pause_on_hover&quot;:&quot;yes&quot;,&quot;pause_on_interaction&quot;:&quot;yes&quot;,&quot;space_between&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;size&quot;:10,&quot;sizes&quot;:[]},&quot;space_between_tablet&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;size&quot;:10,&quot;sizes&quot;:[]},&quot;space_between_mobile&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;size&quot;:10,&quot;sizes&quot;:[]}}" data-widget_type="media-carousel.default">
				<div class="elementor-widget-container">
									<div class="elementor-swiper">
					<div class="elementor-main-swiper swiper" role="region" aria-roledescription="carousel" aria-label="Slides">
				<div class="swiper-wrapper">
											<div class="swiper-slide" role="group" aria-roledescription="slide">
									<div class="elementor-carousel-image" role="img" aria-label="0fe3bbdd-810b-49cf-ad06-b07f899d5e82" style="background-image: url(&#039;https://brainypi.com/wp-content/uploads/2025/02/0fe3bbdd-810b-49cf-ad06-b07f899d5e82-scaled.jpg&#039;)">

			
					</div>
								</div>
											<div class="swiper-slide" role="group" aria-roledescription="slide">
									<div class="elementor-carousel-image" role="img" aria-label="52e9f252-5791-4c15-b610-2823f46442c8" style="background-image: url(&#039;https://brainypi.com/wp-content/uploads/2025/02/52e9f252-5791-4c15-b610-2823f46442c8.jpg&#039;)">

			
					</div>
								</div>
											<div class="swiper-slide" role="group" aria-roledescription="slide">
									<div class="elementor-carousel-image" role="img" aria-label="47cd0c4e-1363-4d46-a2db-e611f34f539a" style="background-image: url(&#039;https://brainypi.com/wp-content/uploads/2025/02/47cd0c4e-1363-4d46-a2db-e611f34f539a.jpg&#039;)">

			
					</div>
								</div>
											<div class="swiper-slide" role="group" aria-roledescription="slide">
									<div class="elementor-carousel-image" role="img" aria-label="34c469ed-6fd9-4111-9296-6744891ea882" style="background-image: url(&#039;https://brainypi.com/wp-content/uploads/2025/02/34c469ed-6fd9-4111-9296-6744891ea882.jpg&#039;)">

			
					</div>
								</div>
											<div class="swiper-slide" role="group" aria-roledescription="slide">
									<div class="elementor-carousel-image" role="img" aria-label="4edbde3d-7795-4062-9e36-45ea5ee7a57d" style="background-image: url(&#039;https://brainypi.com/wp-content/uploads/2025/02/4edbde3d-7795-4062-9e36-45ea5ee7a57d-scaled.jpg&#039;)">

			
					</div>
								</div>
											<div class="swiper-slide" role="group" aria-roledescription="slide">
									<div class="elementor-carousel-image" role="img" aria-label="7b18a5ca-4989-4656-b266-7f72623bae20" style="background-image: url(&#039;https://brainypi.com/wp-content/uploads/2025/02/7b18a5ca-4989-4656-b266-7f72623bae20.jpg&#039;)">

			
					</div>
								</div>
											<div class="swiper-slide" role="group" aria-roledescription="slide">
									<div class="elementor-carousel-image" role="img" aria-label="IMG_4442" style="background-image: url(&#039;https://brainypi.com/wp-content/uploads/2025/02/IMG_4442-scaled.jpg&#039;)">

			
					</div>
								</div>
											<div class="swiper-slide" role="group" aria-roledescription="slide">
									<div class="elementor-carousel-image" role="img" aria-label="IMG_5935" style="background-image: url(&#039;https://brainypi.com/wp-content/uploads/2025/02/IMG_5935.jpg&#039;)">

			
					</div>
								</div>
									</div>
															<div class="elementor-swiper-button elementor-swiper-button-prev" role="button" tabindex="0" aria-label="Previous">
							<i aria-hidden="true" class="eicon-chevron-left"></i>						</div>
						<div class="elementor-swiper-button elementor-swiper-button-next" role="button" tabindex="0" aria-label="Next">
							<i aria-hidden="true" class="eicon-chevron-right"></i>						</div>
																<div class="swiper-pagination"></div>
												</div>
				</div>
								</div>
				</div>
					</div>
		</div>
					</div>
		</section>
				<section class="elementor-section elementor-top-section elementor-element elementor-element-af323d5 elementor-section-boxed elementor-section-height-default elementor-section-height-default" data-id="af323d5" data-element_type="section">
						<div class="elementor-container elementor-column-gap-default">
					<div class="elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-058b053" data-id="058b053" data-element_type="column">
			<div class="elementor-widget-wrap elementor-element-populated">
						<div class="elementor-element elementor-element-e938789 elementor-widget elementor-widget-text-editor" data-id="e938789" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<h2><img src="https://s.w.org/images/core/emoji/16.0.1/72x72/1f389.png" alt="🎉" class="wp-smiley" style="height: 1em; max-height: 1em;" /> The Impact: BrainyPi Community Growth</h2><h6><img src="https://s.w.org/images/core/emoji/16.0.1/72x72/2705.png" alt="✅" class="wp-smiley" style="height: 1em; max-height: 1em;" /> Gain hands-on experience with cutting-edge technology.</h6><h6><img src="https://s.w.org/images/core/emoji/16.0.1/72x72/2705.png" alt="✅" class="wp-smiley" style="height: 1em; max-height: 1em;" /> Build innovative projects with open-source hardware and software.</h6><h6><img src="https://s.w.org/images/core/emoji/16.0.1/72x72/2705.png" alt="✅" class="wp-smiley" style="height: 1em; max-height: 1em;" /> Connect with like-minded makers, engineers, and entrepreneurs.</h6><h6><img src="https://s.w.org/images/core/emoji/16.0.1/72x72/2705.png" alt="✅" class="wp-smiley" style="height: 1em; max-height: 1em;" /> Advance their careers with practical skills in AI, IoT, and embedded systems.</h6><h6>This is more than just a community—it is a genuine effort of many that builds an <strong>inclusive space for builders</strong> to innovate, experiment, and collaborate. The community-driven approach has helped participants turn ideas into tangible projects.</h6><div><hr /></div><h6><img src="https://s.w.org/images/core/emoji/16.0.1/72x72/1f680.png" alt="🚀" class="wp-smiley" style="height: 1em; max-height: 1em;" /> <strong>Let’s keep innovating together!</strong> Stay connected, keep building.</h6>								</div>
				</div>
					</div>
		</div>
					</div>
		</section>
				</div>
		<p>The post <a href="https://brainypi.com/brainypi-community-events-build-together/">BrainyPi Community Events: Building Together</a> appeared first on <a href="https://brainypi.com">Brainy Pi</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://brainypi.com/brainypi-community-events-build-together/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Pedestrian Tracker on Brainy Pi</title>
		<link>https://brainypi.com/pedestrian-tracker-on-brainy-pi/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=pedestrian-tracker-on-brainy-pi</link>
					<comments>https://brainypi.com/pedestrian-tracker-on-brainy-pi/#respond</comments>
		
		<dc:creator><![CDATA[BrainyPi Team]]></dc:creator>
		<pubDate>Thu, 15 Jun 2023 07:03:48 +0000</pubDate>
				<category><![CDATA[Blogs]]></category>
		<category><![CDATA[Intel OpenVINO]]></category>
		<guid isPermaLink="false">https://brainypi.com/?p=5531</guid>

					<description><![CDATA[<p>In this blog post, we will delve into the Pedestrian Tracking Demo using OpenVINO on Brainy Pi. This impressive integration of AI and computer vision enables the detection of pedestrians in frames and the construction of their movement trajectories, frame-by-frame. This demonstration not only highlights the immense potential of OpenVINO in the development of computer vision products but also serves [&#8230;]</p>
<p>The post <a href="https://brainypi.com/pedestrian-tracker-on-brainy-pi/">Pedestrian Tracker on Brainy Pi</a> appeared first on <a href="https://brainypi.com">Brainy Pi</a>.</p>
]]></description>
										<content:encoded><![CDATA[		<div data-elementor-type="wp-post" data-elementor-id="5531" class="elementor elementor-5531" data-elementor-post-type="post">
						<section class="elementor-section elementor-top-section elementor-element elementor-element-b664ace elementor-section-boxed elementor-section-height-default elementor-section-height-default" data-id="b664ace" data-element_type="section">
						<div class="elementor-container elementor-column-gap-default">
					<div class="elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-19627ff" data-id="19627ff" data-element_type="column">
			<div class="elementor-widget-wrap elementor-element-populated">
						<div class="elementor-element elementor-element-3192591 elementor-widget elementor-widget-text-editor" data-id="3192591" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<div class="note-text md"><div class="group w-full text-gray-800 dark:text-gray-100 border-b border-black/10 dark:border-gray-900/50 bg-gray-50 dark:bg-[#444654]"><div class="flex p-4 gap-4 text-base md:gap-6 md:max-w-2xl lg:max-w-[38rem] xl:max-w-3xl md:py-6 lg:px-0 m-auto"><div class="relative flex w-[calc(100%-50px)] flex-col gap-1 md:gap-3 lg:w-[calc(100%-115px)]"><div class="flex flex-grow flex-col gap-3"><div class="min-h-[20px] flex flex-col items-start gap-4 whitespace-pre-wrap break-words"><div class="markdown prose w-full break-words dark:prose-invert light"><h6>In this blog post, we will delve into the Pedestrian Tracking Demo using OpenVINO on <a href="https://brainypi.com/">Brainy Pi</a>. This impressive integration of AI and computer vision enables the detection of pedestrians in frames and the construction of their movement trajectories, frame-by-frame. This demonstration not only highlights the immense potential of OpenVINO in the development of computer vision products but also serves as a valuable resource for developers and entrepreneurs in this field. So, let&#8217;s roll up our sleeves and implement the Pedestrian Tracker on Brainy Pi with the power of OpenVINO!</h6></div></div></div></div></div></div><p dir="auto" data-sourcepos="7:1-7:71"><img decoding="async" src="https://brainypi.com/wp-content/uploads/2023/06/peds-track.gif" /></p><h2 dir="auto" data-sourcepos="9:1-9:39"><strong>Installing OpenVINO and Dependencies</strong></h2><h6 dir="auto" data-sourcepos="11:1-11:187">To get started, we need to install OpenVINO and its dependencies on BrainyPi. Open a terminal and run the following command to install OpenVINO and the necessary OpenCV development files:</h6><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">sudo apt <span class="nb">install </span>openvino-toolkit libopencv-dev</pre><h6 dir="auto" data-sourcepos="17:1-17:160">By installing OpenVINO, we gain access to a powerful set of tools and libraries for optimizing and deploying deep learning models on various hardware platforms.</h6><h2 dir="auto" data-sourcepos="19:1-19:22">Compiling the Demos</h2><h6 dir="auto" data-sourcepos="21:1-21:220">Once we install OpenVINO, we can proceed to compile the demos. These demos serve as an excellent starting point for understanding and exploring the capabilities of OpenVINO. Follow the steps below to compile the demos:</h6><ol dir="auto" data-sourcepos="23:1-47:0"><li data-sourcepos="23:1-30:0"><h6 data-sourcepos="23:4-23:73">Set up the OpenVINO environment by sourcing the <code>setupvars.sh</code> script:</h6><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">source /opt/openvino/setupvars.sh</pre><h6 data-sourcepos="29:5-29:104">This step is crucial as it configures the necessary environment variables for working with OpenVINO.</h6></li><li data-sourcepos="31:1-39:0"><h6 data-sourcepos="31:4-31:94">Clone the Open Model Zoo repository, which contains the demos, using the following command:</h6><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">git clone <span class="nt">--recurse-submodules</span> https://github.com/openvinotoolkit/open_model_zoo.git
<span id="LC2" class="line" lang="shell"><span class="nb">cd </span>open_model_zoo/demos/</span></pre><h6 data-sourcepos="38:5-38:120">The Open Model Zoo provides a collection of pre-trained models and demo applications that can be used with OpenVINO.</h6></li><li data-sourcepos="40:1-47:0"><h6 data-sourcepos="40:4-40:60">Build the demos by executing the <code>build_demos.sh</code> script:</h6><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">./build_demos.sh</pre><h6 data-sourcepos="46:5-46:80">This step compiles the demo applications and makes them ready for execution.</h6></li></ol><h2 dir="auto" data-sourcepos="48:1-48:39"><strong>Running the Pedestrian Tracker on Brainy Pi<br /></strong></h2><h6 dir="auto" data-sourcepos="50:1-50:137">With the demos compiled, we can now download the required models and run the Pedestrian Tracking Demo using OpenVINO. Follow these steps:</h6><ol dir="auto" data-sourcepos="52:1-76:0"><li data-sourcepos="52:1-59:0"><h6 data-sourcepos="52:4-52:76">Download the models for the demo by running the following command:</h6><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">omz_downloader <span class="nt">--list</span> ~/open_model_zoo/demos/pedestrian_tracker_demo/cpp/models.lst <span class="nt">-o</span> ~/models/ <span class="nt">--precision</span> FP16</pre><h6 data-sourcepos="58:5-58:115">The Open Model Zoo downloader allows us to easily fetch the models specified in the <code>models.lst</code> file.</h6></li><li data-sourcepos="60:1-68:0"><h6 data-sourcepos="60:4-60:27">Download the test video:</h6><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">cd ~/
<span id="LC2" class="line" lang="shell">wget https://raw.githubusercontent.com/intel-iot-devkit/sample-videos/master/people-detection.mp4</span></pre><h6 data-sourcepos="67:5-67:102">This command downloads a sample video &#8211; an input for the Pedestrian Tracking Demo.</h6></li><li data-sourcepos="69:1-76:0"><h6 data-sourcepos="69:4-69:123">Once the models and the test video are downloaded, you can run the Pedestrian Tracking Demo using the following command:</h6><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">~/omz_demos_build/aarch64/Release/pedestrian_tracker_demo <span class="nt">-i</span> ~/people-detection.mp4 <span class="nt">-m_det</span> ~/models/intel/person-detection-retail-0013/FP16/person-detection-retail-0013.xml <span class="nt">-m_reid</span> ~/models/intel/person-reidentification-retail-0277/FP16/person-reidentification-retail-0277.xml <span class="nt">-at</span> ssd</pre><h6 data-sourcepos="75:5-75:158">This command executes the Pedestrian Tracking Demo, leveraging the person detection and person re-identification models to track pedestrians in the video.</h6></li></ol><h6 dir="auto" data-sourcepos="77:1-77:196">By following these steps, you can quickly set up and run the Pedestrian Tracking Demo, gaining insights into the capabilities of OpenVINO and its potential for developing computer vision products.</h6><h2 dir="auto" data-sourcepos="79:1-79:13"><strong>Conclusion</strong></h2><h6 dir="auto" data-sourcepos="81:1-81:447">The Pedestrian Tracking Demo using OpenVINO on Brainy Pi demonstrates the power of AI and computer vision in detecting and tracking pedestrians. By utilizing OpenVINO&#8217;s optimization and deployment capabilities, developers and entrepreneurs can build robust computer vision applications for various domains. We hope this blog post provides you with a useful overview and inspiration for incorporating OpenVINO into your computer vision projects.</h6><h2 dir="auto" data-sourcepos="83:1-83:13"><strong>References</strong></h2><ul dir="auto" data-sourcepos="85:1-86:195"><li data-sourcepos="85:1-85:80"><h6>OpenVINO Documentation: <a href="https://docs.openvino.ai/" target="_blank" rel="nofollow noreferrer noopener">https://docs.openvino.ai/</a></h6></li><li data-sourcepos="86:1-86:195"><h6>Open Model Zoo Pedestrian Tracking Demo: <a href="https://docs.openvino.ai/2022.3/omz_demos_pedestrian_tracker_demo_cpp.html" target="_blank" rel="nofollow noreferrer noopener">https://docs.openvino.ai/2022.3/omz_demos_pedestrian_tracker_demo_cpp.html</a></h6></li></ul></div>								</div>
				</div>
					</div>
		</div>
					</div>
		</section>
				</div>
		<p>The post <a href="https://brainypi.com/pedestrian-tracker-on-brainy-pi/">Pedestrian Tracker on Brainy Pi</a> appeared first on <a href="https://brainypi.com">Brainy Pi</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://brainypi.com/pedestrian-tracker-on-brainy-pi/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		<enclosure url="https://raw.githubusercontent.com/intel-iot-devkit/sample-videos/master/people-detection.mp4" length="5482579" type="video/mp4" />

			</item>
		<item>
		<title>Image Segmentation on Brainy Pi</title>
		<link>https://brainypi.com/image-segmentation-on-brainy-pi/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=image-segmentation-on-brainy-pi</link>
					<comments>https://brainypi.com/image-segmentation-on-brainy-pi/#respond</comments>
		
		<dc:creator><![CDATA[BrainyPi Team]]></dc:creator>
		<pubDate>Thu, 15 Jun 2023 06:53:27 +0000</pubDate>
				<category><![CDATA[Blogs]]></category>
		<category><![CDATA[Intel OpenVINO]]></category>
		<guid isPermaLink="false">https://brainypi.com/?p=5503</guid>

					<description><![CDATA[<p>Today&#8217;s blog post will explore the robust capabilities of OpenVINO (Open Visual Inference and Neural Network Optimization) in image segmentation. We&#8217;ll showcase a demo that leverages OpenVINO on Brainy Pi, combining AI and computer vision to segment video frames. This blog targets developers and entrepreneurs interested in building computer vision products with OpenVINO. Let&#8217;s dive into implementing image segmentation on [&#8230;]</p>
<p>The post <a href="https://brainypi.com/image-segmentation-on-brainy-pi/">Image Segmentation on Brainy Pi</a> appeared first on <a href="https://brainypi.com">Brainy Pi</a>.</p>
]]></description>
										<content:encoded><![CDATA[		<div data-elementor-type="wp-post" data-elementor-id="5503" class="elementor elementor-5503" data-elementor-post-type="post">
						<section class="elementor-section elementor-top-section elementor-element elementor-element-f00c51c elementor-section-boxed elementor-section-height-default elementor-section-height-default" data-id="f00c51c" data-element_type="section">
						<div class="elementor-container elementor-column-gap-default">
					<div class="elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-350200a" data-id="350200a" data-element_type="column">
			<div class="elementor-widget-wrap elementor-element-populated">
						<div class="elementor-element elementor-element-c62092f elementor-widget elementor-widget-text-editor" data-id="c62092f" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<div class="group w-full text-gray-800 dark:text-gray-100 border-b border-black/10 dark:border-gray-900/50 bg-gray-50 dark:bg-[#444654]"><div class="flex p-4 gap-4 text-base md:gap-6 md:max-w-2xl lg:max-w-[38rem] xl:max-w-3xl md:py-6 lg:px-0 m-auto"><div class="relative flex w-[calc(100%-50px)] flex-col gap-1 md:gap-3 lg:w-[calc(100%-115px)]"><div class="flex flex-grow flex-col gap-3"><div class="min-h-[20px] flex flex-col items-start gap-4 whitespace-pre-wrap break-words"><div class="markdown prose w-full break-words dark:prose-invert light"><h6>Today&#8217;s blog post will explore the robust capabilities of OpenVINO (Open Visual Inference and Neural Network Optimization) in image segmentation. We&#8217;ll showcase a demo that leverages OpenVINO on <a href="https://brainypi.com/">Brainy Pi</a>, combining AI and computer vision to segment video frames. This blog targets developers and entrepreneurs interested in building computer vision products with OpenVINO. Let&#8217;s dive into implementing image segmentation on Brainy Pi!</h6></div></div></div></div></div></div><p dir="auto" data-sourcepos="7:1-7:75"><img decoding="async" src="https://brainypi.com/wp-content/uploads/2023/06/segmentation.gif" /></p><h2 dir="auto" data-sourcepos="10:1-10:22"><strong>Installing OpenVINO</strong></h2><h6 dir="auto" data-sourcepos="12:1-12:160">Before we dive into the demo, we need to install OpenVINO and its dependencies on BrainyPi. Let&#8217;s start by opening a terminal and running the following command:</h6><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">sudo apt <span class="nb">install </span>openvino-toolkit libopencv-dev</pre><h6 dir="auto" data-sourcepos="18:1-18:151">This command will install OpenVINO and the necessary OpenCV development files on your system, providing the foundation for our image segmentation demo.</h6><h2 dir="auto" data-sourcepos="20:1-20:22"><strong>Compiling the Demos</strong></h2><h6 dir="auto" data-sourcepos="22:1-22:229">Once OpenVINO is successfully installed, we can proceed to compile the demos. These demos serve as an excellent starting point for understanding and exploring the capabilities of OpenVINO. Here are the steps to compile the demos:</h6><ol dir="auto" data-sourcepos="24:1-42:0"><li data-sourcepos="24:1-29:0"><h6 data-sourcepos="24:4-24:73">Set up the OpenVINO environment by sourcing the <code>setupvars.sh</code> script:</h6><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">source /opt/openvino/setupvars.sh</pre></li><li data-sourcepos="30:1-36:0"><h6 data-sourcepos="30:4-30:101">Clone the Open Model Zoo repository, which contains the demos, by executing the following command:</h6><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">git clone <span class="nt">--recurse-submodules</span> https://github.com/openvinotoolkit/open_model_zoo.git
<span id="LC2" class="line" lang="shell"><span class="nb">cd </span>open_model_zoo/demos/</span></pre></li><li data-sourcepos="37:1-42:0"><h6 data-sourcepos="37:4-37:58">Build the demos by running the <code>build_demos.sh</code> script:</h6><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">./build_demos.sh</pre></li></ol><h6 dir="auto" data-sourcepos="43:1-43:164">These steps will compile the demo applications. It will make them ready for execution and enabling us to dive into the exciting world of image segmentation with OpenVINO.</h6><h2 dir="auto" data-sourcepos="45:1-45:38"><strong>Running the Image Segmentation on Brainy Pi<br /></strong></h2><h6 dir="auto" data-sourcepos="47:1-47:170">With the demos successfully compiled, we can now proceed to download the required models and run the image segmentation demo using OpenVINO. Let&#8217;s follow the steps below:</h6><ol dir="auto" data-sourcepos="49:1-71:0"><li data-sourcepos="49:1-56:0"><h6 data-sourcepos="49:4-49:78">Download the models required for the demo by running the following command:</h6><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">omz_downloader <span class="nt">--list</span> ~/open_model_zoo/demos/segmentation_demo/cpp/models.lst <span class="nt">-o</span> ~/models/ <span class="nt">--precision</span> FP16</pre><h6 data-sourcepos="55:4-55:141">This command downloads the necessary models from the Open Model Zoo repository and saves them in the <code>~/models/</code> directory on your system.</h6></li><li data-sourcepos="57:1-63:0"><h6 data-sourcepos="57:4-57:109">Download a test video to feed into the demo. We will use the following command to download a sample video:</h6><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">cd ~/
<span id="LC2" class="line" lang="shell">wget https://raw.githubusercontent.com/intel-iot-devkit/sample-videos/master/head-pose-face-detection-male.mp4</span></pre></li><li data-sourcepos="64:1-71:0"><h6 data-sourcepos="64:4-64:121">Once the models and the test video are downloaded, we can run the image segmentation demo using the following command:</h6><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">~/omz_demos_build/aarch64/Release/segmentation_demo <span class="nt">-i</span> ~/head-pose-face-detection-male.mp4 <span class="nt">-m</span> ~/models/intel/semantic-segmentation-adas-0001/FP16/semantic-segmentation-adas-0001.xml</pre><h6 data-sourcepos="70:4-70:155">This command executes the image segmentation demo, processing the frames of the test video and producing segmented output based on the downloaded model.</h6></li></ol><h6 dir="auto" data-sourcepos="72:1-72:207">By following these steps, you can witness the power of OpenVINO in action, as it intelligently segments the frames in the video and showcases the potential for building advanced computer vision applications.</h6><h2 dir="auto" data-sourcepos="74:1-74:13"><strong>Conclusion</strong></h2><h6 dir="auto" data-sourcepos="78:2-78:226">In this blog post, we explored the Image Segmentation Demo using OpenVINO on BrainyPi. We covered the installation process, compilation of demos, and the steps to run the image segmentation demo with OpenVINO. By leveraging OpenVINO&#8217;s capabilities, developers and entrepreneurs can unlock the potential of AI and computer vision for their own projects and build advanced computer vision products.</h6><h6 dir="auto" data-sourcepos="80:1-80:154">If you&#8217;re interested in diving deeper into OpenVINO, be sure to check out the official OpenVINO documentation for more detailed information and resources.</h6><h6 dir="auto" data-sourcepos="82:1-82:123">Reference: <a href="https://docs.openvino.ai/2022.3/omz_demos_segmentation_demo_cpp.html" target="_blank" rel="nofollow noreferrer noopener">OpenVINO Segmentation Demo Documentation</a></h6>								</div>
				</div>
					</div>
		</div>
					</div>
		</section>
				</div>
		<p>The post <a href="https://brainypi.com/image-segmentation-on-brainy-pi/">Image Segmentation on Brainy Pi</a> appeared first on <a href="https://brainypi.com">Brainy Pi</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://brainypi.com/image-segmentation-on-brainy-pi/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		<enclosure url="https://raw.githubusercontent.com/intel-iot-devkit/sample-videos/master/head-pose-face-detection-male.mp4" length="15522596" type="video/mp4" />

			</item>
		<item>
		<title>Human Pose Detection on Brainy Pi</title>
		<link>https://brainypi.com/human-pose-detection-on-brainy-pi/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=human-pose-detection-on-brainy-pi</link>
					<comments>https://brainypi.com/human-pose-detection-on-brainy-pi/#respond</comments>
		
		<dc:creator><![CDATA[BrainyPi Team]]></dc:creator>
		<pubDate>Thu, 15 Jun 2023 06:33:59 +0000</pubDate>
				<category><![CDATA[Blogs]]></category>
		<category><![CDATA[Intel OpenVINO]]></category>
		<guid isPermaLink="false">https://brainypi.com/?p=5480</guid>

					<description><![CDATA[<p>Are you a developer or entrepreneur interested in harnessing the power of AI and computer vision to build innovative products? Well, look no further! In this blog post, we will not only walk you through the process of using OpenVINO on Brainy Pi to predict human poses using AI and computer vision, but also provide valuable insights and tips for [&#8230;]</p>
<p>The post <a href="https://brainypi.com/human-pose-detection-on-brainy-pi/">Human Pose Detection on Brainy Pi</a> appeared first on <a href="https://brainypi.com">Brainy Pi</a>.</p>
]]></description>
										<content:encoded><![CDATA[		<div data-elementor-type="wp-post" data-elementor-id="5480" class="elementor elementor-5480" data-elementor-post-type="post">
						<section class="elementor-section elementor-top-section elementor-element elementor-element-aa07e87 elementor-section-boxed elementor-section-height-default elementor-section-height-default" data-id="aa07e87" data-element_type="section">
						<div class="elementor-container elementor-column-gap-default">
					<div class="elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-76289f9" data-id="76289f9" data-element_type="column">
			<div class="elementor-widget-wrap elementor-element-populated">
						<div class="elementor-element elementor-element-2090b61 elementor-widget elementor-widget-text-editor" data-id="2090b61" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<div class="group w-full text-gray-800 dark:text-gray-100 border-b border-black/10 dark:border-gray-900/50 bg-gray-50 dark:bg-[#444654]"><div class="flex p-4 gap-4 text-base md:gap-6 md:max-w-2xl lg:max-w-[38rem] xl:max-w-3xl md:py-6 lg:px-0 m-auto"><div class="relative flex w-[calc(100%-50px)] flex-col gap-1 md:gap-3 lg:w-[calc(100%-115px)]"><div class="flex flex-grow flex-col gap-3"><div class="min-h-[20px] flex flex-col items-start gap-4 whitespace-pre-wrap break-words"><div class="markdown prose w-full break-words dark:prose-invert light"><h6>Are you a developer or entrepreneur interested in harnessing the power of AI and computer vision to build innovative products? Well, look no further! In this blog post, we will not only walk you through the process of using OpenVINO on <a href="https://brainypi.com">Brainy Pi</a> to predict human poses using AI and computer vision, but also provide valuable insights and tips for your own computer vision projects. This demo not only showcases the remarkable capabilities of OpenVINO but also offers a solid starting point for your exciting journey into the world of computer vision. So, let&#8217;s dive right in and implement Human Pose Detection on Brainy Pi together!</h6></div></div></div></div></div></div><p dir="auto" data-sourcepos="5:1-5:59"><img decoding="async" src="https://brainypi.com/wp-content/uploads/2023/06/pose.gif" /></p><h2 dir="auto" data-sourcepos="7:1-7:22"><strong>Installing OpenVINO</strong></h2><h6 dir="auto" data-sourcepos="9:1-9:125">Before we dive into the demo, let&#8217;s start by installing OpenVINO and its dependencies on BrainyPi. Follow these simple steps:</h6><ol dir="auto" data-sourcepos="11:1-18:0"><li data-sourcepos="11:1-18:0"><h6 data-sourcepos="11:4-11:138">Open a terminal on your BrainyPi device and enter the following command to install OpenVINO and the necessary OpenCV development files:</h6><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">sudo apt <span class="nb">install </span>openvino-toolkit libopencv-dev</pre><h6 data-sourcepos="17:4-17:72">This command will ensure that OpenVINO is installed and ready to use.</h6></li></ol><h2 dir="auto" data-sourcepos="19:1-19:18"><strong>Compiling Demos</strong></h2><h6 dir="auto" data-sourcepos="21:1-21:208">Now that OpenVINO is installed, we can proceed to compile the demos. These demos serve as valuable resources for understanding and exploring the capabilities of OpenVINO. Here&#8217;s how you can compile the demos:</h6><ol dir="auto" data-sourcepos="23:1-43:0"><li data-sourcepos="23:1-28:0"><h6 data-sourcepos="23:4-23:73">Set up the OpenVINO environment by sourcing the <code>setupvars.sh</code> script:</h6><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">source /opt/openvino/setupvars.sh</pre></li><li data-sourcepos="29:1-35:0"><h6 data-sourcepos="29:4-29:94">Clone the Open Model Zoo repository, which contains the demos, using the following command:</h6><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">git clone <span class="nt">--recurse-submodules</span> https://github.com/openvinotoolkit/open_model_zoo.git
<span id="LC2" class="line" lang="shell"><span class="nb">cd </span>open_model_zoo/demos/</span></pre></li><li data-sourcepos="36:1-43:0"><h6 data-sourcepos="36:4-36:60">Build the demos by executing the <code>build_demos.sh</code> script:</h6><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">./build_demos.sh</pre><h6 data-sourcepos="42:4-42:77">This will compile the demo applications and make them ready for execution.</h6></li></ol><h2 dir="auto" data-sourcepos="44:1-44:20"><strong>Running the Demos</strong></h2><h6 dir="auto" data-sourcepos="46:1-46:123">With the demos compiled, we can now download the required models and run the human pose detection demo. Follow these steps:</h6><ol dir="auto" data-sourcepos="48:1-72:0"><li data-sourcepos="48:1-55:0"><h6 data-sourcepos="48:4-48:76">Download the models needed for the demo by running the following command:</h6><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">omz_downloader <span class="nt">--list</span> ~/open_model_zoo/demos/human_pose_estimation_demo/cpp/models.lst <span class="nt">-o</span> ~/models/ <span class="nt">--precision</span> FP16</pre><h6 data-sourcepos="54:4-54:107">This command will download the necessary models for the demo and save them in the <code>~/models/</code> directory.</h6></li><li data-sourcepos="56:1-64:0"><h6 data-sourcepos="56:4-56:58">Download the test video that will be used for the demo:</h6><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">cd ~/
<span id="LC2" class="line" lang="shell">wget https://raw.githubusercontent.com/intel-iot-devkit/sample-videos/master/face-demographics-walking.mp4</span></pre><h6 data-sourcepos="63:4-63:84">This command will download a sample video called <code>face-demographics-walking.mp4</code>.</h6></li><li data-sourcepos="65:1-72:0"><h6 data-sourcepos="65:4-65:103">Once the models and the test video are downloaded, you can run the demo using the following command:</h6><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">~/omz_demos_build/aarch64/Release/human_pose_estimation_demo <span class="nt">-i</span> ~/face-demographics-walking.mp4 <span class="nt">-m</span> ~/models/intel/human-pose-estimation-0001/FP16/human-pose-estimation-0001.xml <span class="nt">-at</span> openpose</pre><h6 data-sourcepos="71:4-71:93">This command will execute the human pose estimation demo using OpenVINO on the test video.</h6></li></ol><h2 dir="auto" data-sourcepos="73:1-73:13"><strong>Conclusion</strong></h2><h6 dir="auto" data-sourcepos="75:1-75:319">Congratulations! You have successfully installed OpenVINO, compiled the demos, and run the human pose detection demo on BrainyPi. This demo showcases the power of AI and computer vision in predicting human poses, providing a solid foundation for developers and entrepreneurs to build their own computer vision products.</h6><h6 dir="auto" data-sourcepos="77:1-77:166">To delve deeper into the human pose detection demo and explore additional features and options, refer to the <a href="https://docs.openvino.ai/2022.3/omz_demos_human_pose_estimation_demo_cpp.html">OpenVINO documentation</a>.</h6><h6 dir="auto" data-sourcepos="81:1-81:133">Get creative and leverage the potential of OpenVINO to unlock a world of possibilities in computer vision applications. Happy coding!</h6><h6 dir="auto" data-sourcepos="83:1-83:124"><em>Note: The content of this blog is based on OpenVINO 2023.0 documentation and may be subject to updates in future releases.</em></h6>								</div>
				</div>
					</div>
		</div>
					</div>
		</section>
				</div>
		<p>The post <a href="https://brainypi.com/human-pose-detection-on-brainy-pi/">Human Pose Detection on Brainy Pi</a> appeared first on <a href="https://brainypi.com">Brainy Pi</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://brainypi.com/human-pose-detection-on-brainy-pi/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		<enclosure url="https://raw.githubusercontent.com/intel-iot-devkit/sample-videos/master/face-demographics-walking.mp4" length="6406124" type="video/mp4" />

			</item>
		<item>
		<title>Social Distance Monitoring with Brainy Pi</title>
		<link>https://brainypi.com/social-distance-monitoring-with-brainy-pi/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=social-distance-monitoring-with-brainy-pi</link>
					<comments>https://brainypi.com/social-distance-monitoring-with-brainy-pi/#respond</comments>
		
		<dc:creator><![CDATA[BrainyPi Team]]></dc:creator>
		<pubDate>Thu, 15 Jun 2023 03:41:58 +0000</pubDate>
				<category><![CDATA[Blogs]]></category>
		<category><![CDATA[Intel OpenVINO]]></category>
		<guid isPermaLink="false">https://brainypi.com/?p=5398</guid>

					<description><![CDATA[<p>In today&#8217;s world, where social distancing has become an essential practice, leveraging computer vision and artificial intelligence (AI) can play a vital role in monitoring and ensuring safe distancing measures. In this blog, we will showcase a Social Distancing Monitoring Demo using OpenVINO and Brainy Pi, a powerful combination for developers and entrepreneurs looking to build computer vision products. We [&#8230;]</p>
<p>The post <a href="https://brainypi.com/social-distance-monitoring-with-brainy-pi/">Social Distance Monitoring with Brainy Pi</a> appeared first on <a href="https://brainypi.com">Brainy Pi</a>.</p>
]]></description>
										<content:encoded><![CDATA[		<div data-elementor-type="wp-post" data-elementor-id="5398" class="elementor elementor-5398" data-elementor-post-type="post">
						<section class="elementor-section elementor-top-section elementor-element elementor-element-26c285d elementor-section-boxed elementor-section-height-default elementor-section-height-default" data-id="26c285d" data-element_type="section">
						<div class="elementor-container elementor-column-gap-default">
					<div class="elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-cf9ee03" data-id="cf9ee03" data-element_type="column">
			<div class="elementor-widget-wrap elementor-element-populated">
						<div class="elementor-element elementor-element-eed0f84 elementor-widget elementor-widget-text-editor" data-id="eed0f84" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<h6 dir="auto" data-sourcepos="4:1-4:584">In today&#8217;s world, where social distancing has become an essential practice, leveraging computer vision and artificial intelligence (AI) can play a vital role in monitoring and ensuring safe distancing measures. In this blog, we will showcase a Social Distancing Monitoring Demo using OpenVINO and <a href="https://brainypi.com/">Brainy Pi</a>, a powerful combination for developers and entrepreneurs looking to build computer vision products. We will guide you through the installation process, compiling the demos, and running the demo application, allowing you to determine the distance between individuals in a video/camera-feed. Lets implement Social Distance Monitoring Product !</h6><p dir="auto" data-sourcepos="6:1-6:95"><img decoding="async" src="https://brainypi.com/wp-content/uploads/2023/06/Socialdistancing1.gif" /></p><h2 dir="auto" data-sourcepos="8:1-8:22"><strong>Installing OpenVINO</strong></h2><h6 dir="auto" data-sourcepos="10:1-10:118">To begin, we need to install OpenVINO and its dependencies on BrainyPi. Open a terminal and run the following command:</h6><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">sudo apt <span class="nb">install </span>openvino-toolkit libopencv-dev</pre><h6 dir="auto" data-sourcepos="16:1-16:93">This command will install OpenVINO and the necessary OpenCV development files on your system.</h6><h2 dir="auto" data-sourcepos="18:1-18:18"><strong>Compiling Demos</strong></h2><h6 dir="auto" data-sourcepos="20:1-20:193">Once OpenVINO is installed, we can proceed to compile the demos. These demos provide a great starting point for understanding and exploring the capabilities of OpenVINO. Follow the steps below:</h6><ol dir="auto" data-sourcepos="22:1-40:0"><li data-sourcepos="22:1-27:0"><h6 data-sourcepos="22:4-22:73">Set up the OpenVINO environment by sourcing the <code>setupvars.sh</code> script:</h6><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">source /opt/openvino/setupvars.sh</pre></li><li data-sourcepos="28:1-34:0"><h6 data-sourcepos="28:4-28:94">Clone the Open Model Zoo repository, which contains the demos, using the following command:</h6><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">git clone <span class="nt">--recurse-submodules</span> https://github.com/openvinotoolkit/open_model_zoo.git
<span id="LC2" class="line" lang="shell"><span class="nb">cd </span>open_model_zoo/demos/</span></pre></li><li data-sourcepos="35:1-40:0"><h6 data-sourcepos="35:4-35:60">Build the demos by executing the <code>build_demos.sh</code> script:</h6><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">./build_demos.sh</pre></li></ol><h6 dir="auto" data-sourcepos="41:1-41:74">This will compile the demo applications and make them ready for execution.</h6><h2 dir="auto" data-sourcepos="43:1-43:20"><strong>Running the Demo for Social Distance Monitoring<br /></strong></h2><h6 dir="auto" data-sourcepos="45:1-45:113">With the demos compiled, we can now download the required models and run them using OpenVINO. Follow these steps:</h6><ol dir="auto" data-sourcepos="47:1-65:0"><li data-sourcepos="47:1-52:0"><h6 data-sourcepos="47:4-47:76">Download the models needed for the demo by running the following command:</h6><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">omz_downloader <span class="nt">--list</span> ~/open_model_zoo/demos/social_distance_demo/cpp/models.lst <span class="nt">-o</span> ~/models/ <span class="nt">--precision</span> FP16</pre></li><li data-sourcepos="53:1-59:0"><h6 data-sourcepos="53:4-53:27">Download the test video:</h6><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">cd ~/
<span id="LC2" class="line" lang="shell">wget https://raw.githubusercontent.com/intel-iot-devkit/sample-videos/master/face-demographics-walking.mp4</span></pre></li><li data-sourcepos="60:1-65:0"><h6 data-sourcepos="60:4-60:120">Once the models and the test video are downloaded, you can run the object detection demo using the following command:</h6><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">~/omz_demos_build/aarch64/Release/social_distance_demo <span class="nt">-i</span> ~/face-demographics-walking.mp4 <span class="nt">-m_det</span> ~/models/intel/person-detection-retail-0013/FP16/person-detection-retail-0013.xml <span class="nt">-m_reid</span> ~/models/intel/person-reidentification-retail-0277/FP16/person-reidentification-retail-0277.xml</pre></li></ol><h2 dir="auto" data-sourcepos="66:1-66:13"><strong>Reference:</strong></h2><h6 dir="auto" data-sourcepos="67:1-67:71"><a href="https://docs.openvino.ai/2022.3/omz_demos_social_distance_demo_cpp.html" target="_blank" rel="nofollow noreferrer noopener">https://docs.openvino.ai/2022.3/omz_demos_social_distance_demo_cpp.html</a></h6><h2 dir="auto" data-sourcepos="69:1-69:14"><strong>Conclusion:</strong></h2><div class="group w-full text-gray-800 dark:text-gray-100 border-b border-black/10 dark:border-gray-900/50 bg-gray-50 dark:bg-[#444654]"><div class="flex p-4 gap-4 text-base md:gap-6 md:max-w-2xl lg:max-w-[38rem] xl:max-w-3xl md:py-6 lg:px-0 m-auto"><div class="relative flex w-[calc(100%-50px)] flex-col gap-1 md:gap-3 lg:w-[calc(100%-115px)]"><div class="flex flex-grow flex-col gap-3"><div class="min-h-[20px] flex flex-col items-start gap-4 whitespace-pre-wrap break-words"><div class="markdown prose w-full break-words dark:prose-invert light"><h6>In this blog, we have demonstrated how to build a Social Distancing Monitoring product using OpenVINO and BrainyPi. First and foremost, by combining AI and computer vision, you can determine the distance between individuals in a video, providing valuable insights for ensuring safe social distancing. Furthermore, developers and entrepreneurs looking to incorporate this technology into their computer vision products now have a starting point to explore and enhance the capabilities of OpenVINO. Additionally, by following the steps outlined in this blog, you can get started on your journey to building innovative solutions for a safer future.</h6></div></div></div></div></div></div><div class="group w-full text-gray-800 dark:text-gray-100 border-b border-black/10 dark:border-gray-900/50 bg-gray-50 dark:bg-[#444654]"><div class="flex p-4 gap-4 text-base md:gap-6 md:max-w-2xl lg:max-w-[38rem] xl:max-w-3xl md:py-6 lg:px-0 m-auto"><div class="relative flex w-[calc(100%-50px)] flex-col gap-1 md:gap-3 lg:w-[calc(100%-115px)]"><div class="flex flex-grow flex-col gap-3"><div class="min-h-[20px] flex flex-col items-start gap-4 whitespace-pre-wrap break-words"><div class="markdown prose w-full break-words dark:prose-invert light"><h6>Remember, social distancing plays a crucial role in our collective well-being because it helps maintain safe distances and prevents the spread of contagious diseases. Additionally, technology can be a powerful ally in achieving these goals, so it is important to leverage its capabilities effectively.</h6></div></div></div></div></div></div>								</div>
				</div>
					</div>
		</div>
					</div>
		</section>
				</div>
		<p>The post <a href="https://brainypi.com/social-distance-monitoring-with-brainy-pi/">Social Distance Monitoring with Brainy Pi</a> appeared first on <a href="https://brainypi.com">Brainy Pi</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://brainypi.com/social-distance-monitoring-with-brainy-pi/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		<enclosure url="https://raw.githubusercontent.com/intel-iot-devkit/sample-videos/master/face-demographics-walking.mp4" length="6406124" type="video/mp4" />

			</item>
		<item>
		<title>Cross Road Camera Demo On Brainy Pi</title>
		<link>https://brainypi.com/cross-road-camera-demo-on-brainy-pi/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=cross-road-camera-demo-on-brainy-pi</link>
					<comments>https://brainypi.com/cross-road-camera-demo-on-brainy-pi/#respond</comments>
		
		<dc:creator><![CDATA[BrainyPi Team]]></dc:creator>
		<pubDate>Thu, 15 Jun 2023 03:36:58 +0000</pubDate>
				<category><![CDATA[Blogs]]></category>
		<category><![CDATA[Intel OpenVINO]]></category>
		<guid isPermaLink="false">https://brainypi.com/?p=5385</guid>

					<description><![CDATA[<p>In this blog post, we will explore the AI pipeline for person detection, recognition, and reidentification using OpenVINO on BrainyPi. OpenVINO, short for Open Visual Inference and Neural Network Optimization, is a powerful toolkit by Intel that enables developers to deploy deep learning models efficiently on various hardware platforms. Let&#8217;s implement Cross Road Camera Demo on Brainy Pi ! The [&#8230;]</p>
<p>The post <a href="https://brainypi.com/cross-road-camera-demo-on-brainy-pi/">Cross Road Camera Demo On Brainy Pi</a> appeared first on <a href="https://brainypi.com">Brainy Pi</a>.</p>
]]></description>
										<content:encoded><![CDATA[		<div data-elementor-type="wp-post" data-elementor-id="5385" class="elementor elementor-5385" data-elementor-post-type="post">
						<section class="elementor-section elementor-top-section elementor-element elementor-element-95b2a5b elementor-section-boxed elementor-section-height-default elementor-section-height-default" data-id="95b2a5b" data-element_type="section">
						<div class="elementor-container elementor-column-gap-default">
					<div class="elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-054e579" data-id="054e579" data-element_type="column">
			<div class="elementor-widget-wrap elementor-element-populated">
						<div class="elementor-element elementor-element-a6df691 elementor-widget elementor-widget-text-editor" data-id="a6df691" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<h6 dir="auto" data-sourcepos="5:1-5:347">In this blog post, we will explore the AI pipeline for person detection, recognition, and reidentification using OpenVINO on BrainyPi. OpenVINO, short for Open Visual Inference and Neural Network Optimization, is a powerful toolkit by Intel that enables developers to deploy deep learning models efficiently on various hardware platforms. Let&#8217;s implement Cross Road Camera Demo on Brainy Pi !</h6><h6 dir="auto" data-sourcepos="7:1-7:338">The ability to detect, recognize, and reidentify persons is a crucial component in many computer vision applications, such as surveillance systems, crowd analysis, and personalized marketing. By leveraging OpenVINO&#8217;s optimization techniques and the <a href="https://brainypi.com/">Brainy Pi</a> platform, we can build a robust and efficient solution for person-related tasks.</h6><p dir="auto" data-sourcepos="9:1-9:95"><img decoding="async" src="https://brainypi.com/wp-content/uploads/2023/06/camerademo1.gif" /></p><h2 dir="auto" data-sourcepos="11:1-11:22"><strong>Installing OpenVINO</strong></h2><h6 dir="auto" data-sourcepos="13:1-13:128">To get started, we need to install OpenVINO and its dependencies on BrainyPi. Open a terminal and execute the following command:</h6><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">sudo apt install openvino-toolkit libopencv-dev</pre><h6 dir="auto" data-sourcepos="19:1-19:102">This command will install OpenVINO and the necessary OpenCV development files on your BrainyPi system.</h6><h2 dir="auto" data-sourcepos="21:1-21:18"><strong>Compiling Demos</strong></h2><h6 dir="auto" data-sourcepos="23:1-23:245">Once OpenVINO is installed, we can proceed to compile the demos  by Open Model Zoo. These demos serve as excellent starting points for understanding and exploring the capabilities of OpenVINO. Follow the steps below to compile the demos:</h6><ol dir="auto" data-sourcepos="25:1-43:0"><li data-sourcepos="25:1-30:0"><h6 data-sourcepos="25:4-25:73">Set up the OpenVINO environment by sourcing the <code>setupvars.sh</code> script:</h6><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">source /opt/openvino/setupvars.sh</pre></li><li data-sourcepos="31:1-37:0"><h6 data-sourcepos="31:4-31:101">Clone the Open Model Zoo repository, which contains the demos, by executing the following command:</h6><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">git clone --recurse-submodules https://github.com/openvinotoolkit/open_model_zoo.git
<span lang="shell">cd open_model_zoo/demos/</span></pre></li><li data-sourcepos="38:1-43:0"><h6 data-sourcepos="38:4-38:58">Now, build the demos by running the <code>build_demos.sh</code> script:</h6><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">./build_demos.sh</pre></li></ol><h6 dir="auto" data-sourcepos="44:1-44:94">This process will compile the demo applications and make them ready for execution on BrainyPi.</h6><h2 dir="auto" data-sourcepos="46:1-46:20"><strong>Running Cross Road Camera Demo<br /></strong></h2><h6 dir="auto" data-sourcepos="48:1-48:130">With the demos compiled, we can now download the required models and run them using OpenVINO. Follow these steps to run the demos:</h6><ol dir="auto" data-sourcepos="50:1-68:0"><li data-sourcepos="50:1-55:0"><h6 data-sourcepos="50:4-50:80">Download the models required for the demo by executing the following command:</h6><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">omz_downloader --list ~/open_model_zoo/demos/crossroad_camera_demo/cpp/models.lst -o ~/models/ --precision FP16</pre></li><li data-sourcepos="56:1-62:0"><h6 data-sourcepos="56:4-56:72">Download the test video that we will use for demonstration purposes:</h6><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">cd ~/
<span lang="shell">wget https://raw.githubusercontent.com/intel-iot-devkit/sample-videos/master/people-detection.mp4</span></pre></li><li data-sourcepos="63:1-68:0"><h6 data-sourcepos="63:4-63:120">Once the models and the test video are downloaded, you can run the object detection demo using the following command:</h6><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">~/omz_demos_build/aarch64/Release/crossroad_camera_demo -i ~/people-detection.mp4 -m ~/models/intel/person-vehicle-bike-detection-crossroad-0078/FP16/person-vehicle-bike-detection-crossroad-0078.xml -m_pa ~/models/intel/person-attributes-recognition-crossroad-0230/FP16/person-attributes-recognition-crossroad-0230.xml -m_reid ~/models/intel/person-reidentification-retail-0287/FP16/person-reidentification-retail-0287.xml</pre></li></ol><h6 dir="auto" data-sourcepos="69:1-69:239">In the above command, we specify the input video, as well as the paths to the downloaded models for person detection, person attributes recognition, and person reidentification. Feel free to adjust these paths based on your specific setup.</h6><h2 dir="auto" data-sourcepos="71:1-71:12"><strong>Reference</strong></h2><h6 dir="auto" data-sourcepos="72:1-72:72"><a href="https://docs.openvino.ai/2022.3/omz_demos_crossroad_camera_demo_cpp.html" target="_blank" rel="nofollow noreferrer noopener">https://docs.openvino.ai/2022.3/omz_demos_crossroad_camera_demo_cpp.html</a></h6><h2 dir="auto" data-sourcepos="74:1-74:13"><strong>Conclusion</strong></h2><h6 dir="auto" data-sourcepos="76:1-76:160">In this blog post, we have walked through the process of setting up OpenVINO on BrainyPi and using it to build an AI pipeline for person detection, recognition,</h6><h6 dir="auto" data-sourcepos="78:2-78:188">and reidentification. By leveraging the power of OpenVINO and the BrainyPi platform, developers and entrepreneurs can integrate these capabilities into their own computer vision products.</h6><h6 dir="auto" data-sourcepos="80:1-80:385">The ability to accurately detect and recognize persons opens up numerous possibilities for applications in various domains, including security, retail analytics, and customer experience enhancement. With the step-by-step instructions provided in this blog, you now have a solid foundation to start implementing your own AI-powered computer vision solutions using OpenVINO and BrainyPi.</h6>								</div>
				</div>
					</div>
		</div>
					</div>
		</section>
				</div>
		<p>The post <a href="https://brainypi.com/cross-road-camera-demo-on-brainy-pi/">Cross Road Camera Demo On Brainy Pi</a> appeared first on <a href="https://brainypi.com">Brainy Pi</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://brainypi.com/cross-road-camera-demo-on-brainy-pi/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		<enclosure url="https://raw.githubusercontent.com/intel-iot-devkit/sample-videos/master/people-detection.mp4" length="5482579" type="video/mp4" />

			</item>
		<item>
		<title>Cacti on Brainy Pi</title>
		<link>https://brainypi.com/cacti-on-brainy-pi/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=cacti-on-brainy-pi</link>
					<comments>https://brainypi.com/cacti-on-brainy-pi/#respond</comments>
		
		<dc:creator><![CDATA[BrainyPi Team]]></dc:creator>
		<pubDate>Tue, 13 Jun 2023 17:52:08 +0000</pubDate>
				<category><![CDATA[Blogs]]></category>
		<guid isPermaLink="false">https://brainypi.com/?p=5350</guid>

					<description><![CDATA[<p>Cacti is a powerful open-source software application designed for network monitoring and graphing because it utilizes Simple Network Management Protocol (SNMP) to collect data from network devices and presents it in visual graphs and charts. With its web-based interface, system administrators can easily create and customize graphs, monitor specific metrics, and set threshold-based alerts. Furthermore, Cacti stores collected data in a [&#8230;]</p>
<p>The post <a href="https://brainypi.com/cacti-on-brainy-pi/">Cacti on Brainy Pi</a> appeared first on <a href="https://brainypi.com">Brainy Pi</a>.</p>
]]></description>
										<content:encoded><![CDATA[		<div data-elementor-type="wp-post" data-elementor-id="5350" class="elementor elementor-5350" data-elementor-post-type="post">
						<section class="elementor-section elementor-top-section elementor-element elementor-element-0099309 elementor-section-boxed elementor-section-height-default elementor-section-height-default" data-id="0099309" data-element_type="section">
						<div class="elementor-container elementor-column-gap-default">
					<div class="elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-d83a482" data-id="d83a482" data-element_type="column">
			<div class="elementor-widget-wrap elementor-element-populated">
						<div class="elementor-element elementor-element-7d50ce7 elementor-widget elementor-widget-text-editor" data-id="7d50ce7" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<h6 dir="auto" data-sourcepos="5:1-5:601"><a href="https://www.cacti.net/">Cacti </a>is a powerful open-source software application designed for network monitoring and graphing because it utilizes Simple Network Management Protocol (SNMP) to collect data from network devices and presents it in visual graphs and charts. With its web-based interface, system administrators can easily create and customize graphs, monitor specific metrics, and set threshold-based alerts. Furthermore, Cacti stores collected data in a database, enabling historical analysis and trend tracking. In addition to these features, it offers user management and access control features, making it an ideal tool for network administrators. So, let&#8217;s delve into exploring Cacti on <a href="https://brainypi.com/">Brainy Pi</a> and discover its full potential!</h6><h2 dir="auto" data-sourcepos="7:1-7:24"><strong>Hardware Requirements</strong></h2><h6 dir="auto" data-sourcepos="9:1-9:117">Before getting started with Cacti installation, ensure that your Brainy Pi meets the following hardware requirements:</h6><ol dir="auto" data-sourcepos="11:1-13:0"><li data-sourcepos="11:1-11:18"><h6>Brainy Pi board</h6></li><li data-sourcepos="12:1-13:0"><h6>Ethernet connection to the network/Internet</h6></li></ol><h2 dir="auto" data-sourcepos="14:1-14:28"><strong>Install Required Packages</strong></h2><h6 dir="auto" data-sourcepos="16:1-16:78">To set up Cacti on your Brainy Pi, you need to install the following packages:</h6><ol dir="auto" data-sourcepos="18:1-44:0"><li data-sourcepos="18:1-28:0"><h6 data-sourcepos="18:4-18:21">Apache Web Server:</h6><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">sudo apt-get <span class="nb">install </span>apache2</pre><h6 data-sourcepos="23:4-23:28">Start the Apache service:</h6><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">sudo systemctl start apache2</pre></li><li data-sourcepos="29:1-32:6"><h6 data-sourcepos="29:4-29:7">PHP:</h6><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">sudo apt <span class="nb">install </span>php7.4-fpm php7.4-mbstring php7.4-mysql php7.4-curl php7.4-gd php7.4-zip php7.4-xml <span class="nt">-y</span></pre></li><li data-sourcepos="33:1-44:0"><h6 data-sourcepos="33:4-33:9">MySQL:</h6><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">sudo apt <span class="nb">install </span>php7.4-fpm php7.4-mbstring php7.4-mysql php7.4-curl php7.4-gd php7.4-zip php7.4-xml <span class="nt">-y</span>
<span id="LC2" class="line" lang="shell"><span class="nb">sudo </span>apt <span class="nb">install </span>mariadb-server</span></pre><h6 data-sourcepos="39:4-39:42">Set a password for the MySQL root user:</h6><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">sudo mysql_secure_installation</pre></li></ol><h2 dir="auto" data-sourcepos="45:1-45:19"><strong>Installing Cacti on Brainy Pi<br /></strong></h2><h6 dir="auto" data-sourcepos="47:1-47:44">To install Cacti, run the following command:</h6><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">sudo apt <span class="nb">install </span>cacti</pre><h6 dir="auto" data-sourcepos="53:1-53:66">During the installation, you will be prompted to configure Cacti.</h6><ol dir="auto" data-sourcepos="55:1-62:0"><li data-sourcepos="55:1-58:0"><h6 data-sourcepos="55:5-55:33">Set a password as prompted.</h6><p data-sourcepos="57:5-57:107"><img decoding="async" src="https://brainypi.com/wp-content/uploads/2023/06/cacti1.png" /></p></li><li data-sourcepos="59:1-62:0"><h6 data-sourcepos="59:5-59:37">Choose Apache2 as the web server.</h6><p data-sourcepos="61:5-61:107"><img decoding="async" src="https://brainypi.com/wp-content/uploads/2023/06/cacti2.png" /></p></li></ol><h6 dir="auto" data-sourcepos="63:1-63:72">Cacti will automatically configure itself based on the selected options.</h6><h2 dir="auto" data-sourcepos="65:1-65:30"><strong>Security Settings for Cacti</strong></h2><h6 dir="auto" data-sourcepos="67:1-67:118">To access Cacti through a web browser, you need to configure the security settings. Edit the Cacti configuration file:</h6><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">sudo nano /etc/apache2/sites-enabled/cacti.conf</pre><h6 dir="auto" data-sourcepos="73:1-73:36">Add the following lines to the file:</h6><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">Alias /cacti /usr/share/cacti/site 
<span id="LC2" class="line" lang="plaintext">&lt;Directory /usr/share/cacti/site&gt; </span>
<span id="LC3" class="line" lang="plaintext">   &lt;IfModule mod_authz_core.c&gt; </span>
<span id="LC4" class="line" lang="plaintext">      # httpd 2.4 </span>
<span id="LC5" class="line" lang="plaintext">      Require all granted </span>
<span id="LC6" class="line" lang="plaintext">   &lt;/IfModule&gt; </span>
<span id="LC7" class="line" lang="plaintext">&lt;/Directory&gt;</span></pre><h6 dir="auto" data-sourcepos="85:1-85:27">Restart the Apache service:</h6><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">sudo systemctl restart apache2</pre><h2 dir="auto" data-sourcepos="91:1-91:36"><strong>Adding a Device (Server) to Cacti</strong></h2><h6 dir="auto" data-sourcepos="93:1-93:107">To monitor a server using Cacti, you need to add it as a device in the Cacti interface. Follow these steps:</h6><ol dir="auto" data-sourcepos="95:1-108:0"><li data-sourcepos="95:1-98:3"><h6 data-sourcepos="95:4-95:60">Log in to the Cacti web interface using your credentials.</h6><p data-sourcepos="97:4-97:106"><img decoding="async" src="https://brainypi.com/wp-content/uploads/2023/06/cacti3.png" /></p></li><li data-sourcepos="99:1-102:0"><h6 data-sourcepos="99:4-99:30">Go to &#8220;Create&#8221; in the menu.</h6><p data-sourcepos="101:4-101:106"><img decoding="async" src="https://brainypi.com/wp-content/uploads/2023/06/cacti4.png" /></p></li><li data-sourcepos="103:1-106:0"><h6 data-sourcepos="103:4-103:96">Fill in the required information, such as IP address, SNMP community string, and device type.</h6><p data-sourcepos="105:4-105:106"><img decoding="async" src="https://brainypi.com/wp-content/uploads/2023/06/cacti5.png" /></p></li><li data-sourcepos="107:1-108:0"><h6 data-sourcepos="107:4-107:19">Click on create.</h6></li></ol><h6 dir="auto" data-sourcepos="109:1-109:95">Cacti will now start collecting data from the added server and display it in graphs and charts.</h6><p dir="auto" data-sourcepos="111:1-111:103"><img decoding="async" src="https://brainypi.com/wp-content/uploads/2023/06/cacti6.png" /></p><h2 dir="auto" data-sourcepos="113:1-113:13"><strong>Conclusion</strong></h2><h6 dir="auto" data-sourcepos="115:1-115:315">By following the steps outlined in this blog, you can successfully implement Cacti on your Brainy Pi device and start monitoring your network servers. Cacti provides a user-friendly interface, powerful graphing capabilities, and customizable alerting options, making it an invaluable tool for system administrators.</h6><h6 dir="auto" data-sourcepos="117:1-117:138">Remember to regularly check the Cacti interface to monitor your servers&#8217; performance and proactively address any issues. Happy monitoring!</h6><h6 dir="auto" data-sourcepos="119:1-119:144">With these modifications, your blog will provide a more detailed and comprehensive guide for system admins to set up and use Cacti on Brainy Pi.</h6>								</div>
				</div>
					</div>
		</div>
					</div>
		</section>
				</div>
		<p>The post <a href="https://brainypi.com/cacti-on-brainy-pi/">Cacti on Brainy Pi</a> appeared first on <a href="https://brainypi.com">Brainy Pi</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://brainypi.com/cacti-on-brainy-pi/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Zabbix on Brainy Pi</title>
		<link>https://brainypi.com/zabbix-on-brainy-pi/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=zabbix-on-brainy-pi</link>
					<comments>https://brainypi.com/zabbix-on-brainy-pi/#respond</comments>
		
		<dc:creator><![CDATA[BrainyPi Team]]></dc:creator>
		<pubDate>Tue, 13 Jun 2023 17:29:43 +0000</pubDate>
				<category><![CDATA[Blogs]]></category>
		<guid isPermaLink="false">https://brainypi.com/?p=5318</guid>

					<description><![CDATA[<p>Zabbix is an open-source network monitoring and management software that helps organizations monitor the performance and availability of their IT infrastructure. It offers a wide range of monitoring capabilities for servers, networks, applications, and logs. Zabbix collects data from various sources, analyzes it, and provides insights through customizable dashboards, performance graphs, and reports. It also includes an alerting and notification [&#8230;]</p>
<p>The post <a href="https://brainypi.com/zabbix-on-brainy-pi/">Zabbix on Brainy Pi</a> appeared first on <a href="https://brainypi.com">Brainy Pi</a>.</p>
]]></description>
										<content:encoded><![CDATA[		<div data-elementor-type="wp-post" data-elementor-id="5318" class="elementor elementor-5318" data-elementor-post-type="post">
						<section class="elementor-section elementor-top-section elementor-element elementor-element-e659b5d elementor-section-boxed elementor-section-height-default elementor-section-height-default" data-id="e659b5d" data-element_type="section">
						<div class="elementor-container elementor-column-gap-default">
					<div class="elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-6b22dc3" data-id="6b22dc3" data-element_type="column">
			<div class="elementor-widget-wrap elementor-element-populated">
						<div class="elementor-element elementor-element-76d1d40 elementor-widget elementor-widget-text-editor" data-id="76d1d40" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<h6 dir="auto" data-sourcepos="3:1-3:609"><a href="https://www.zabbix.com/">Zabbix</a> is an open-source network monitoring and management software that helps organizations monitor the performance and availability of their IT infrastructure. It offers a wide range of monitoring capabilities for servers, networks, applications, and logs. Zabbix collects data from various sources, analyzes it, and provides insights through customizable dashboards, performance graphs, and reports. It also includes an alerting and notification system to promptly notify administrators of any issues. Overall, Zabbix is a flexible and powerful tool for proactive monitoring and management of IT resources. Let&#8217;s explore Zabbix on <a href="https://brainypi.com/">Brainy Pi</a>.</h6><h2 dir="auto" data-sourcepos="5:1-5:16"><strong>Pre-Requisites</strong></h2><ol dir="auto" data-sourcepos="7:1-13:0"><li data-sourcepos="7:1-11:0"><h6 data-sourcepos="7:4-7:29">Update you system packages</h6><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">sudo apt update</pre></li><li data-sourcepos="12:1-13:0"><h6 data-sourcepos="12:4-12:83">NGNIX web server should be installed and make sure it has been setup to use php.</h6></li></ol><h6 dir="auto" data-sourcepos="14:1-14:20"><strong>Installing NGNIX</strong></h6><ul dir="auto" data-sourcepos="16:1-16:15"><li data-sourcepos="16:1-16:15"><h6>install NGNIX</h6></li></ul><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">sudo apt <span class="nb">install </span>nginx</pre><ul dir="auto" data-sourcepos="21:1-21:19"><li data-sourcepos="21:1-21:19"><h6>Start its service</h6></li></ul><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">sudo systemctl start nginx</pre><h6 dir="auto" data-sourcepos="26:1-26:29"><strong>Configuring NGNIX for PHP</strong></h6><ul dir="auto" data-sourcepos="28:1-29:0"><li data-sourcepos="28:1-29:0"><h6>Installing dependencies</h6></li></ul><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">sudo apt <span class="nb">install </span>php7.4-fpm php7.4-mbstring php7.4-mysql php7.4-curl php7.4-gd php7.4-curl php7.4-zip php7.4-xml <span class="nt">-y</span></pre><ul dir="auto" data-sourcepos="34:1-35:0"><li data-sourcepos="34:1-35:0"><h6>Making changes to the default NGNIX file</h6></li></ul><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">sudo nano /etc/nginx/sites-enabled/default</pre><h6 dir="auto" data-sourcepos="40:1-40:14">Find the line:</h6><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">index index.html index.htm<span class="p">;</span></pre><h6 dir="auto" data-sourcepos="45:1-45:20">And replace it with:</h6><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">index index.php index.html index.htm<span class="p">;</span></pre><h6 dir="auto" data-sourcepos="50:1-50:11">Then, find:</h6><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">#location ~ \.php$ {
<span id="LC2" class="line" lang="shell">        <span class="c">#       include snippets/fastcgi-php.conf;</span></span>
<span id="LC3" class="line" lang="shell">        <span class="c">#</span></span>
<span id="LC4" class="line" lang="shell">        <span class="c">#       # With php5-cgi alone:</span></span>
<span id="LC5" class="line" lang="shell">        <span class="c">#       fastcgi_pass 127.0.0.1:9000;</span></span>
<span id="LC6" class="line" lang="shell">        <span class="c">#       # With php5-fpm:</span></span>
<span id="LC7" class="line" lang="shell">        <span class="c">#       fastcgi_pass unix:/var/run/php5-fpm.sock;</span></span>
<span id="LC8" class="line" lang="shell">        <span class="c">#}</span></span></pre><h6 dir="auto" data-sourcepos="62:1-62:17">and replace with:</h6><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">location ~ <span class="se">\.</span>php<span class="nv">$ </span><span class="o">{</span>
<span id="LC2" class="line" lang="shell">               include snippets/fastcgi-php.conf<span class="p">;</span></span>
<span id="LC3" class="line" lang="shell">               fastcgi_pass unix:/var/run/php/php7.4-fpm.sock<span class="p">;</span></span>
<span id="LC4" class="line" lang="shell">        <span class="o">}</span></span></pre><blockquote dir="auto" data-sourcepos="69:1-69:25"><h6 data-sourcepos="69:3-69:25">Save and exit the file.</h6></blockquote><ul dir="auto" data-sourcepos="71:1-71:27"><li data-sourcepos="71:1-71:27"><h6>Reload the NGNIX sevrvice</h6></li></ul><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">sudo systemctl reload nginx</pre><ul dir="auto" data-sourcepos="76:1-76:20"><li data-sourcepos="76:1-76:20"><h6>Setting up the php</h6></li></ul><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">sudo nano /home/u647482157/domains/brainypi.com/public_html/index.php</pre><h6 dir="auto" data-sourcepos="81:1-81:43">to this file add the following line of code</h6><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">&lt;?php phpinfo<span class="o">()</span><span class="p">;</span> ?&gt;</pre><blockquote dir="auto" data-sourcepos="86:1-86:16"><h6 data-sourcepos="86:3-86:16">save and exit.</h6></blockquote><ul dir="auto" data-sourcepos="88:1-88:44"><li data-sourcepos="88:1-88:44"><h6>Now you can go to your web sever and enter</h6></li></ul><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">http://&lt;YOUR PI<span class="s1">'s IP ADDRESS&gt;</span></pre><h6 dir="auto" data-sourcepos="92:1-92:42">You would be greeted with NGNIX home page.</h6><ol dir="auto" start="3" data-sourcepos="94:1-95:0"><li data-sourcepos="94:1-95:0"><h6>Device should have MySQL installed on it.</h6></li></ol><p dir="auto" data-sourcepos="96:1-96:20"><strong>Installing MYSQL</strong></p><ul dir="auto" data-sourcepos="98:1-98:35"><li data-sourcepos="98:1-98:35"><h6>Install the MYSQL server software</h6></li></ul><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">sudo apt <span class="nb">install </span>mariadb-server</pre><ul dir="auto" data-sourcepos="103:1-103:38"><li data-sourcepos="103:1-103:38"><h6>setting a password for the root user</h6></li></ul><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">sudo mysql_secure_installation</pre><h6 dir="auto" data-sourcepos="108:1-108:98">Just follow the prompts to set a password for the root user and to secure your MySQL installation.</h6><ul dir="auto" data-sourcepos="110:1-110:53"><li data-sourcepos="110:1-110:53"><h6>Now you can make changes to your MYSQL server using</h6></li></ul><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">sudo mysql <span class="nt">-u</span> root <span class="nt">-p</span></pre><blockquote dir="auto" data-sourcepos="114:1-114:64"><h6 data-sourcepos="114:3-114:64">To exit MYSQL you can either use <strong><code>quit</code></strong> or <strong><code>ctrl + d</code></strong>.</h6></blockquote><h2 dir="auto" data-sourcepos="116:1-116:20"><strong>Installing Zabbix on Brainy Pi<br /></strong></h2><ol dir="auto" data-sourcepos="118:1-137:0"><li data-sourcepos="118:1-122:0"><h6 data-sourcepos="118:4-118:68">Adding <strong><code>Zabbix server</code></strong> repository to our device using <code>wget</code>.</h6><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">wget https://repo.zabbix.com/zabbix/6.2/raspbian/pool/main/z/zabbix-release/zabbix-release_6.2-2%2Bdebian11_all.deb</pre></li><li data-sourcepos="123:1-127:0"><h6 data-sourcepos="123:4-123:78">Once the packages are downloaded, we can use the <code>dpkg</code> tool to install it.</h6><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">sudo dpkg <span class="nt">-i</span> zabbix-release_6.2-2+debian11_all.deb</pre></li><li data-sourcepos="128:1-132:0"><h6 data-sourcepos="128:4-128:72">Update your packages so that the system gets aware of zabbix packages</h6><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">sudo apt update</pre></li><li data-sourcepos="133:1-137:0"><h6 data-sourcepos="133:4-133:77">Install the Zabbix server, its frontend interface, and its agent software.</h6><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">sudo apt <span class="nb">install </span>zabbix-server-mysql zabbix-frontend-php zabbix-nginx-conf zabbix-sql-scripts zabbix-agent</pre></li></ol><h2 dir="auto" data-sourcepos="138:1-138:35"><strong>Setting up the Zabbix server on Brainy Pi<br /></strong></h2><h3 dir="auto" data-sourcepos="141:1-141:41"><strong>Configure the SQL Database for Zabbix</strong></h3><ol dir="auto" data-sourcepos="143:1-175:0"><li data-sourcepos="143:1-147:0"><h6 data-sourcepos="143:4-143:62">We need to start by loading up the MySQL command-line tool.</h6><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">sudo mysql <span class="nt">-uroot</span> <span class="nt">-p</span></pre></li><li data-sourcepos="148:1-152:0"><h6 data-sourcepos="148:4-148:36">Creating a database called zabbix</h6><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">CREATE DATABASE zabbix CHARACTER SET utf8 collate utf8_bin<span class="p">;</span></pre></li><li data-sourcepos="153:1-157:0"><h6 data-sourcepos="153:4-153:82">Create a user called “zabbix” that will be used to access the new database.</h6><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">CREATE USER zabbix@localhost IDENTIFIED BY <span class="s1">'PASSWORDHERE'</span><span class="p">;</span></pre></li><li data-sourcepos="158:1-163:0"><h6 data-sourcepos="158:4-158:86">Finally, with both the user and database created, we need to grant some privileges.</h6><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">GRANT ALL PRIVILEGES on zabbix.<span class="k">*</span> to zabbix@localhost<span class="p">;</span></pre></li><li data-sourcepos="164:1-168:0"><h6 data-sourcepos="164:4-164:20">Exit the database</h6><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">quit<span class="p">;</span></pre></li><li data-sourcepos="169:1-175:0"><h6 data-sourcepos="169:4-169:45">Import the tables and initial Zabbix data.</h6><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">zcat /usr/share/zabbix-sql-scripts/mysql/server.sql.gz | mysql <span class="nt">--default-character-set</span><span class="o">=</span>utf8mb4 <span class="nt">-uzabbix</span> <span class="nt">-p</span> zabbix</pre><blockquote data-sourcepos="173:4-174:105"><h6 data-sourcepos="173:6-174:105">Before proceeding, you will need to enter the password you set for the “zabbix” user earlier in this guide. Please note this process can take some time as it needs to insert a lot of data into the SQL database.</h6></blockquote></li></ol><h3 dir="auto" data-sourcepos="176:1-176:45"><strong>Modifying the Zabbix Server Configuration</strong></h3><h6 dir="auto" data-sourcepos="178:1-178:104">We now need to modify the configuration file for the Zabbix server to set the password for the database.</h6><h6 dir="auto" data-sourcepos="180:1-180:85">Without this, Zabbix won’t know how to connect itself to our Pi’s MySQL software.</h6><ol dir="auto" data-sourcepos="182:1-198:0"><li data-sourcepos="182:1-186:0"><h6 data-sourcepos="182:4-182:44">Modifying the Zabbix server configuration</h6><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">sudo nano /etc/zabbix/zabbix_server.conf</pre></li><li data-sourcepos="187:1-198:0"><h6 data-sourcepos="187:4-187:47">Using <strong><code>ctrl + w</code></strong> fine the line that says</h6><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">#DBPassowrd=</pre><h6 data-sourcepos="192:4-192:80">Uncomment this line and add your <code>zabbix</code> password here. It should look like:</h6><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">DBPassword<span class="o">=</span>PASSWORD</pre><blockquote data-sourcepos="197:4-197:19"><h6 data-sourcepos="197:6-197:19">Save and exit</h6></blockquote></li></ol><h3 dir="auto" data-sourcepos="199:1-199:47"><strong>Reconfiguring NGINX for the Zabbix Frontend</strong></h3><ol dir="auto" data-sourcepos="201:1-237:6"><li data-sourcepos="201:1-205:0"><h6 data-sourcepos="201:4-201:77">Modify the default NGINX configuration to point at the Zabbix config file.</h6><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">sudo nano /etc/nginx/nginx.conf</pre></li><li data-sourcepos="206:1-216:0"><h6 data-sourcepos="206:4-206:43">Find the following line using <code>ctrl + w</code></h6><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">include /etc/nginx/sites-enabled/<span class="k">*</span><span class="p">;</span></pre><h6 data-sourcepos="211:4-211:38">and add the following line below it</h6><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">include /etc/zabbix/nginx.conf<span class="p">;</span></pre><blockquote data-sourcepos="215:4-215:18"><h6 data-sourcepos="215:6-215:18">save and exit</h6></blockquote></li><li data-sourcepos="217:1-228:0"><h6 data-sourcepos="217:4-217:39">Modify the Zabbix configuration file</h6><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">sudo nano /etc/zabbix/nginx.conf</pre><h6 data-sourcepos="222:4-222:62">Within this file, find the following line and uncomment it.</h6><blockquote data-sourcepos="223:4-223:60"><h6 data-sourcepos="223:6-223:60">This line should be somewhere near the top of the file.</h6></blockquote><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">#        listen          8080;</pre><blockquote data-sourcepos="227:4-227:18"><h6 data-sourcepos="227:6-227:18">save and exit</h6></blockquote></li><li data-sourcepos="229:1-233:0"><h6 data-sourcepos="229:4-229:42">Remove the default NGINX configuration.</h6><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">sudo rm /etc/nginx/sites-enabled/default</pre></li><li data-sourcepos="234:1-237:6"><h6 data-sourcepos="234:4-234:77">Restart all of our services so that the configuration changes take effect.</h6><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">sudo systemctl restart zabbix-server zabbix-agent nginx php7.4-fpm</pre></li></ol><hr data-sourcepos="238:1-239:0" /><h6 dir="auto" data-sourcepos="240:1-240:99">Now that we have set up NGINX, MySQL, and the Zabbix server, we can finally load its web interface.</h6><h6 dir="auto" data-sourcepos="242:1-242:121">You can use any web browser to access your Pi’s Zabbix server. You will only need to know your Pi’s local IP address.</h6><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">hostname <span class="nt">-I</span></pre><h6 dir="auto" data-sourcepos="248:1-248:77">With your Pi’s IP address, go to the following address in your web browser.</h6><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">http://[IPADDRESS]</pre><hr data-sourcepos="252:1-253:0" /><h2 dir="auto" data-sourcepos="254:1-254:13"><strong>Conclusion</strong></h2><h6 dir="auto" data-sourcepos="256:1-256:87">You should have successfully installed the Zabbix monitoring software on your Brainy Pi.</h6><h6 dir="auto" data-sourcepos="258:1-258:107">You can use Zabbix to monitor various things, including your Brainy Pi’s CPU load and network utilization.</h6>								</div>
				</div>
					</div>
		</div>
					</div>
		</section>
				</div>
		<p>The post <a href="https://brainypi.com/zabbix-on-brainy-pi/">Zabbix on Brainy Pi</a> appeared first on <a href="https://brainypi.com">Brainy Pi</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://brainypi.com/zabbix-on-brainy-pi/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Nagios on Brainy Pi</title>
		<link>https://brainypi.com/nagios-on-brainy-pi/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=nagios-on-brainy-pi</link>
					<comments>https://brainypi.com/nagios-on-brainy-pi/#respond</comments>
		
		<dc:creator><![CDATA[BrainyPi Team]]></dc:creator>
		<pubDate>Tue, 13 Jun 2023 17:12:26 +0000</pubDate>
				<category><![CDATA[Blogs]]></category>
		<guid isPermaLink="false">https://brainypi.com/?p=5299</guid>

					<description><![CDATA[<p>Nagios is an open-source monitoring system that helps organizations and IT professionals monitor the health and performance of their IT infrastructure. It provides a comprehensive solution for monitoring systems, networks, applications, and services. Let&#8217;s explore Nagios on Brainy Pi. Nagios allows you to monitor various aspects of your infrastructure, such as servers, switches, routers, databases, and more. It uses a [&#8230;]</p>
<p>The post <a href="https://brainypi.com/nagios-on-brainy-pi/">Nagios on Brainy Pi</a> appeared first on <a href="https://brainypi.com">Brainy Pi</a>.</p>
]]></description>
										<content:encoded><![CDATA[		<div data-elementor-type="wp-post" data-elementor-id="5299" class="elementor elementor-5299" data-elementor-post-type="post">
						<section class="elementor-section elementor-top-section elementor-element elementor-element-cdcdda5 elementor-section-boxed elementor-section-height-default elementor-section-height-default" data-id="cdcdda5" data-element_type="section">
						<div class="elementor-container elementor-column-gap-default">
					<div class="elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-d05a554" data-id="d05a554" data-element_type="column">
			<div class="elementor-widget-wrap elementor-element-populated">
						<div class="elementor-element elementor-element-6885fbf elementor-widget elementor-widget-text-editor" data-id="6885fbf" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<h6 dir="auto" data-sourcepos="3:1-3:250"><a href="https://www.nagios.org/">Nagios</a> is an open-source monitoring system that helps organizations and IT professionals monitor the health and performance of their IT infrastructure. It provides a comprehensive solution for monitoring systems, networks, applications, and services. Let&#8217;s explore Nagios on <a href="https://brainypi.com/">Brainy Pi</a>.</h6><h6 dir="auto" data-sourcepos="5:1-5:334">Nagios allows you to monitor various aspects of your infrastructure, such as servers, switches, routers, databases, and more. It uses a plugin-based architecture, where different plugins are responsible for monitoring specific resources or services. These plugins collect data and report it back to Nagios for processing and analysis.</h6><h2 dir="auto" data-sourcepos="7:1-7:21"><strong>Equipment Required</strong></h2><ul dir="auto" data-sourcepos="9:1-14:0"><li data-sourcepos="9:1-9:10"><h6>Brainy Pi</h6></li><li data-sourcepos="10:1-10:14"><h6>Power Supply</h6></li><li data-sourcepos="11:1-11:20"><h6>Keyboard and mouse</h6></li><li data-sourcepos="12:1-12:24"><h6>Monitor and HDMI cable</h6></li><li data-sourcepos="13:1-14:0"><h6>Ethernet Cable or Wi-Fi</h6></li></ul><h2 dir="auto" data-sourcepos="15:1-15:30"><strong>Preparing device for Nagios</strong></h2><ol dir="auto" data-sourcepos="17:1-18:0"><li data-sourcepos="17:1-18:0"><h6>Before we start, let us ensure that our operating system is entirely up to date.</h6></li></ol><h6 dir="auto" data-sourcepos="19:1-19:86">To update everything, we need to type in the following two commands into the terminal.</h6><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">sudo apt update
<span id="LC2" class="line" lang="shell"><span class="nb">sudo </span>apt upgrade</span></pre><ol dir="auto" start="2" data-sourcepos="26:1-27:0"><li data-sourcepos="26:1-27:0"><h6>Once your BrainyPi has finished updating, we can now install the packages that we will be using to run Nagios.</h6></li></ol><h6 dir="auto" data-sourcepos="28:1-28:65">Run the following command to install all the packages we require.</h6><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">sudo apt <span class="nb">install</span> <span class="nt">-y</span> autoconf build-essential wget unzip apache2 apache2-utils libapache2-mod-php php libgd-dev snmp libnet-snmp-perl gettext libssl-dev wget bc gawk dc libmcrypt-dev
<span id="LC2" class="line" lang="shell"><span class="nb">sudo </span>a2enmod php7.4</span></pre><blockquote dir="auto" data-sourcepos="35:1-35:213"><h6 data-sourcepos="35:3-35:213">This command installs several packages that we need. These packages include the compiler we need to compile the Nagios software. We also install the Apache web server, which is used for Nagios’s web interface.</h6></blockquote><h2 dir="auto" data-sourcepos="37:1-37:35"><strong>Downloading and Compiling Nagios</strong></h2><ol dir="auto" data-sourcepos="39:1-40:0"><li data-sourcepos="39:1-40:0"><h6>To start, we are going to first change into the /tmp directory.</h6></li></ol><h6 dir="auto" data-sourcepos="41:1-41:86">This directory is where we will download, extract, and compile the Nagios source code.</h6><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">cd /tmp</pre><ol dir="auto" start="2" data-sourcepos="47:1-48:0"><li data-sourcepos="47:1-48:0"><h6>We can now download the Nagios source code to our BrainyPi by running the following command.</h6></li></ol><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">wget <span class="nt">-O</span> nagios.tar.gz https://github.com/NagiosEnterprises/nagioscore/archive/nagios-4.4.6.tar.gz</pre><blockquote dir="auto" data-sourcepos="53:1-53:86"><h6 data-sourcepos="53:3-53:86">This command will use wget to download the Nagios source code to our /tmp directory.</h6></blockquote><ol dir="auto" start="3" data-sourcepos="55:1-56:0"><li data-sourcepos="55:1-56:0"><h6>Once the archive has finished download, we can extract it by running the following command.</h6></li></ol><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">tar xzf nagios.tar.gz</pre><ol dir="auto" start="4" data-sourcepos="61:1-62:0"><li data-sourcepos="61:1-62:0"><h6>Now change into the Nagios directory and configure the software for compilation.</h6></li></ol><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">cd /tmp/nagioscore-nagios-4.4.6/
<span id="LC2" class="line" lang="shell">./configure <span class="nt">--with-httpd-conf</span><span class="o">=</span>/etc/apache2/sites-enabled</span></pre><ol dir="auto" start="5" data-sourcepos="68:1-69:0"><li data-sourcepos="68:1-69:0"><h6>Let us now compile Nagios by running the following command.</h6></li></ol><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">make all</pre><blockquote dir="auto" data-sourcepos="74:1-74:124"><h6 data-sourcepos="74:3-74:124">This process can take some time as it needs to compile all the Nagios code. Running this can take approximately 5 minutes.</h6></blockquote><h2 dir="auto" data-sourcepos="76:1-76:36"><strong>Setting Up Nagios on  Brainy Pi</strong></h2><ol dir="auto" data-sourcepos="78:1-79:0"><li data-sourcepos="78:1-79:0"><h6>Let us make use of the make command to create the user and group Nagios needs to run.</h6></li></ol><h6 dir="auto" data-sourcepos="80:1-80:91">We will also add the www-data user to the nagios group that is created by our make command.</h6><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">sudo make install-groups-users
<span id="LC2" class="line" lang="shell"><span class="nb">sudo </span>usermod <span class="nt">-a</span> <span class="nt">-G</span> nagios www-data</span></pre><ol dir="auto" start="2" data-sourcepos="87:1-88:0"><li data-sourcepos="87:1-88:0"><h6>Next, install the compiled binaries to our operating system by utilizing the command below.</h6></li></ol><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">sudo make <span class="nb">install</span></pre><ol dir="auto" start="3" data-sourcepos="93:1-94:0"><li data-sourcepos="93:1-94:0"><h6>We can also use the make command to install the Nagios service and set it up to start at boot.</h6></li></ol><h6 dir="auto" data-sourcepos="95:1-95:60">Run the following command to install the Nagios core daemon.</h6><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">sudo make install-daemoninit</pre><ol dir="auto" start="4" data-sourcepos="101:1-102:0"><li data-sourcepos="101:1-102:0"><h6>Now we can run the following command to set up the external command directory.</h6></li></ol><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">sudo make install-commandmode</pre><ol dir="auto" start="5" data-sourcepos="107:1-108:0"><li data-sourcepos="107:1-108:0"><h6>Our next step is to copy the sample configuration file again by using the make command.</h6></li></ol><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">sudo make install-config</pre><blockquote dir="auto" data-sourcepos="113:1-113:115"><h6 data-sourcepos="113:3-113:115">These configuration files are needed for Nagios to operate. Without the config files, the software will not load.</h6></blockquote><ol dir="auto" start="6" data-sourcepos="115:1-116:0"><li data-sourcepos="115:1-116:0"><h6>Our second last step is to install the Apache configuration files.</h6></li></ol><h6 dir="auto" data-sourcepos="117:1-117:121">This command will install the required configuration files to the directory we specified when we configured the makefile.</h6><h6 dir="auto" data-sourcepos="119:1-119:96">We will also use two a2enmod commands to make sure that the required Apache modules are enabled.</h6><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">sudo make install-webconf
<span id="LC2" class="line" lang="shell"><span class="nb">sudo </span>a2enmod rewrite</span>
<span id="LC3" class="line" lang="shell"><span class="nb">sudo </span>a2enmod cgi</span></pre><ol dir="auto" start="7" data-sourcepos="127:1-128:0"><li data-sourcepos="127:1-128:0"><h6>In our final step, we will be creating an Apache user that you will use to access the Nagios interface on your BrainyPi.</h6></li></ol><h6 dir="auto" data-sourcepos="129:1-129:115">The following command will create a user called nagiosadmin. You will be asked to specify a password for this user.</h6><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">sudo htpasswd <span class="nt">-c</span> /usr/local/nagios/etc/htpasswd.users nagiosadmin</pre><blockquote dir="auto" data-sourcepos="135:1-135:85"><h6 data-sourcepos="135:3-135:85">The user must be called nagiosadmin to satisfy the default configuration of Nagios.</h6></blockquote><h2 dir="auto" data-sourcepos="137:1-137:34"><strong>Starting Nagios on  Brainy Pi</strong></h2><ol dir="auto" data-sourcepos="139:1-140:0"><li data-sourcepos="139:1-140:0"><h6>Our first step is to restart the Apache web server by running the following command.</h6></li></ol><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">sudo systemctl restart apache2</pre><blockquote dir="auto" data-sourcepos="145:1-145:75"><h6 data-sourcepos="145:3-145:75">Restarting Apache will allow our new configuration files to be loaded in.</h6></blockquote><ol dir="auto" start="2" data-sourcepos="147:1-148:0"><li data-sourcepos="147:1-148:0"><h6>Next, enable the Nagios service and start it up by running the following two commands.</h6></li></ol><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">sudo systemctl <span class="nb">enable </span>nagios
<span id="LC2" class="line" lang="shell"><span class="nb">sudo </span>systemctl start nagios</span></pre><blockquote dir="auto" data-sourcepos="154:1-154:91"><h6 data-sourcepos="154:3-154:91">By enabling the service, we will be allowing Nagios to start up at boot on your BrainyPi.</h6></blockquote><ol dir="auto" start="3" data-sourcepos="156:1-157:0"><li data-sourcepos="156:1-157:0"><h6>You can verify that Nagios has started on your BrainyPi by running the following command.</h6></li></ol><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">sudo systemctl status nagios</pre><h6 dir="auto" data-sourcepos="162:1-162:101">If everything is working as intended, you should see the following text be outputted to the terminal.</h6><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">Active: active <span class="o">(</span>running<span class="o">)</span></pre><blockquote dir="auto" data-sourcepos="168:1-168:73"><h6 data-sourcepos="168:3-168:73">This text tells us that the service is active and is currently running.</h6></blockquote><h2 dir="auto" data-sourcepos="170:1-170:32"><strong>Installing the Nagios Plugins</strong></h2><ol dir="auto" data-sourcepos="172:1-173:0"><li data-sourcepos="172:1-173:0"><h6>First change into our /tmp directory.</h6></li></ol><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">cd /tmp</pre><ol dir="auto" start="2" data-sourcepos="178:1-179:0"><li data-sourcepos="178:1-179:0"><h6>Now that we are in the /tmp directory, we can download the Nagios plugins by running the command below.</h6></li></ol><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">wget <span class="nt">-O</span> nagios-plugins.tar.gz https://github.com/nagios-plugins/nagios-plugins/releases/download/release-2.3.3/nagios-plugins-2.3.3.tar.gz</pre><ol dir="auto" start="3" data-sourcepos="184:1-185:0"><li data-sourcepos="184:1-185:0"><h6>Now extract the plugin source code to our current directory by using the following command.</h6></li></ol><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">tar zxf nagios-plugins.tar.gz</pre><ol dir="auto" start="4" data-sourcepos="190:1-191:0"><li data-sourcepos="190:1-191:0"><h6>Our next step is to change into our newly created directory and configure the plugins for compilation.</h6></li></ol><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">cd /tmp/nagios-plugins-2.3.3
<span id="LC2" class="line" lang="shell">./configure</span></pre><ol dir="auto" start="5" data-sourcepos="197:1-198:0"><li data-sourcepos="197:1-198:0"><h6>Once the configuration process has completed, we can compile the Nagios plugins by running the following command.</h6></li></ol><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">make</pre><blockquote dir="auto" data-sourcepos="203:1-203:50"><h6 data-sourcepos="203:3-203:50">This process can also take some time to execute.</h6></blockquote><ol dir="auto" start="6" data-sourcepos="205:1-206:0"><li data-sourcepos="205:1-206:0"><h6>Finish up this process by installing the Nagios plugins by running the following command.</h6></li></ol><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">sudo make <span class="nb">install</span></pre><ol dir="auto" start="7" data-sourcepos="211:1-212:0"><li data-sourcepos="211:1-212:0"><h6>To make sure Nagios loads in the new plugins, restart the software by running the command below.</h6></li></ol><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">sudo systemctl restart nagios</pre><h2 dir="auto" data-sourcepos="217:1-217:41"><strong>Connecting to the Nagios Web Interface</strong></h2><ol dir="auto" data-sourcepos="219:1-220:0"><li data-sourcepos="219:1-220:0"><h6>To access the Nagios web interface, you will need to know the BrainyPi’s IP address.</h6></li></ol><h6 dir="auto" data-sourcepos="221:1-221:85">You can retrieve your Brainy Pi’s local IP address by running the following command.</h6><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">hostname -I</pre><blockquote dir="auto" data-sourcepos="227:1-227:43"><h6 data-sourcepos="227:3-227:43">You need the host&#8217;s ip for the next step.</h6></blockquote><ol dir="auto" start="2" data-sourcepos="229:1-230:0"><li data-sourcepos="229:1-230:0"><h6>To connect to the Nagios web interface, you will need to go to your Pi’s IP address followed by /nagios.</h6></li></ol><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">http://[IPADDRESS]/nagios</pre><h6 dir="auto" data-sourcepos="235:1-235:76">When you try to connect, you will be asked to enter a username and password.</h6><blockquote dir="auto" data-sourcepos="237:1-237:115"><h6 data-sourcepos="237:3-237:115">The username should be nagiosadmin(specified above in the tutorial), and the password should be what you entered.</h6></blockquote><ol dir="auto" start="3" data-sourcepos="239:1-240:0"><li data-sourcepos="239:1-240:0"><h6>Upon a successful connection, you should be greeted by the Nagios core homepage, all running from your Brainy Pi.</h6></li></ol><p dir="auto" data-sourcepos="241:1-241:61"><img decoding="async" src="https://brainypi.com/wp-content/uploads/2023/06/nagios1.png" /></p><h2 dir="auto" data-sourcepos="243:1-243:13"><strong>Conclusion</strong></h2><h6 dir="auto" data-sourcepos="245:1-245:166">Throughout this blog, we have explored the step-by-step process of setting up Nagios, from installing the necessary dependencies to configuring the monitoring system.</h6><h6 dir="auto" data-sourcepos="247:1-247:302">By following these instructions, administrators can gain real-time visibility into the health and performance of their systems, networks, and services. With its plugin-based architecture, customizable notifications, and extensive community support, Nagios remains a popular choice for monitoring needs.</h6>								</div>
				</div>
					</div>
		</div>
					</div>
		</section>
				</div>
		<p>The post <a href="https://brainypi.com/nagios-on-brainy-pi/">Nagios on Brainy Pi</a> appeared first on <a href="https://brainypi.com">Brainy Pi</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://brainypi.com/nagios-on-brainy-pi/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>ChatGPT API on Brainy Pi</title>
		<link>https://brainypi.com/chatgpt-api-on-brainypi/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=chatgpt-api-on-brainypi</link>
					<comments>https://brainypi.com/chatgpt-api-on-brainypi/#respond</comments>
		
		<dc:creator><![CDATA[BrainyPi Team]]></dc:creator>
		<pubDate>Fri, 09 Jun 2023 17:53:48 +0000</pubDate>
				<category><![CDATA[Blogs]]></category>
		<guid isPermaLink="false">https://brainypi.com/?p=5247</guid>

					<description><![CDATA[<p>If you&#8217;re a developer looking to integrate an intelligent assistant into your project, you may want to consider using the ChatGPT API on Brainy Pi from OpenAI. With ChatGPT, you can build chatbots, virtual assistants, and other conversational interfaces that can understand natural language and provide intelligent responses. In this blog post, we&#8217;ll walk you through the process of using [&#8230;]</p>
<p>The post <a href="https://brainypi.com/chatgpt-api-on-brainypi/">ChatGPT API on Brainy Pi</a> appeared first on <a href="https://brainypi.com">Brainy Pi</a>.</p>
]]></description>
										<content:encoded><![CDATA[		<div data-elementor-type="wp-post" data-elementor-id="5247" class="elementor elementor-5247" data-elementor-post-type="post">
						<section class="elementor-section elementor-top-section elementor-element elementor-element-dd907f1 elementor-section-boxed elementor-section-height-default elementor-section-height-default" data-id="dd907f1" data-element_type="section">
						<div class="elementor-container elementor-column-gap-default">
					<div class="elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-56f392e" data-id="56f392e" data-element_type="column">
			<div class="elementor-widget-wrap elementor-element-populated">
						<div class="elementor-element elementor-element-58895f8 elementor-widget elementor-widget-text-editor" data-id="58895f8" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<h6 dir="auto" data-sourcepos="3:1-3:312">If you&#8217;re a developer looking to integrate an intelligent assistant into your project, you may want to consider using the ChatGPT API on Brainy Pi from OpenAI. With ChatGPT, you can build chatbots, virtual assistants, and other conversational interfaces that can understand natural language and provide intelligent responses.</h6><h6 dir="auto" data-sourcepos="5:1-5:249">In this blog post, we&#8217;ll walk you through the process of using the ChatGPT API on <a href="https://brainypi.com/">Brainy Pi</a>, a popular platform for building IoT projects. By the end of this post, you should be able to build your own intelligent assistant using ChatGPT and BrainyPi.</h6><h2 dir="auto" data-sourcepos="7:1-7:18"><strong>Getting Started</strong></h2><h6 dir="auto" data-sourcepos="9:1-9:81">Before you can start using ChatGPT API on Brainy Pi, you&#8217;ll need to sign up for an OpenAI API key.</h6><ol><li data-sourcepos="11:1-11:66"><h6 data-sourcepos="11:5-11:66">Go to the <a href="https://platform.openai.com/account/api-keys" target="_blank" rel="nofollow noreferrer noopener">link</a></h6></li><li data-sourcepos="12:1-12:36"><h6 data-sourcepos="12:5-12:36">Login into the ChatGPT website.</h6></li><li data-sourcepos="13:1-16:0"><h6 data-sourcepos="13:5-13:56">Go to &#8220;API Keys&#8221;, Click on &#8220;Create new secret key&#8221;.</h6><p><img decoding="async" src="https://brainypi.com/wp-content/uploads/2023/06/chat1.png" /></p></li><li data-sourcepos="17:1-20:0"><h6 data-sourcepos="17:5-17:92">Copy the newly generated secret key. This key will be used to communicate with the API.<img decoding="async" src="https://brainypi.com/wp-content/uploads/2023/06/chat2.png" /></h6></li><li data-sourcepos="21:1-30:0"><h6 data-sourcepos="21:5-21:42">Check if you can use the ChatGPT API.</h6><ol data-sourcepos="23:5-30:0"><li data-sourcepos="23:5-26:6"><h6 data-sourcepos="23:9-23:20">Invalid <img src="https://s.w.org/images/core/emoji/16.0.1/72x72/274c.png" alt="❌" class="wp-smiley" style="height: 1em; max-height: 1em;" /></h6><p data-sourcepos="25:9-25:143"><img decoding="async" src="https://brainypi.com/wp-content/uploads/2023/06/chat3.png" /></p></li><li data-sourcepos="27:5-30:0"><h6 data-sourcepos="27:9-27:33">Valid <img src="https://s.w.org/images/core/emoji/16.0.1/72x72/2705.png" alt="✅" class="wp-smiley" style="height: 1em; max-height: 1em;" /></h6><p data-sourcepos="29:9-29:189"><a href="https://gitlab.iotiot.in/brainypi-team/brainypi-users/rbian-projects/uploads/28e8b667b4063ca85b717cf0d3658ca8/is-this-free-trial-for-chatgtp-or-something-else-v0-c81856enuaca1.png" target="_blank" rel="noopener noreferrer" data-link="true"><img decoding="async" src="https://gitlab.iotiot.in/brainypi-team/brainypi-users/rbian-projects/uploads/28e8b667b4063ca85b717cf0d3658ca8/is-this-free-trial-for-chatgtp-or-something-else-v0-c81856enuaca1.png" alt="is-this-free-trial-for-chatgtp-or-something-else-v0-c81856enuaca1" /></a></p></li></ol></li><li data-sourcepos="31:1-32:0"><h6 data-sourcepos="31:5-31:80">If you have an invalid account they you have to pay to enable this feature.</h6></li></ol><h2 dir="auto" data-sourcepos="33:1-33:26"><strong>Installing dependencies</strong></h2><h6 dir="auto" data-sourcepos="35:1-35:80">Once you have your API key, you can install the OpenAI Python library using pip:</h6><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">sudo apt update &amp;&amp; sudo apt upgrade
<span lang="shell">sudo apt install -y python3 python3-pip </span>
<span lang="shell">pip3 install openai</span></pre><h2 dir="auto" data-sourcepos="43:1-43:21"><strong>Creating a Chatbot</strong></h2><ol dir="auto" data-sourcepos="45:1-76:0"><li data-sourcepos="45:1-52:0"><h6 data-sourcepos="45:5-45:66">You&#8217;ll need to import the OpenAI library and set your API key:</h6><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">import openai

<span lang="python">openai.api_key = 'API_KEY'</span></pre><h6 data-sourcepos="51:5-51:55">You can replace <code>API_KEY</code> with your actual API key.</h6></li><li data-sourcepos="53:1-71:0"><h6 data-sourcepos="53:5-54:72">Now that you have everything set up, you can start building your chatbot. Here&#8217;s an example code snippet that you can use as a starting point:</h6><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">messages = [ {"role": "system", "content": "You are an intelligent assistant." } ]
<span lang="plaintext">while True:</span>
<span lang="plaintext">    message = input("You: ")</span>
<span lang="plaintext">    messages.append(</span>
<span lang="plaintext">        {"role": "user", "content": message},</span>
<span lang="plaintext">    )</span>
<span lang="plaintext">    chat = openai.ChatCompletion.create(</span>
<span lang="plaintext">        model="davinci", messages=messages</span>
<span lang="plaintext">    )</span>
<span lang="plaintext">    reply = chat.choices[0].text</span>
<span lang="plaintext">    print("Assistant: ", reply)</span>
<span lang="plaintext">    messages.append({"role": "system", "content": reply})</span></pre><h6 data-sourcepos="70:5-70:220">In this code snippet, we start by initializing a list of messages that includes a welcome message from the system. We then enter a loop that prompts the user for input and appends each message to the <code>messages</code> list.</h6></li><li data-sourcepos="72:1-74:0"><h6 data-sourcepos="72:5-73:159">Next, we call the <code>openai.ChatCompletion.create()</code> method to generate a response from the ChatGPT model. We pass in the <code>messages</code> list as input and specify the model to use (in this case, <code>davinci</code>, which is one of the most powerful ChatGPT models available).</h6></li><li data-sourcepos="75:1-76:0"><h6 data-sourcepos="75:5-75:139">Finally, we print the response and append it to the <code>messages</code> list so that it can be used as input for the next iteration of the loop.</h6></li></ol><h2 dir="auto" data-sourcepos="77:1-77:13"><strong>Final code for ChatGPT on Brainy Pi<br /></strong></h2><pre style="padding: 5px 10px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #f8f8f2; border-radius: 3px; margin-top: 5px; margin-bottom: 5px; line-height: 20px; background-color: #23241f; border: 1px solid #d3d3d3; max-width: 100%; max-height: 500px; overflow: hidden auto;">import openai

<span lang="python">openai.api_key = 'API_KEY'</span>

<span lang="python">messages = [ {"role": "system", "content": "You are an intelligent assistant." } ]</span>
<span lang="python">while True:</span>
<span lang="python">    message = input("You: ")</span>
<span lang="python">    messages.append(</span>
<span lang="python">        {"role": "user", "content": message},</span>
<span lang="python">    )</span>
<span lang="python">    chat = openai.ChatCompletion.create(</span>
<span lang="python">        model="gpt-3.5-turbo", messages=messages</span>
<span lang="python">    )</span>
<span lang="python">    reply = chat.choices[0].message</span>
<span lang="python">    print("Assistant: ", reply.content)</span>
<span lang="python">    messages.append(reply)</span></pre><h2 dir="auto" data-sourcepos="99:1-99:27"><strong>Customizing Your Chatbot</strong></h2><h6 dir="auto" data-sourcepos="101:1-101:165">Of course, this is just a basic example, and you&#8217;ll likely want to customize your chatbot to better fit your needs. Here are a few tips for customizing your chatbot:</h6><ul dir="auto" data-sourcepos="103:1-107:0"><li data-sourcepos="103:1-103:175"><h6>Modify the <code>messages</code> list to include additional context for the ChatGPT model. For example, you could include information about the user&#8217;s name, location, or preferences.</h6></li><li data-sourcepos="104:1-104:184"><h6>Use a different ChatGPT model to achieve different levels of performance and accuracy. OpenAI offers several models with varying levels of computational complexity and performance.</h6></li><li data-sourcepos="105:1-105:184"><h6>Use the <code>openai.Completion.create()</code> method to specify additional parameters for the ChatGPT model, such as the maximum length of the response or the presence of specific keywords.</h6></li><li data-sourcepos="106:1-107:0"><h6>Implement error handling to ensure that your chatbot can handle unexpected inputs or errors from the API.</h6></li></ul><h2 dir="auto" data-sourcepos="108:1-108:13"><strong>Conclusion</strong></h2><h6 dir="auto" data-sourcepos="110:1-110:444">In this blog post, we&#8217;ve shown you how to use the ChatGPT API on Brainy Pi to build an intelligent assistant. With ChatGPT, you can create chatbots, virtual assistants, and other conversational interfaces that can understand natural language and provide intelligent responses. By following the steps outlined in this post, you should now have the knowledge and tools you need to start building your own chatbot using the ChatGPT API on Brainy Pi.</h6><h6 dir="auto" data-sourcepos="112:1-112:283">Of course, this is just the beginning. There&#8217;s a lot more you can do with ChatGPT, from building more sophisticated chatbots to integrating it with other platforms and services. To learn more about the ChatGPT API and its capabilities, check out the OpenAI website and documentation.</h6><h6 dir="auto" data-sourcepos="114:1-114:15">Happy building!</h6>								</div>
				</div>
					</div>
		</div>
					</div>
		</section>
				</div>
		<p>The post <a href="https://brainypi.com/chatgpt-api-on-brainypi/">ChatGPT API on Brainy Pi</a> appeared first on <a href="https://brainypi.com">Brainy Pi</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://brainypi.com/chatgpt-api-on-brainypi/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
