<?xml-stylesheet type="text/xsl" href="https://community.element14.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Medication Monitor - Part 1</title><link>/challenges-projects/project14/visionthing/b/blog/posts/medication-monitor---part-1</link><description>Vision Thing Enter Your Project for a chance to win an Oscilloscope Grand Prize Package for the Most Creative Vision Thing Project! Back to The Project14 homepage Project14 Home Monthly Themes Monthly Theme Poll 
 1. Introduction 


 2. Idea 


 3. Build</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Medication Monitor - Part 1</title><link>https://community.element14.com/challenges-projects/project14/visionthing/b/blog/posts/medication-monitor---part-1</link><pubDate>Thu, 05 Dec 2019 17:28:46 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:95a443c5-9cb0-4910-aa2b-917595a9a35f</guid><dc:creator>shabaz</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Hi!&lt;/p&gt;&lt;p&gt;This is a really good idea, to make a desk lamp more &amp;#39;smart&amp;#39; in this way and equip it with vision. Despite not completing, you&amp;#39;ve got quite far. OpenCV is not easy to use, there is a learning curve to it, so it is not surprising that more time is needed. Great effort, and even if it doesn&amp;#39;t get completed for medication monitoring, I think it has other uses, like seeing who is using a desk. That has real-world applications (seeing how many people are in a meeting room or how much activity there is, so that the environment can be better controlled).&lt;/p&gt;&lt;p&gt;By the way, is the source code for this project available? (Just curious).&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=8169&amp;AppID=240&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Medication Monitor - Part 1</title><link>https://community.element14.com/challenges-projects/project14/visionthing/b/blog/posts/medication-monitor---part-1</link><pubDate>Tue, 19 Nov 2019 11:21:14 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:95a443c5-9cb0-4910-aa2b-917595a9a35f</guid><dc:creator>vimarsh_</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Its a great idea. According to me using magnets to put it in one place is better because it is always there at the same place and you can&amp;#39;t forget it. &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Shadows and Texture on table. etc interfere a lot in image processing. OpenCV usually just treats it as a different object.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Excited to see it in action!&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=8169&amp;AppID=240&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Medication Monitor - Part 1</title><link>https://community.element14.com/challenges-projects/project14/visionthing/b/blog/posts/medication-monitor---part-1</link><pubDate>Mon, 18 Nov 2019 16:38:39 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:95a443c5-9cb0-4910-aa2b-917595a9a35f</guid><dc:creator>three-phase</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Great idea for a project, hope you can get it all up and working.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Kind regards.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=8169&amp;AppID=240&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Medication Monitor - Part 1</title><link>https://community.element14.com/challenges-projects/project14/visionthing/b/blog/posts/medication-monitor---part-1</link><pubDate>Mon, 18 Nov 2019 16:02:51 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:95a443c5-9cb0-4910-aa2b-917595a9a35f</guid><dc:creator>genebren</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Interesting results.&amp;nbsp; Shadows are always challenging when dealing with image processing.&amp;nbsp; I have not used OpenCv before, so my suggestions are untested in your environment, but still may have some value to you process:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;1) I have managed similar issues with shadows and non consistent illuminations by using an intensity correction phase early on in the image processing.&amp;nbsp; I broke the image up into a series of regions and created a histogram of the intensities.&amp;nbsp; Looking at the range of values that I consider background level, I determined the average background for each region.&amp;nbsp; I then compared the result of adjacent regions, trying to eliminate and bias caused by non-background object.&amp;nbsp; If a region had a large shift in background, I instead averaged all adjacent regions to determine the value for this region.&amp;nbsp; I then corrected the image by using the delta of the average background compared to a normalize value to determine the adjustment value.&amp;nbsp; Using this approach I was able to correct the image, by removing the effects of uneven illumination on the image.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;2) Reject found objects that are smaller than the expected size, or are outside of the target area.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;3) Zoom in on the area of interest to eliminate the errant objects being detected.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Best of luck in getting you project to work as expected!&lt;/p&gt;&lt;p&gt;Gene&amp;nbsp; &lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=8169&amp;AppID=240&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>