{"id":16009,"date":"2026-07-27T13:42:09","date_gmt":"2026-07-27T11:42:09","guid":{"rendered":"https:\/\/help.fetura.pl\/knowledge-base\/installation-of-the-pig-counter\/"},"modified":"2026-07-31T12:31:19","modified_gmt":"2026-07-31T10:31:19","slug":"installation-of-the-pig-counter","status":"publish","type":"ht_kb","link":"https:\/\/help.fetura.pl\/en\/knowledge-base\/installation-of-the-pig-counter\/","title":{"rendered":"Installation of the Pig Counter"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Hi! We&#8217;re here to help you get started with the Pig Counter\u2014your indispensable tool for managing your farm. This guide will show you how to set it up quickly and easily. Let&#8217;s get started!   <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Automating herd management requires accurate data. The following step-by-step guide explains how to properly install a camera in a pig farm\u2019s production environment. <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How do I install a camera correctly?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Automating herd management requires accurate data. The following step-by-step guide explains how to properly install a camera in a pig farm\u2019s production environment. <\/p>\n\n\n\n<h3 class=\"wp-block-heading\">1. Selecting an Installation Site<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The camera must be able to &#8220;see&#8221; the animals in an organized manner. The best place to install it is in <strong>the drive-through corridor<\/strong> or the so-called &#8220;funnel&#8221; (narrow passage) at the exit of the pen.  <\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Corridor width:<\/strong> The ideal width is <strong>0.8 m to 1.5 m<\/strong>. This forces the pigs to move in single file or in pairs. A corridor that is too wide allows the animals to turn around, crowd together, and overlap, which drastically reduces the effectiveness of the algorithms.  <\/li>\n\n\n\n<li><strong>No obstructions:<\/strong> There must be no feed pipes, cables, gates, or waterers within the camera\u2019s field of view (FOV). The camera must be able to see a clear floor. <\/li>\n\n\n\n<li><strong>Direction of Movement:<\/strong> Choose a location where the pigs move smoothly. Avoid installing the system directly above turns in the corridor\u2014the animals slow down there and adjust their body position. <\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><img decoding=\"async\" width=\"2048\" height=\"2048\" src=\"https:\/\/help.fetura.pl\/wp-content\/uploads\/2026\/07\/location-2.png\" alt=\"\" class=\"wp-image-16038\" style=\"width:518px;height:auto\" srcset=\"https:\/\/help.fetura.pl\/wp-content\/uploads\/2026\/07\/location-2.png 2048w, https:\/\/help.fetura.pl\/wp-content\/uploads\/2026\/07\/location-2-300x300.png 300w, https:\/\/help.fetura.pl\/wp-content\/uploads\/2026\/07\/location-2-1024x1024.png 1024w, https:\/\/help.fetura.pl\/wp-content\/uploads\/2026\/07\/location-2-150x150.png 150w, https:\/\/help.fetura.pl\/wp-content\/uploads\/2026\/07\/location-2-768x768.png 768w, https:\/\/help.fetura.pl\/wp-content\/uploads\/2026\/07\/location-2-50x50.png 50w, https:\/\/help.fetura.pl\/wp-content\/uploads\/2026\/07\/location-2-1536x1536.png 1536w, https:\/\/help.fetura.pl\/wp-content\/uploads\/2026\/07\/location-2-60x60.png 60w, https:\/\/help.fetura.pl\/wp-content\/uploads\/2026\/07\/location-2-100x100.png 100w\" sizes=\"(max-width: 2048px) 100vw, 2048px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">2. Lens Height and Angle of Installation<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">This is the most critical stage of installation. The camera must capture the natural contour of the pig&#8217;s back. <\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Angle:<\/strong> The camera must be pointed <strong>exactly straight down (at a 90\u00b0 angle to the floor)<\/strong>. Any deviation will cause the system to analyze the sides of the animals, leading to size distortions and incorrect counts. <\/li>\n\n\n\n<li><strong>Mounting height:<\/strong> Typically ranges <strong>from 2.5 m to 3.5 m<\/strong> above floor level (check the manufacturer&#8217;s recommendations for the specific lens focal length).\n<ul class=\"wp-block-list\">\n<li><em>Too low:<\/em> The camera won&#8217;t be able to capture the full width of the corridor, and the large pigs will &#8220;fall out&#8221; of the frame.<\/li>\n\n\n\n<li><em>Too high:<\/em> Decreased image resolution per individual animal; loss of detail.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><img decoding=\"async\" width=\"2048\" height=\"2048\" src=\"https:\/\/help.fetura.pl\/wp-content\/uploads\/2026\/07\/mounting-3.png\" alt=\"\" class=\"wp-image-16039\" style=\"width:481px;height:auto\" srcset=\"https:\/\/help.fetura.pl\/wp-content\/uploads\/2026\/07\/mounting-3.png 2048w, https:\/\/help.fetura.pl\/wp-content\/uploads\/2026\/07\/mounting-3-300x300.png 300w, https:\/\/help.fetura.pl\/wp-content\/uploads\/2026\/07\/mounting-3-1024x1024.png 1024w, https:\/\/help.fetura.pl\/wp-content\/uploads\/2026\/07\/mounting-3-150x150.png 150w, https:\/\/help.fetura.pl\/wp-content\/uploads\/2026\/07\/mounting-3-768x768.png 768w, https:\/\/help.fetura.pl\/wp-content\/uploads\/2026\/07\/mounting-3-50x50.png 50w, https:\/\/help.fetura.pl\/wp-content\/uploads\/2026\/07\/mounting-3-1536x1536.png 1536w, https:\/\/help.fetura.pl\/wp-content\/uploads\/2026\/07\/mounting-3-60x60.png 60w, https:\/\/help.fetura.pl\/wp-content\/uploads\/2026\/07\/mounting-3-100x100.png 100w\" sizes=\"(max-width: 2048px) 100vw, 2048px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">3. Minimum Lighting Requirements<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The counting algorithms rely on the contrast between the pig and the background. Lighting is just as important as the camera itself. <\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>No sharp shadows or glare:<\/strong> Avoid places where direct sunlight comes in through the windows. Sharp rays of light create deep shadows that the system may interpret as another animal. <\/li>\n\n\n\n<li><strong>Light intensity and type:<\/strong> Ensure even, diffused artificial lighting (at least 150\u2013200 lux). If you are installing a dedicated LED illuminator for the camera, mount it as close to the camera as possible (or use a camera with a built-in IR illuminator) so that the shadow cast by the pig is directly beneath it, rather than beside it. <\/li>\n\n\n\n<li><strong>Frequency:<\/strong> Use &#8220;flicker-free&#8221; LED lights to ensure a smooth video image.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><img decoding=\"async\" width=\"2048\" height=\"2048\" src=\"https:\/\/help.fetura.pl\/wp-content\/uploads\/2026\/07\/lightingg-3.png\" alt=\"\" class=\"wp-image-16073\" style=\"width:484px;height:auto\" srcset=\"https:\/\/help.fetura.pl\/wp-content\/uploads\/2026\/07\/lightingg-3.png 2048w, https:\/\/help.fetura.pl\/wp-content\/uploads\/2026\/07\/lightingg-3-300x300.png 300w, https:\/\/help.fetura.pl\/wp-content\/uploads\/2026\/07\/lightingg-3-1024x1024.png 1024w, https:\/\/help.fetura.pl\/wp-content\/uploads\/2026\/07\/lightingg-3-150x150.png 150w, https:\/\/help.fetura.pl\/wp-content\/uploads\/2026\/07\/lightingg-3-768x768.png 768w, https:\/\/help.fetura.pl\/wp-content\/uploads\/2026\/07\/lightingg-3-50x50.png 50w, https:\/\/help.fetura.pl\/wp-content\/uploads\/2026\/07\/lightingg-3-1536x1536.png 1536w, https:\/\/help.fetura.pl\/wp-content\/uploads\/2026\/07\/lightingg-3-60x60.png 60w, https:\/\/help.fetura.pl\/wp-content\/uploads\/2026\/07\/lightingg-3-100x100.png 100w\" sizes=\"(max-width: 2048px) 100vw, 2048px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">4. Mounting and Wiring in Pig Barn Conditions<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Stability:<\/strong> Mount the camera to rigid structural elements of the building (e.g., concrete slab, thick beams). <strong>Do not mount<\/strong> the camera on ventilation ducts or loose frames\u2014vibrations cause motion blur, which prevents accurate counting.<\/li>\n\n\n\n<li><strong>Cable Protection:<\/strong> All signal and power cables (e.g., PoE twisted-pair cables) must be routed through airtight PVC conduit (so-called \u201cPeszel\u201d conduit). This will protect them from moisture, ammonia, and rodents. The cables must be kept completely out of reach of animals.  <\/li>\n\n\n\n<li><strong>Waterproofing:<\/strong> Make sure the cable glands on the camera housing are tightened securely.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><img decoding=\"async\" width=\"2048\" height=\"2048\" src=\"https:\/\/help.fetura.pl\/wp-content\/uploads\/2026\/07\/cabling-2.png\" alt=\"\" class=\"wp-image-16041\" style=\"width:484px;height:auto\" srcset=\"https:\/\/help.fetura.pl\/wp-content\/uploads\/2026\/07\/cabling-2.png 2048w, https:\/\/help.fetura.pl\/wp-content\/uploads\/2026\/07\/cabling-2-300x300.png 300w, https:\/\/help.fetura.pl\/wp-content\/uploads\/2026\/07\/cabling-2-1024x1024.png 1024w, https:\/\/help.fetura.pl\/wp-content\/uploads\/2026\/07\/cabling-2-150x150.png 150w, https:\/\/help.fetura.pl\/wp-content\/uploads\/2026\/07\/cabling-2-768x768.png 768w, https:\/\/help.fetura.pl\/wp-content\/uploads\/2026\/07\/cabling-2-50x50.png 50w, https:\/\/help.fetura.pl\/wp-content\/uploads\/2026\/07\/cabling-2-1536x1536.png 1536w, https:\/\/help.fetura.pl\/wp-content\/uploads\/2026\/07\/cabling-2-60x60.png 60w, https:\/\/help.fetura.pl\/wp-content\/uploads\/2026\/07\/cabling-2-100x100.png 100w\" sizes=\"(max-width: 2048px) 100vw, 2048px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Connecting the Cables to the Device<\/h2>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><img decoding=\"async\" width=\"2048\" height=\"2048\" src=\"https:\/\/help.fetura.pl\/wp-content\/uploads\/2026\/07\/schema-1.png\" alt=\"\" class=\"wp-image-16034\" style=\"width:710px;height:auto\" srcset=\"https:\/\/help.fetura.pl\/wp-content\/uploads\/2026\/07\/schema-1.png 2048w, https:\/\/help.fetura.pl\/wp-content\/uploads\/2026\/07\/schema-1-300x300.png 300w, https:\/\/help.fetura.pl\/wp-content\/uploads\/2026\/07\/schema-1-1024x1024.png 1024w, https:\/\/help.fetura.pl\/wp-content\/uploads\/2026\/07\/schema-1-150x150.png 150w, https:\/\/help.fetura.pl\/wp-content\/uploads\/2026\/07\/schema-1-768x768.png 768w, https:\/\/help.fetura.pl\/wp-content\/uploads\/2026\/07\/schema-1-50x50.png 50w, https:\/\/help.fetura.pl\/wp-content\/uploads\/2026\/07\/schema-1-1536x1536.png 1536w, https:\/\/help.fetura.pl\/wp-content\/uploads\/2026\/07\/schema-1-60x60.png 60w, https:\/\/help.fetura.pl\/wp-content\/uploads\/2026\/07\/schema-1-100x100.png 100w\" sizes=\"(max-width: 2048px) 100vw, 2048px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Connecting the camera to the device<\/h3>\n\n\n\n<ol start=\"1\" class=\"wp-block-list\">\n<li>Open the device enclosure to access the communication panel.<img decoding=\"async\" src=\"https:\/\/help.fetura.pl\/wp-content\/uploads\/2026\/07\/obudowa2-1-768x1024.png\" alt=\"\"><\/li>\n\n\n\n<li>Route the Ethernet cable from the camera into the Pig Counter enclosure through the cable glands.<\/li>\n\n\n\n<li>Plug the cable into the port on the switch labeled <strong>PoE<\/strong> (Power over Ethernet) (The far right RJ45 port).<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><img decoding=\"async\" width=\"1792\" height=\"2390\" src=\"https:\/\/help.fetura.pl\/wp-content\/uploads\/2026\/07\/cam-1.png\" alt=\"\" class=\"wp-image-16035\" style=\"aspect-ratio:0.7497962510187449;width:674px;height:auto\" srcset=\"https:\/\/help.fetura.pl\/wp-content\/uploads\/2026\/07\/cam-1.png 1792w, https:\/\/help.fetura.pl\/wp-content\/uploads\/2026\/07\/cam-1-225x300.png 225w, https:\/\/help.fetura.pl\/wp-content\/uploads\/2026\/07\/cam-1-768x1024.png 768w, https:\/\/help.fetura.pl\/wp-content\/uploads\/2026\/07\/cam-1-37x50.png 37w, https:\/\/help.fetura.pl\/wp-content\/uploads\/2026\/07\/cam-1-1152x1536.png 1152w, https:\/\/help.fetura.pl\/wp-content\/uploads\/2026\/07\/cam-1-1536x2048.png 1536w, https:\/\/help.fetura.pl\/wp-content\/uploads\/2026\/07\/cam-1-45x60.png 45w, https:\/\/help.fetura.pl\/wp-content\/uploads\/2026\/07\/cam-1-75x100.png 75w\" sizes=\"(max-width: 1792px) 100vw, 1792px\" \/><\/figure>\n\n\n\n<ol start=\"4\" class=\"wp-block-list\">\n<li>Make sure the plug is firmly seated in the socket (you&#8217;ll hear a distinct &#8220;click&#8221;).<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\">Internet Connection<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">This step is required only if you intend to upload data from the device to Fetura Cloud. If you plan to run Pig Counter locally only, you can skip this step. <\/p>\n\n\n\n<ol start=\"1\" class=\"wp-block-list\">\n<li>Run the Ethernet cable with Internet access (LAN) into the case.<\/li>\n\n\n\n<li>Plug the connector into the leftmost RJ45 port on the switch.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><img decoding=\"async\" width=\"1792\" height=\"2390\" src=\"https:\/\/help.fetura.pl\/wp-content\/uploads\/2026\/07\/int-1.png\" alt=\"\" class=\"wp-image-16036\" style=\"aspect-ratio:0.7497962510187449;width:676px;height:auto\" srcset=\"https:\/\/help.fetura.pl\/wp-content\/uploads\/2026\/07\/int-1.png 1792w, https:\/\/help.fetura.pl\/wp-content\/uploads\/2026\/07\/int-1-225x300.png 225w, https:\/\/help.fetura.pl\/wp-content\/uploads\/2026\/07\/int-1-768x1024.png 768w, https:\/\/help.fetura.pl\/wp-content\/uploads\/2026\/07\/int-1-37x50.png 37w, https:\/\/help.fetura.pl\/wp-content\/uploads\/2026\/07\/int-1-1152x1536.png 1152w, https:\/\/help.fetura.pl\/wp-content\/uploads\/2026\/07\/int-1-1536x2048.png 1536w, https:\/\/help.fetura.pl\/wp-content\/uploads\/2026\/07\/int-1-45x60.png 45w, https:\/\/help.fetura.pl\/wp-content\/uploads\/2026\/07\/int-1-75x100.png 75w\" sizes=\"(max-width: 1792px) 100vw, 1792px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Connecting the Power Supply<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Do not turn on the power until you have made sure that the wires inside the device are properly connected.<\/p>\n\n\n\n<ol start=\"1\" class=\"wp-block-list\">\n<li>Check to make sure the cables connected in the previous steps are firmly connected.<\/li>\n\n\n\n<li>Plug the power cord into an outlet.<\/li>\n\n\n\n<li>The device will start up automatically.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-alert\">Note: The device may take 2 to 4 minutes to start up. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Congratulations! Now that your device is up and running, you can proceed to the setup. <\/p>\n\n\n\n<div class=\"wp-block-buttons is-content-justification-center is-layout-flex wp-container-core-buttons-is-layout-20959078 wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button is-style-outline is-style-outline--1\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/help.fetura.pl\/en\/knowledge-base\/initial-setup-and-configuration-of-the-pig-counter\/\">Initial Setup and Configuration of the Pig Counter<\/a><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Hi! We&#8217;re here to help you get started with the Pig Counter\u2014your indispensable tool for managing your farm. This guide will show you how to set it up quickly and easily. Let&#8217;s get started! Automating herd management requires accurate data. The following step-by-step guide explains how to properly install a&#8230;<\/p>\n","protected":false},"author":26,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"footnotes":""},"ht-kb-category":[150],"ht-kb-tag":[],"class_list":["post-16009","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-pig-counter"],"_links":{"self":[{"href":"https:\/\/help.fetura.pl\/en\/wp-json\/wp\/v2\/ht-kb\/16009","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/help.fetura.pl\/en\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/help.fetura.pl\/en\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/help.fetura.pl\/en\/wp-json\/wp\/v2\/users\/26"}],"replies":[{"embeddable":true,"href":"https:\/\/help.fetura.pl\/en\/wp-json\/wp\/v2\/comments?post=16009"}],"version-history":[{"count":5,"href":"https:\/\/help.fetura.pl\/en\/wp-json\/wp\/v2\/ht-kb\/16009\/revisions"}],"predecessor-version":[{"id":16317,"href":"https:\/\/help.fetura.pl\/en\/wp-json\/wp\/v2\/ht-kb\/16009\/revisions\/16317"}],"wp:attachment":[{"href":"https:\/\/help.fetura.pl\/en\/wp-json\/wp\/v2\/media?parent=16009"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/help.fetura.pl\/en\/wp-json\/wp\/v2\/ht-kb-category?post=16009"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/help.fetura.pl\/en\/wp-json\/wp\/v2\/ht-kb-tag?post=16009"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}