ObjectMarker | Image Annotation Tool for Object Detection | Computer Vision library
kandi X-RAY | ObjectMarker Summary
kandi X-RAY | ObjectMarker Summary
Image Annotation Tool for Object Detection and Tracking written with OpenCV
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of ObjectMarker
ObjectMarker Key Features
ObjectMarker Examples and Code Snippets
Community Discussions
Trending Discussions on ObjectMarker
QUESTION
I am trying to convert latitude and longitude to a Vector3 format. For a given latitude and longitude, I want to convert it into a Vector3, where a marker object will be positioned at this Vector3 location.
Here is my code:
...ANSWER
Answered 2020-Jan-14 at 23:30You are using the wrong axes for your conversion to 3d space.
- Y is the up/down axis, so that should definitely be the one that is
sin(latitude)
. - 0,0 is at
z = 1*radiusEarth
, so z needs to be the one with cos*cos. - 0,90 is at
x = -1 * radiusEarth
, so x needs to be negative cos*sin.
Altogether:
QUESTION
I'm having some troubles with modelling the Earth with a sphere and using another sphere as a marker to mark the latitude and longitude position of the Earth sphere.
I've set the x,y, and z scale to 635.6752 as that is the 1000:1 scale of the Earth's radius in metres. I'm using the latitude and longitude positioning of London.
Here is the code:
...ANSWER
Answered 2019-Oct-17 at 20:22Unity's sphere primitive has a base radius of 0.5 units. So to make the sphere's radius radius
, you need to set the scale to twice that value:
QUESTION
I have list and I am using bindaggregation to bind my model data. below is my code.
Controller
...ANSWER
Answered 2018-Sep-19 at 05:41So if I understand correctly, you're trying to retrieve the status text of an entry, but what you're actually doing is retrieving the default template of the ObjectListItem
.
If you want the correct value for an entry, you can try this. This returns a filled clone of the default template. You can't clone()
an empty template and expect it to have values in it.
Hope this helps, lampstand.
QUESTION
i don't know if i expleined i receive a json from an odata call and i send it to my table but one field have a X or is empty but instead of showing a X i want to show a flag like in ObjectListItem with a ObjectMarker type="Flagged" and just showing the flag
...ANSWER
Answered 2018-Jun-01 at 01:04You could use expression binding:
QUESTION
I'm trying to get the 3D coordinates and orientation of an object from its projection onto an image with a single camera with openCV. I have been reading and the steps to follow are: calibrating the image to get the rotational and translational matrices in addition to the matrix k. I have found many examples with a chessboard --> https://littlecodes.wordpress.com/2013/06/24/calibracion-de-camaras-y-procesamiento-de-imagenes-ii/. But my question is: once these parameters have been obtained, how do I get the position of any other object? I have not found any complete examples, only mathematical explanations that I do not quite understand. Something like this, but using the matrices and being able to get the orientation with some accuracy.
I already have the segmented image, and I can locate the points of the corners.
Something like that is what I like to get: Video
Greetings and thanks.
...ANSWER
Answered 2017-Sep-17 at 09:25You can use cv2.solvePnPRansac
to get the rotational and translational vectors and then use cv2.projectPoints
to project the 3d points to the plane. There's a complete tutorial on this that you can find here.
QUESTION
I refer this tutorial and this file to train my own classifier. But I faced a few of question.
I used objectmarker.exe to generate the info.txt. In info.txt, each record has different width and height but both of them keep ratio in rectangular. So, what should I set the value of width and height argument in the 02 haarTraining.bat?
The width and height of negative sample should also follow positive sample?
Updated 20/06/2017
For example, I used objectmarker.exe to mark down the following 2 image (The marked area represent as the green rectangle). However, these 2 rectangle width and height are not the same.
In info.txt:
...ANSWER
Answered 2017-Jun-21 at 05:27so the aspect ratio of your positive marked samples is fixed? Choose the minimum size of objects you still want to detect, but big enough to have all necessary features (so maybe you have to train multiple times and choose the best one - was done in the original face detection paper this way).
negative samples just are not allowed to contain the target objects, the size doesn't matter, each (resized) image (sub-)window in each negative sample will be used as a negative sample.
For example if you want to detect cats of sample size 28x24 in the image, you can provide a 8000x6000 street view image without any cats in it, which will automatically provide a huge amount of negative samples of size 28x24 to the training.
QUESTION
I'm trying to calculate distance using OpenCV and by simulating 2d vector field.
short story : I have :
- camera angle
- camera position
- 2 object position
I have camera setup at certain height and angle. my first scene, object at position (3,0) (in frame:y=0). second scene, at (5,0) (in frame:y=240)
my question is,
- before continue, is this method could be used?
- how do I know where the object would be in frame, given the object at (7,0)? what equation should I use?
- do I need aware of lens distortion? (currently using video input, later will be using camera) do camera distortion callibration will fix it?
long story :
I need to estimate a car distance. I have read http://www.pyimagesearch.com/2015/01/19/find-distance-camera-objectmarker-using-python-opencv/., it using fixed width or height of an object, means if the object changed, result will be changed (am I right?) so I need to have a workaround method.
Or if you have better method, I will be glad to know it. thank you.
...ANSWER
Answered 2017-Apr-09 at 04:47Given that you know the camera position and properties, you can find the exact location of the car, if it's looking at a straight road and the cars are not flying:)
how do I know where the object would be in frame, given the object at (7,0)? what equation should I use?
You need to find the intersection of two lines. The first line crossing points p1(0, 1.5) and p2(0,7); second line P1(3,0), P2(f/cos(a), 1.5)
P2 is the intersection of green line (image plane, or the one with points of (y=?),.. ) and horizon. f is the focal length, a is the angle between fov line and the horizon.
do I need aware of lens distortion? (currently using video input, later will be using camera) do camera distortion callibration will fix it?
- You should eliminate the lens distortion. Otherwise only the points on the center of the image can be located precisely.
The link you gave uses the size of the rectangle and triangle similarity to find the distance. Also it uses a 2D object, which means he can find the affine transformation easily to refine the result. You don't know the size of all cars i guess, you just need to find the position of the closest wheel of the vehicle. Good luck with that :) Ask google for something like real time car detection.
Shadow of the car also would be a problem, i hope you live in north Europe :)
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install ObjectMarker
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page