Society of Robots - Robot Forum
Software => Software => Topic started by: Kelpy on October 28, 2010, 12:42:39 PM
-
I can't seem to get the link to your "custom blob detection RoboRealm file" to work, on the Computer Vision Tutorial Part 3 page.
Cheers.
-
It's downloading fine for me.
What error are you getting?
-
Is it me? :-[
All I'm getting is an html file.
It shows:
1.7.3.3 1 C:\Documents and Settings\Pika\Desktop\snowpics\MOV03341avi2.avi TRUE 1 62 62 400 300 40 5 5 255 15 64 12 7 2 1 0.00 0 50 14 0 1 0.00 0 0 1 0.00 0 0 1 0.00 0 0 1 0.00 0 0 1 0.00 0 37421056 FALSE FALSE FALSE TRUE 2 FALSE 3 FALSE TRUE 9 TRUE 5 1 C:\Documents and Settings\Pika\Desktop\snowpics\RBGmaxing.avi -1 Current Cinepak Codec by Radius
Is that the program code?
-
Download the file, don't run it in your browser. Below is the full file contents.
Also note that when you run the file, the location of your video won't be the same as mine (obviously).
<head><version>1.7.3.3</version></head>
<Read_AVI>
<loop_playback>1</loop_playback>
<filename>C:\Documents and Settings\Pika\Desktop\snowpics\MOV03341avi2.avi</filename>
<running>TRUE</running>
</Read_AVI>
<Scale>
<maintain_aspect>1</maintain_aspect>
<percent_height>62</percent_height>
<percent_width>62</percent_width>
<pixel_width>400</pixel_width>
<pixel_height>300</pixel_height>
</Scale>
<Max_RGB_Channel>
<tolerance>40</tolerance>
</Max_RGB_Channel>
<Color_Threshold>
<blue_end>5</blue_end>
<green_end>5</green_end>
<red_end>255</red_end>
</Color_Threshold>
<Mean>
<filter_size>15</filter_size>
</Mean>
<Population_Threshold>
<window_size>64</window_size>
<intensity_threshold>12</intensity_threshold>
<population_threshold>7</population_threshold>
</Population_Threshold>
<Blob_Filter>
<filters>2
1
0.00
0
50
14
0
1
0.00
0
0
1
0.00
0
0
1
0.00
0
0
1
0.00
0
0
1
0.00
0
</filters>
<show_mode>37421056</show_mode>
<largest_is_background>FALSE</largest_is_background>
<show_weights>FALSE</show_weights>
<create_blob_array_variable>FALSE</create_blob_array_variable>
</Blob_Filter>
<Center_of_Gravity>
<show_coord>TRUE</show_coord>
<color_index>2</color_index>
<connect_line>FALSE</connect_line>
<density>3</density>
<overlay_source>FALSE</overlay_source>
<show_box>TRUE</show_box>
<box_size>9</box_size>
<show_cog>TRUE</show_cog>
<threshold>5</threshold>
</Center_of_Gravity>
<Write_AVI>
<real_time>1</real_time>
<filename>C:\Documents and Settings\Pika\Desktop\snowpics\RBGmaxing.avi</filename>
<limit_time_type>-1</limit_time_type>
<image_to_save>Current</image_to_save>
<codec>Cinepak Codec by Radius</codec>
</Write_AVI>
-
Thanks Admin. Got it now.
I did try to "Save target..." before, but as it showed an html file, I assumed it would be a web page.
Doh! :-[