annotate OpenCV.props @ 372:349eb1e09f45

Cleaned the methods/functions indicating if a point is in a polygon In general, shapely should be used, especially for lots of points: from shapely.geometry import Polygon, Point poly = Polygon(array([[0,0],[0,1],[1,1],[1,0]])) p = Point(0.5,0.5) poly.contains(p) -> returns True poly.contains(Point(-1,-1)) -> returns False You can convert a moving.Point to a shapely point: p = moving.Point(1,2) p.asShapely() returns the equivalent shapely point If you have several points to test, use moving.pointsInPolygon(points, polygon) where points are moving.Point and polygon is a shapely polygon.
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Tue, 16 Jul 2013 17:00:17 -0400
parents e4d232f9fc39
children 040e71067ff4
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
251
4978b5baf8f1 Win32 version for traffic intelligence. Use the README-Win32.txt to know how to
Jeep-Tour@Jeep-Tour-PC
parents:
diff changeset
1 <?xml version="1.0" encoding="utf-8"?>
4978b5baf8f1 Win32 version for traffic intelligence. Use the README-Win32.txt to know how to
Jeep-Tour@Jeep-Tour-PC
parents:
diff changeset
2 <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
4978b5baf8f1 Win32 version for traffic intelligence. Use the README-Win32.txt to know how to
Jeep-Tour@Jeep-Tour-PC
parents:
diff changeset
3 <ImportGroup Label="PropertySheets" />
4978b5baf8f1 Win32 version for traffic intelligence. Use the README-Win32.txt to know how to
Jeep-Tour@Jeep-Tour-PC
parents:
diff changeset
4 <PropertyGroup Label="UserMacros">
4978b5baf8f1 Win32 version for traffic intelligence. Use the README-Win32.txt to know how to
Jeep-Tour@Jeep-Tour-PC
parents:
diff changeset
5 <DebugSuffix Condition="'$(Configuration)'=='Debug'">d</DebugSuffix>
4978b5baf8f1 Win32 version for traffic intelligence. Use the README-Win32.txt to know how to
Jeep-Tour@Jeep-Tour-PC
parents:
diff changeset
6 <DebugSuffix Condition="'$(Configuration)'!='Debug'"></DebugSuffix>
4978b5baf8f1 Win32 version for traffic intelligence. Use the README-Win32.txt to know how to
Jeep-Tour@Jeep-Tour-PC
parents:
diff changeset
7 </PropertyGroup>
4978b5baf8f1 Win32 version for traffic intelligence. Use the README-Win32.txt to know how to
Jeep-Tour@Jeep-Tour-PC
parents:
diff changeset
8
4978b5baf8f1 Win32 version for traffic intelligence. Use the README-Win32.txt to know how to
Jeep-Tour@Jeep-Tour-PC
parents:
diff changeset
9 <PropertyGroup />
4978b5baf8f1 Win32 version for traffic intelligence. Use the README-Win32.txt to know how to
Jeep-Tour@Jeep-Tour-PC
parents:
diff changeset
10 <ItemDefinitionGroup>
4978b5baf8f1 Win32 version for traffic intelligence. Use the README-Win32.txt to know how to
Jeep-Tour@Jeep-Tour-PC
parents:
diff changeset
11 <ClCompile>
4978b5baf8f1 Win32 version for traffic intelligence. Use the README-Win32.txt to know how to
Jeep-Tour@Jeep-Tour-PC
parents:
diff changeset
12 <AdditionalIncludeDirectories>$(SolutionDir)\win32-depends\opencv\include\opencv2\;$(SolutionDir)\win32-depends\opencv\include\opencv\;$(SolutionDir)\win32-depends\opencv\include\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
4978b5baf8f1 Win32 version for traffic intelligence. Use the README-Win32.txt to know how to
Jeep-Tour@Jeep-Tour-PC
parents:
diff changeset
13 </ClCompile>
4978b5baf8f1 Win32 version for traffic intelligence. Use the README-Win32.txt to know how to
Jeep-Tour@Jeep-Tour-PC
parents:
diff changeset
14 <Link>
4978b5baf8f1 Win32 version for traffic intelligence. Use the README-Win32.txt to know how to
Jeep-Tour@Jeep-Tour-PC
parents:
diff changeset
15 <AdditionalLibraryDirectories>$(SolutionDir)\win32-depends\opencv\libs\$(PlatformName)\$(ConfigurationName)\;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
273
e4d232f9fc39 -Win32 OpenCV 2.3.4
Jeep-Tour@Jeep-Tour-PC
parents: 251
diff changeset
16 <AdditionalDependencies>opencv_video243$(DebugSuffix).lib;opencv_ts243$(DebugSuffix).lib;opencv_objdetect243$(DebugSuffix).lib;opencv_ml243$(DebugSuffix).lib;opencv_legacy243$(DebugSuffix).lib;opencv_imgproc243$(DebugSuffix).lib;opencv_highgui243$(DebugSuffix).lib;opencv_flann243$(DebugSuffix).lib;opencv_features2d243$(DebugSuffix).lib;opencv_core243$(DebugSuffix).lib;opencv_contrib243$(DebugSuffix).lib;opencv_calib3d243$(DebugSuffix).lib;%(AdditionalDependencies)</AdditionalDependencies>
251
4978b5baf8f1 Win32 version for traffic intelligence. Use the README-Win32.txt to know how to
Jeep-Tour@Jeep-Tour-PC
parents:
diff changeset
17 </Link>
4978b5baf8f1 Win32 version for traffic intelligence. Use the README-Win32.txt to know how to
Jeep-Tour@Jeep-Tour-PC
parents:
diff changeset
18 </ItemDefinitionGroup>
4978b5baf8f1 Win32 version for traffic intelligence. Use the README-Win32.txt to know how to
Jeep-Tour@Jeep-Tour-PC
parents:
diff changeset
19 <ItemGroup />
4978b5baf8f1 Win32 version for traffic intelligence. Use the README-Win32.txt to know how to
Jeep-Tour@Jeep-Tour-PC
parents:
diff changeset
20 </Project>