Find Jobs
Hire Freelancers

Detect dark image application: code that needs fixing

€8-30 EUR

Cerrado
Publicado hace más de 9 años

€8-30 EUR

Pagado a la entrega
I need help with a simple app that checks the front camera for when the image goes dark. - suggest code provided - - The threshold value should be kept in a variable that i can change for testing. - Must have a method with the code to be executed when the threshold is reached (see example below - onPreviewFrame() ). For testing it should just show a popup with the current luminance value. - It should work with the lowest Android version possible (anything Gingerbread or higher hopefully ) That is it. I hope this is as simple as i think and welcome any suggestions regarding this posting. I found an example in Stackoverflow that might get it started: [login to view URL] ----- from stack overflow -------- This is fairly straightforward. You should use a surfaceview and camera preview. That way you get each frame as a byte array. The default format for the frame is YUV, which is Y (luminance) and UV, which are chrominance. You can use Y to calculate average luminance in the image. If you're using BGR, you can calculate luminance using: Y = 0.2126 R + 0.7152 G + 0.0722 B class Preview extends ViewGroup implements [login to view URL] { SurfaceView mSurfaceView; SurfaceHolder mHolder; Preview(Context context) { super(context); mSurfaceView = new SurfaceView(context); addView(mSurfaceView); // Install a [login to view URL] so we get notified when the // underlying surface is created and destroyed. mHolder = [login to view URL](); [login to view URL](this); [login to view URL](SurfaceHolder.SURFACE_TYPE_PUSH_BUFFERS); } ... } adding the callback to your class, means for every frame this method is called: onPreviewFrame(byte [] frame, Camera cam){ //do some processing // } --- end of stackoverflow -----
ID del proyecto: 6403385

Información sobre el proyecto

7 propuestas
Proyecto remoto
Activo hace 10 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
7 freelancers están ofertando un promedio de €358 EUR por este trabajo
Avatar del usuario
Предложение еще не подано
€1.500 EUR en 12 días
5,0 (6 comentarios)
3,3
3,3
Avatar del usuario
一个有效的提议尚未被提供
€211 EUR en 30 días
5,0 (1 comentario)
0,4
0,4
Avatar del usuario
Dear, sir. I have just read your requirement carefully and had very interesting in your project. I have a lot of experiences in development of Iphone/Ipad/Android game for Cocos2D, Box2D, ... , so developing your project is no problem. Of course, I know you could be in doubt about my real ability. It would be important for me to prove my ability through real project. I hope this project would be the first step in long term partnership with you. If you trust and award this job to me, I can be trusted to do the work well on high quality and schedule time. You may rest assured that we shall honor our commitment. I hope that work with you and it would be our first step for long term relationship. I await you favorite reply with interesting. Best regards.
€23 EUR en 1 día
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
A proposal has not yet been provided
€23 EUR en 20 días
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
Sir , I am a student of CA and do part time work. I am doing work on EXCEL & MS WORD since long back and also I am CONFIDENT to give you desired results within designed time frame. I expect very positively a Kind Consideration of BID lying for you decision. And also hope for a Long Term Cordial Professional Association. With Kind Regards SARGAM
€30 EUR en 1 día
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
Dear Sir. "High Quality + Powerful Service + Rapid Communication!" is my forever business policy! I just read your job posting with interest and carefully, and I’ll waiting interview with you ardently because this job is the most similar as my Image Processing experiences. After read sir's job description, I am really glad and wonder, because sir's job is most fit in my other skills (Image processing, OpenCV, OpenCV4AndroidSDK, JavaCV, OpenCViOS). As you can see my service profile and projects portfolio images (Full Image Processing experience, PC/Platform Compatibility), I'm Image Processing / Mobile (Android, iPhone) field expert. In Image Process field, I have done Face Detection/Feature Points Extraction/Recognition, Several Object Detection/Tracking, Human Body/Logo Recognition/Tracking, Pattern Recognition, OCR, Hand Gesture Recognition, Helicopter/Ship Detection in Infrared Ray Image (IRI), Car License Plate Detection/Recognition and etc. I have rich experiences Image Processing in several languages and running mobile platforms (e.g. android, iPhone). I can provide you good credit and high quality about my work. Let me explain further: I am sure that my experience and skills will be immensely appreciated at solution. If possible, I hope to contact with sir, and discuss about the job in more detail. Thanks you for reading! Best regard
€333 EUR en 5 días
0,0 (0 comentarios)
0,0
0,0

Sobre este cliente

Bandera de GERMANY
Tuebingen, Germany
5,0
3
Forma de pago verificada
Miembro desde mar 12, 2012

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.