I am looking for sunflare kind of lighting effect on Image. In my case light source is bulb instead of Sun. And I understand that changing light source changes rays effect and even different type of bulb produces different type of light beams.
Here is an example of focus light : http://www.photoshopessentials.com/photo-effects/focus-light/
I have looked into standard photo filters and OpenCV but we didn't find something obvious. I am looking for approach and direction to achieve it.
My knowledge is limited to iOS business apps only. I have heard only name of frameworks like OpenGL,SceneKit and MetalKit.So, I would prefer to have solution which fits into my knowledge stack but yes I would love to know all possible solutions.
Let me know if you want me to explain more.
Any help would be appreciated.
Related
I am new to WebAR, but I have experience with building AR scenes with Unity3D and software such as Vuforia and 8thWall.
I have a question with the markers with AR.js. Why are they stuck with the thick black border? Is the software not able to just recognize a unique image like how Vuforia and Wikitude works? I apologize for how naive I may be when it comes to WebAR, however, I see this as an issue for the adoption rate of this technology if developers cannot use truly custom images and patterns. Is there a solution available that I may have missed somewhere? What happens if someone deletes/erases the big black border on the marker? Does it still work?
Thanks to anyone who can shed some light on this!
Ar.js uses artoolkit and therefore is marker based. If you want to use it, there is not much you can do about it. Still You can have unique images inside the black box but not much else.
Worth mentioning, it is possible to make the borders thinner, there's even a branch - work in progress worth looking into.
Aframe-argon tried integrating aframe and vuforia, but i'm not sure if it's up to date.
I need to detect something like a barcode but colored on live video (I don't necessarily need tracking, it is optional).I could use OpenCV but I thought it is worth a try asking here. The problem with openCV is that I am not very familiar with the whole concept of image processing. The other problem is that I use swift in most of the time, and however I could write an Obj-C wrapper with the help of google, the fact that OpenCV is written in C++ does not help at all, so maybe it would take too much time to use OpenCV.
Do you know any SDK-s that could help me in that? (It is not a problem if it is not free)
EDIT:
To be clear. By "something like a barcode" I mean that it is colored and instead of the width of the bars the colors are what metter.
I am in my final year of BS Computer Science. I have chosen a project in the image processing domain. But I really don't know where to start from! Here is a rough draft of my project idea:
Project Description:
Often people are faced with the problem of deciding which colors to choose to paint their walls, doors and ceilings. They want to know how their rooms will look like after applying a certain color. We want to design a mobile application that can give people the opportunity to preview their rooms/walls/ceilings, etc, with a certain color before applying the color. Through our application the user can take photos of their rooms/walls/ceilings, etc, and change their colors virtually and preview them. This will give them a good estimate about the final look of their house.
Development will be in java using open CV libraries.
Can anyone provide some help?
For starting OpenCV with android you can follow the tutorial here.
And as your above description, I think you need to do the following...
Filter out the color of room's wall or ceiling color.
Replace with your preview color.
But as your room's color is not unique, you may need to mark the color manually and segment it. Here watershed algorithm might be helpful.
And one more thing is that there might be a chance of lighting variation, so you should use HSV color space instead of RGB.
And finally this is not the full solution, but you will get some idea about how to start with your project.
ImageMagick as a famous image processing library.You may look that one too.It can perform numerous operations with images
Thanks
I am working on project in C#/Emgu CV, but answer in any language with OpenCv should be ok.
I have following image: http://i42.tinypic.com/2z89h5g.jpg
Or it might look like this: http://i43.tinypic.com/122iwsk.jpg
I am trying to do automatic calibration and I would like to know how to find corners of the field. They are marked by LEDs, but I would prefer to find it by color tags. If need I can replace all tags by same color tags. (Note that light in room is changing so the colors might be bit different next time)
Edge detection might be ok too, but I am afraid that I would not find the corner correctly.
Please help.
Thank you.
Edit:
Thanks aardvarkk for advice, but I think I need to give you little bit more info.
I am already able to detect and identify robots in field and get their position and rotation. But for that I have to set corners of field manually first. So I was looking for aa automatic way, but I was worried I would not be able to distinguish color tags from background because light in the room is changing quite often.
And as for the camera angle. Point of this is that camera can be every time from different (reasonable) angle.
I would start by searching for the colours. The LEDs won't be much help to you as they're not much brighter than anything else in the scene. I would look for the rectangular pieces of coloured tape. Try segmenting the image based on colour. That may allow you to retrieve the corner tape pieces directly without needing to know their exact colour in advance. After that, you may look for pairs of the same colour blob that are close to each other to define the corners where the pieces of tape are the same. Knowing what kinds of camera angles you are going to have to solve is also very important -- if you need this to work when viewing from the side, then this approach certainly won't work. If it's almost top down, this would probably be a good start. Nobody will be able to provide you with a start to finish solution, but this might be a good base to begin with.
What would be the best approach for detecting and removing a person's hair in a simple portrait image ? Any useful libraries of algorithms ? I have been looking over openCV which looks like it could be of some use
You're dealing with two different problems here:
detecting if a face in a portrait has hair
"removing" the hair
The first is solvable fairly easily:
Separate the face from the background (as you've mentioned a "simple portrait image", this shouldn't be too hard).
Convert your image to the Y'CbCr color space
Human skin has a fairly narrow range of chrominance values, regardless of race. Check out this paper for the details.
The approach above will help you separate skin areas of the face from non-skin areas
Assume that the non-skin areas consist of hair. Note that facial hair will get picked up as a non-skin area, too.
As far as the second problem goes, you need to clarify exactly what you mean by "removing":
Are you simply cutting out the part of the portrait that has hair? In this case, the solution follows directly from the detection method above.
Are you trying to make it look like the person has no hair at all (e.g. is bald, clean-shaven?) In this case, things will be a lot harder -- there's a reason why professional photo manipulators get paid well.
I think this is hard problem - consider for detecting and removing hair in this case:
I found several papers, maybe they will help you:
Detection and analysis of hair
Dullrazor®: A software approach to hair removal from images
Research on the Expression of Hair in Computer Animation
Cheers!
try this http://betaface.com/demo.html . Color , hair info and more . smile , age, eye etc..